Bug 121673 - [PATCH] Subtle KMail Tray icon inconsistency
Summary: [PATCH] Subtle KMail Tray icon inconsistency
Status: RESOLVED DUPLICATE of bug 74938
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-09 22:15 UTC by Christian D.
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
fixes the bug for kde 3.5.1 (1.18 KB, patch)
2006-02-13 14:27 UTC, Marek Dutkowski
Details
fixes the bug for kde 3.5.1 (1.19 KB, patch)
2006-02-13 17:35 UTC, Marek Dutkowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian D. 2006-02-09 22:15:58 UTC
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.
Comment 1 Marek Dutkowski 2006-02-13 14:27:57 UTC
Created attachment 14669 [details]
fixes the bug for kde 3.5.1
Comment 2 Marek Dutkowski 2006-02-13 17:35:04 UTC
Created attachment 14673 [details]
fixes the bug for kde 3.5.1

Same as previous patch, only the formatting is improved.
Comment 3 Christian D. 2006-02-15 13:41:24 UTC
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.
Comment 4 Peter Paulsen 2006-02-15 15:13:12 UTC
> 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.
Comment 5 Marek Dutkowski 2006-02-15 21:17:00 UTC
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.
Comment 6 Christian D. 2006-02-15 21:40:31 UTC
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.
Comment 7 Marek Dutkowski 2006-02-16 16:41:34 UTC
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.
Comment 8 Jonathan Marten 2006-10-28 16:36:18 UTC
KDE bugs day:  See also 89847, not an exact duplicate but probably related
Comment 9 Dmitry Morozhnikov 2006-10-28 17:56:29 UTC
> 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. 
Comment 10 Thomas McGuire 2007-06-28 22:25:25 UTC
See also bug 74938.
Comment 11 Thomas McGuire 2007-06-29 11:54:30 UTC

*** This bug has been marked as a duplicate of 74938 ***