Bug 357927 - Grouping "only when the task manager is full" should group all windows of the same name
Summary: Grouping "only when the task manager is full" should group all windows of the...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.5.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-01-13 13:58 UTC by Jonathan Wakely
Modified: 2018-10-09 00:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Wakely 2016-01-13 13:58:48 UTC
If Task Manager settings are set to group windows, but "Only when the task manager is full", then some instances of a program window do not get grouped with the other instances. This is confusing, as you now have two places to look for a given window.

For example, when I want to switch to one of your browser windows I always have to look at both the lone instance of it and the group to find the one I want, which is worse than having them all grouped together or all separate.

Reproducible: Always

Steps to Reproduce:
I have a panel going across a display 1920 pixels wide, set to group windows only when full (sorted alphabetically, if that matters).
I have the following windows which are restored when the session starts:
5 x Firefox
1 x konsole
1 x konversation
N x gvim
1 x okular
1 x dolphin

Actual Results:  
When the session starts I get all gvim windows grouped together, but four Firefox windows grouped together and one Firefox window is on its own. It's not even the first Firefox window, it seems to be a random one each time, so I don't even get any consistency between session restarts.

Expected Results:  
All Firefox windows should be grouped together.
Comment 1 Eike Hein 2016-01-13 14:13:21 UTC
Is one of the Firefox windows in notification state? They are automatically ungrouped.

If not, please provide xprop and xwininfo output for both one of the grouped windows and the ungrouped window.
Comment 2 Jonathan Wakely 2016-01-15 16:11:52 UTC
(In reply to Eike Hein from comment #1)
> Is one of the Firefox windows in notification state? They are automatically
> ungrouped.

No, I don't think so. It's permanently ungrouped.

> If not, please provide xprop and xwininfo output for both one of the grouped
> windows and the ungrouped window.

Grouped:

$ xprop
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 4, 4, 29, 4
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 29, 4
_NET_WM_DESKTOP(CARDINAL) = 0
_KDE_NET_WM_ACTIVITIES(STRING) = "aefd4bc0-7406-4902-9d5c-e0cb87f89b50"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = 
_NET_WM_VISIBLE_ICON_NAME(UTF8_STRING) = "C++ Standard Library Active Issues List - Mozilla Firefox <2>"
_NET_WM_VISIBLE_NAME(UTF8_STRING) = "C++ Standard Library Active Issues List - Mozilla Firefox <2>"
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0x636d72e
                bitmap id # of mask for icon: 0x636d734
                window id # of group leader: 0x6200001
WM_WINDOW_ROLE(STRING) = "browser"
XdndAware(ATOM) = BITMAP
[icons ...]
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 1165506
_NET_WM_OPAQUE_REGION(CARDINAL) = 
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 102761779, 102761780
_NET_WM_USER_TIME(CARDINAL) = 1165400
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x6200532
WM_CLIENT_LEADER(WINDOW): window id # 0x6200001
_NET_WM_PID(CARDINAL) = 14070
WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
WM_CLIENT_MACHINE(STRING) = "knitphad.home"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
                program specified minimum size: 300 by 121
                program specified maximum size: 32767 by 32767
                program specified base size: 300 by 121
                window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "Navigator", "Firefox"
WM_ICON_NAME(STRING) = "C++ Standard Library Active Issues List - Mozilla Firefox"
_NET_WM_ICON_NAME(UTF8_STRING) = "C++ Standard Library Active Issues List - Mozilla Firefox"
WM_NAME(STRING) = "C++ Standard Library Active Issues List - Mozilla Firefox"
_NET_WM_NAME(UTF8_STRING) = "C++ Standard Library Active Issues List - Mozilla Firefox"

$ xwininfo 

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x6200531 "C++ Standard Library Active Issues List - Mozilla Firefox"

  Absolute upper-left X:  637
  Absolute upper-left Y:  91
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1212
  Height: 904
  Depth: 24
  Visual: 0xb7
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x6200002 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +637+91  -1351+91  -1351-85  +637-85
  -geometry 1212x904+633+62

Ungrouped:

$ xprop
_NET_WM_USER_TIME(CARDINAL) = 242041330
_NET_WM_ICON_GEOMETRY(CARDINAL) = 1483, 1055, 207, 23
GDK_TIMESTAMP_PROP(GDK_TIMESTAMP_PROP) = 0x61
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 4, 4, 29, 4
_NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 29, 4
_NET_WM_DESKTOP(CARDINAL) = 0
_KDE_NET_WM_ACTIVITIES(STRING) = "aefd4bc0-7406-4902-9d5c-e0cb87f89b50"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = 
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0x636d710
                bitmap id # of mask for icon: 0x636d716
                window id # of group leader: 0x6200001
WM_WINDOW_ROLE(STRING) = "browser"
XdndAware(ATOM) = BITMAP
_NET_WM_ICON(CARDINAL) =        Icon (22 x 22):
[icons ...]
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 1137304
_NET_WM_OPAQUE_REGION(CARDINAL) = 
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 102760484, 102760485
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x6200023
WM_CLIENT_LEADER(WINDOW): window id # 0x6200001
_NET_WM_PID(CARDINAL) = 14070
WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
WM_CLIENT_MACHINE(STRING) = "knitphad.home"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified minimum size: 300 by 121
                program specified maximum size: 32767 by 32767
                program specified base size: 300 by 121
                window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "Navigator", "Firefox"
WM_ICON_NAME(COMPOUND_TEXT) = "Bug 357927 – Grouping "only when the task manager is full" should group all windows of the same name - Mozilla Firefox"
_NET_WM_ICON_NAME(UTF8_STRING) = "Bug 357927 – Grouping \"only when the task manager is full\" should group all windows of the same name - Mozilla Firefox"
WM_NAME(COMPOUND_TEXT) = "Bug 357927 – Grouping "only when the task manager is full" should group all windows of the same name - Mozilla Firefox"
_NET_WM_NAME(UTF8_STRING) = "Bug 357927 – Grouping \"only when the task manager is full\" should group all windows of the same name - Mozilla Firefox"

$ xwininfo 

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x6200022 "Bug 357927 – Grouping "only when the task manager is full" should group all windows of the same name - Mozilla Firefox"

  Absolute upper-left X:  543
  Absolute upper-left Y:  67
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1212
  Height: 904
  Depth: 24
  Visual: 0xb7
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x6200002 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +543+67  -1445+67  -1445-109  +543-109
  -geometry 1212x904+539+38
Comment 3 Andrew Crouthamel 2018-09-25 21:38:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Jonathan Wakely 2018-09-26 08:45:16 UTC
The info was provided within 48 hours of being requested.
Comment 5 Jonathan Wakely 2018-09-26 08:46:22 UTC
Although I no longer see this with plasma-workspace-5.12.6-1.fc27.x86_64
Comment 6 David Edmundson 2018-10-09 00:38:00 UTC
Thanks for reporting back, let us know if there's still an issue