Bug 431615 - Next app to be opened disappears after Icons-Only Task Manager fills up with app icons
Summary: Next app to be opened disappears after Icons-Only Task Manager fills up with ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.20.4
Platform: Other Linux
: HI normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
: 431920 435929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-14 22:48 UTC by Stephen
Modified: 2022-07-21 03:52 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26


Attachments
Screenshot of the konsole icon missing despite it being open. (1.48 MB, image/png)
2021-01-14 22:48 UTC, Stephen
Details
Video of icon disapearing. (1.56 MB, video/quicktime)
2021-01-16 19:46 UTC, Stephen
Details
flexible size on (21.24 KB, image/png)
2021-01-19 23:32 UTC, twinshadows404
Details
flexible size off (13.28 KB, image/png)
2021-01-19 23:32 UTC, twinshadows404
Details
Effect of changing the widget's settings (3.82 MB, video/x-matroska)
2021-08-10 19:17 UTC, Oleksii Zolotarevskyi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen 2021-01-14 22:48:27 UTC
Created attachment 134865 [details]
Screenshot of the konsole icon missing despite it being open.

SUMMARY
The last icon in the icon-only task manager will disapear in certain situations. It seems to happen only when there is a spacer somewhere in the panel and the first pinned application is not active.

STEPS TO REPRODUCE
1. Add a spacer to the panel
2. Have exactly three icons in the manager with the first one not active.
3. The last icon will not show, but there will be a spcace for it.
4. I can reproduce with different applications/icons and in different size configurations.

I've attached a screenshot with the missing icon and my system information. 

OBSERVED RESULT

Konsole icon missing

EXPECTED RESULT

Konsole icon visible

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.9.16-1-Manjaro
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2021-01-15 06:54:07 UTC
I've been unable to replicate this issue. I've got Menu Spacer IconTaskList Systemtraystuff in that order to replicate close to yours but when I open konsole it shows up.
Comment 2 Nate Graham 2021-01-15 22:17:50 UTC
Also cannot reproduce with that setup. Odd.
Comment 3 Stephen 2021-01-16 19:46:28 UTC
Created attachment 134946 [details]
Video of icon disapearing.
Comment 4 Stephen 2021-01-16 19:47:50 UTC
Does adjusting the height make a difference? I added a video of the icon disappearing and reappearing as I adjusted the height.
Comment 5 twinshadows404 2021-01-19 23:32:34 UTC
Created attachment 135006 [details]
flexible size on
Comment 6 twinshadows404 2021-01-19 23:32:57 UTC
Created attachment 135007 [details]
flexible size off
Comment 7 twinshadows404 2021-01-19 23:36:46 UTC
I can reproduce this. Note when flexible size is ON and the panels height isn't 20-32 or 56, icons disappear or rather they move to the 2nd row which isn't visible. A quick workaround it to configure the icon-only manager to have ONLY 1 row.
Comment 8 Nate Graham 2021-01-22 15:51:26 UTC
*** Bug 431920 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2021-04-24 13:47:52 UTC
*** Bug 435929 has been marked as a duplicate of this bug. ***
Comment 10 Squeaky Pancakes 2021-05-17 20:39:52 UTC
I just started seeing this with my last update.

It seems to effect Dolphin and VLC regardless of where they are in the order.

Operating System: Artix Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.10.36-1-lts
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-3550 CPU @ 3.30GHz
Memory: 7.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 670/PCIe/SSE2
Comment 11 Oleksii Zolotarevskyi 2021-08-10 19:17:47 UTC
Created attachment 140642 [details]
Effect of changing the widget's settings

I noticed that when I check the box "Always arrange tasks in columns of as many rows" in the Icons-only Task Manager settings, the issue disappears (see the video in the attachment 5 [details]).
Comment 12 Oleksii Zolotarevskyi 2021-08-10 19:26:21 UTC
(In reply to Oleksii Zolotarevskyi from comment #11)
> I noticed that when I check the box "Always arrange tasks in columns of as
> many rows" in the Icons-only Task Manager settings, the issue disappears
> (see the video in the attachment 5 [details]).

Sorry, I meant attachment 140642 [details]
Comment 13 Antonio Rojas 2022-01-21 19:11:16 UTC
I can consistently reproduce this with IOTM configured to show only one row. As long as the taskbar fills its available horizontal space, the next application I open doesn't show its icon. But if I open a second one, both icons are shown.
Comment 14 Nate Graham 2022-01-21 20:17:36 UTC
Just reproduced that with a horizontal panel. I can't get it to happen with a vertical panel though.
Comment 15 Fushan Wen 2022-06-18 17:54:20 UTC
Could someone test https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/989 fixes this bug?
Comment 16 Bug Janitor Service 2022-07-03 04:36:50 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
mark the bug 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 17 Bug Janitor Service 2022-07-18 04:36:44 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!
Comment 18 Fushan Wen 2022-07-21 00:02:49 UTC
Git commit 1e52227406e1b3bf11e65e8b7ee6e6b0d9a0e64a by Fushan Wen.
Committed on 20/07/2022 at 23:48.
Pushed by fusionfuture into branch 'master'.

applets/taskmanager: use layoutTimer to update layout

This reduces the glitches caused by layout().
FIXED-IN: 5.26

M  +5    -9    applets/taskmanager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/1e52227406e1b3bf11e65e8b7ee6e6b0d9a0e64a
Comment 19 Fushan Wen 2022-07-21 00:11:09 UTC
Git commit 0fc8d0316589d50bef8b1fcda237d4a953adc20f by Fushan Wen.
Committed on 21/07/2022 at 00:10.
Pushed by fusionfuture into branch 'master'.

Revert "applets/taskmanager: use layoutTimer to update layout"

Fixes a visual glitch when opening a pinned application.

This reverts commit 1e52227406e1b3bf11e65e8b7ee6e6b0d9a0e64a.

M  +9    -5    applets/taskmanager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/0fc8d0316589d50bef8b1fcda237d4a953adc20f