Version: 1.9.1 (using KDE 3.5.1, Kubuntu Package 4:3.5.1-0ubuntu3 dapper) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.15-15-686 If the KMail main window is not active (i.e. covered by another window) one can not activate kmail by simply clicking the tray icon (kmail window gets minimized). This is inconsistent with all other (Tray aware) KDE applications which correctly bring their main window to front.
Created attachment 14669 [details] fixes the bug for kde 3.5.1
Created attachment 14673 [details] fixes the bug for kde 3.5.1 Same as previous patch, only the formatting is improved.
Though I can't test it yet, I thank you for your patch! I think there is another inconsistency in KMail tray icon handling: If you change the current Desktop and click the tray icons of e.g Kopete or Akregator they show their main windows on the current active desktop. KMail instead changes the active desktop to the one it was started on. Since I currently can't test your patch I have no clue if this was fixed too. This comment is only for your information.
> KMail instead changes the active desktop to the one it was started on. KMail instead changes the active desktop to the one it was started on. Yes - and the KMail behaviour is way better. I really don't want my desktop order to be garbled just because I accidently click on the tray icon. IMHO the behaviour is a bug in akregator and kopete.
I checked out the behaviour of Kopete and Akregator. After changing the desktop, Kopete and Akregator show only their main windows on the current desktop when they're minimized. e.g. - Kopete is open on desktop 1 - I switch to desktop 2 - Clicking on the system tray icon of Kopete - The actual desktop view changes to desktop 1 I think that is a little bit confusing, because sometimes the desktop is switching and sometimes not.
Am Mittwoch, 15. Februar 2006 21:17 schrieb Marek Dutkowski: [bugs.kde.org quoted mail] Yes that's right, but if you changed it so that it won't switch your desktop this would mean, that a click on the tray icon would move a window from another desktop to the current one. This seems to invasive to me. I prefer the current model of Akregator and Kopete and would like to see KMail to behave exactly the same way.
I for one like when my desktops are sorted. On one desktop there are my mail, news etc. stuff. On the other desktop there are my development stuff. Your suggestion, KMail should switch the main window on the current active desktop, would mess up my "system". Maybe there should be an additional configuration option, which allows to choose between the different bahaviour.
KDE bugs day: See also 89847, not an exact duplicate but probably related
> KDE bugs day: See also 89847, not an exact duplicate but probably related No, i think this is exact duplicate because kmail tray icon code does not currently reproduce "standard" behavior fully.
See also bug 74938.
*** This bug has been marked as a duplicate of 74938 ***