systray: Double program icons in the system tray
#414
Open
roman
wants to merge 1 commits from feat/whatever
into master
pull from: feat/whatever
merge into: TDE:master
TDE:master
TDE:r14.1.x
TDE:fix/kxkb-450
TDE:feat/shutdownd-dialog-border
TDE:feat/kdesktop
TDE:feat/layouts
TDE:issue/270/tdebase
TDE:r14.0.x
TDE:v3.5.13-sru
TDE:issue/227
TDE:fix/kicker-clock-build-dependency
TDE:feat/pkg-config
TDE:branding/kde_to_tde2
TDE:feat/fix-suspend-code
Reviewers
Request review
No reviewers
Labels
General - need additional info from contributor PR/keep-branch
Pull request - do not delete branch after merging PR/not-ok
Pull request - need fixing PR/rfc
Pull request - request for comments PR/update-trans
Pull request - update to translation files needed PR/wip
Pull request - work in progress RS/R14.0.x
Related to R14.0.x series RS/R14.1.x
Related to R14.1.x series SL/critical
Severity level - critical SL/major
Severity level - major SL/minor
Severity level - minor SL/normal
Severity level - normal SL/regression
Severity level - regression from previous version SL/trivial
Severity level - trivial SL/wishlist
Severity level - wishlist request ST/duplicate
Status - duplicate of another issue ST/invalid
Status - invalid report ST/notourproblem
Status - not our problem ST/rejected
Status - rejected ST/wontfix
Status - won't fix ST/worksforme
Status - works for me, unable to reproduce
Apply labels
Clear labels
GE/need-info
General - need additional info from contributor PR/keep-branch
Pull request - do not delete branch after merging PR/not-ok
Pull request - need fixing PR/rfc
Pull request - request for comments PR/update-trans
Pull request - update to translation files needed PR/wip
Pull request - work in progress RS/R14.0.x
Related to R14.0.x series RS/R14.1.x
Related to R14.1.x series SL/critical
Severity level - critical SL/major
Severity level - major SL/minor
Severity level - minor SL/normal
Severity level - normal SL/regression
Severity level - regression from previous version SL/trivial
Severity level - trivial SL/wishlist
Severity level - wishlist request ST/duplicate
Status - duplicate of another issue ST/invalid
Status - invalid report ST/notourproblem
Status - not our problem ST/rejected
Status - rejected ST/wontfix
Status - won't fix ST/worksforme
Status - works for me, unable to reproduce
No Label
GE/need-info
PR/keep-branch
PR/not-ok
PR/rfc
PR/update-trans
PR/wip
RS/R14.0.x
RS/R14.1.x
SL/critical
SL/major
SL/minor
SL/normal
SL/regression
SL/trivial
SL/wishlist
ST/duplicate
ST/invalid
ST/notourproblem
ST/rejected
ST/wontfix
ST/worksforme
Milestone
Set milestone
Clear milestone
No items
No Milestone
Assignees
Assign users
Clear assignees
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Blocks
#413 Double program icons in the system tray
TDE/tdebase
Reference: TDE/tdebase#414
Reference in new issue
There is no content yet.
Delete Branch 'feat/whatever'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Signed-off-by: Roman Savochenko roman@roman.home
Prevents the system tray from show program icons with different WMID but equal names like to BlueMan.
This patch is not acceptable as is. If you have two different windows with the same name, you will lose the icon for the second window.
I did a simple test: build kicker with the patch, open two kcalc windows and use tdedocker to dock them to the system tray. Only one icon is shown and when the first kcalc is undocked and closed, the second kcalc is not accessible anywhere. I had to kill kcalc from htop.
Perhaps a better suggestion would be to have a menu associated with icons with the same name: this way the user can use the submenu to select the required window.
For the records, this PR relates to issue #413
In the case of BlueMan the window in fact single due to I cannot to close one without closing other.
And I never start kcalc or some other like that in the system tray, only krusader and it is always is single. :)
I normally use KOrn or KBiff to monitor mailboxes. In the case of KOrn there I have set more configurations with different rules where each configuration shows its own icon. With KBiff I run more instances, each with different configuration with different rules. Again each KBiff with their own icon. This PR, as it is, would break the required functionality.
OK, when this feature will be optional also as "Show Clock in the system tray"?
systray: Double program icons in the system trayto WIP: systray: Double program icons in the system tray 5 months ago01a0e7e1e4
to97ecc0a2ce
5 months agoAppended for the check box "Oppress double named icons".
WIP: systray: Double program icons in the system trayto systray: Double program icons in the system tray 5 months agoYou are missing the point @roman, it is not about having one config option or not.
Hiding icons for multiple windows with the same name is wrong, it makes windows no longer accessible. There is no way a PR like that would be accepted.
What would be accepted is a PR where windows with the same name are grouped together in a submenu and use the icon as access to that menu. Pretty much what the taskbar does if grouping is selected, to explain the idea. That way, all windows are always accessible while at the same time using a single icon slot in the systray applet.
EDIT: the config option would decide whether to group windows or not.
For me that is about to show in the system tray only icons of the system-service programs, which is only one always, then that is true.
So use the task bar for grouping and not the system tray.
Reviewers