Closed Bug 415905 Opened 18 years ago Closed 12 years ago

calling sunbird from command line (with -showdate) always opens a new window

Categories

(Calendar :: Sunbird Only, defect)

Sunbird 0.7
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alberto.pianon, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.1.8pre) Gecko/20071023 Sunbird/0.7 calling sunbird from command line with "-showdate" always opens a new window, that does not make much sense and makes the function quite useless Generally, there is no way to call sunbird from command line without opening a new window Reproducible: Always Steps to Reproduce: 1.Open sunbird 2.Open a terminal 3.Type sunbird -showdate 2008/02/06 (or sunbird anything else) Actual Results: A new window of sunbird is opened (even if only one instance is running, according to the output of ps -A) Expected Results: The date should be displayed in the existing window (and such window should be automatically deminimized)
Flags: wanted-calendar0.8+
Only release drivers are allowed to grant wanted-calendar0.8+. You can nominate a bug for wanted-calendar0.8 requesting wanted-calendar0.8?.
Flags: wanted-calendar0.8+ → wanted-calendar0.8?
Not going to happen in 0.8
Flags: wanted-calendar0.8? → wanted-calendar0.8-
I don't think it's a difficult thing to add... or not? By using a local webdav server I'm sharing the same calendar between evolution/gnome-clock-applet and sunbird. I wrote a script to make the gnome-clock-applet call sunbird instead of evolution when you click on a date, but every time it opens a new window... Please help me to get sunbird fully integrated in gnome environment! :)
Flags: wanted-calendar0.8- → wanted-calendar0.8?
The commandline handler needs a real makeover. I'm going to do so in bug 359807 after 0.8 is out.
Status: UNCONFIRMED → NEW
Depends on: 359807
Ever confirmed: true
As Philipp says, this is something for the time after 0.8.
Flags: wanted-calendar0.8? → wanted-calendar0.8-
OK, I'll wait 0.9 then ;) BTW, even evolution has this bug, but evolution is famous to be very very buggy :) and that's why I switched to sunbird... another solution could be a sunbird clock applet for gnome-panel, but I guess I'm asking too much... O:-)
Version: unspecified → Sunbird 0.7
Just another thing: it would be interesting to have other commandline options to open f.e. a specified task or event, in order to make it possible to fully integrate sunbird in other applications (not only gnome clock)
Very good idea. This way it could be easily integrated into company intranet-applications.
That's exacltly what I have in mind. I am willing to develop (well, since I'm a lawyer, to commit the development of) a law office management suite which is integrated with gnome and lighting/sunbird. I tried so many apps (for Win and Linux) and I hate the fact that they always have their own calendar/tasks/contacts database, which is never (or only partly) integrated with the system: it seems like reinventing the wheel every time...
Anyway, I found kind of a workaround. Using alltray sunbird as menu command, the first window of sunbird starts minimized on the tray. If you click on a date on gnome clock, my evolution-replacement script calls sunbird -showdate yyyy/mm/dd and a new window is displayed, but the other one is minimized on the tray so it is not a hassle... it's just a trick, but I will keep it until 0.9...
Sunbird development has been suspended.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.