Bug 489705 - Task Manager: when closing a pinned app text on the neighbor disappears
Summary: Task Manager: when closing a pinned app text on the neighbor disappears
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 6.1.1
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-04 00:00 UTC by Andrei Rybak
Modified: 2024-09-28 08:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments
screen recording demonstrating steps to reproduce and observed result (469.07 KB, video/mp4)
2024-07-04 00:00 UTC, Andrei Rybak
Details
Screenshots demonstrating some steps to reproduce (211.01 KB, image/png)
2024-07-04 00:15 UTC, Andrei Rybak
Details
screenshots of task manager settings, as requested by Akseli Lahtinen (207.06 KB, image/png)
2024-07-04 19:44 UTC, Andrei Rybak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Rybak 2024-07-04 00:00:56 UTC
Created attachment 171349 [details]
screen recording demonstrating steps to reproduce and observed result

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
There are several glitches related to text on the buttons of Task Manager, when drag-and-dropping buttons around and when closing applications.

STEPS TO REPRODUCE
1. Open some applications to show up in the Task Manager. Not a lot – the bugs reproduce only when the buttons have their non-shrunken width (the screen recording starts with demonstration of this non-reproducibility, then I close a couple of applications out of frame to demonstrate the bug)
2. Pin one of the applications on the left side of the Task Manager (on the screen recording – Dolphin). We need to have a couple of open applications to the right of the pinned application (on the screen recording – Kate and System Settings).
3. Close the pinned application (Dolphin)
4. Observe the icon on the button right next to the pinned application
5. Re-open the pinned application
6. Observe the text on the buttons, which were just exchanged
7. Drag and drop another application into the place of the one with the broken text – "workaround" to unbreak the broken text.

OBSERVED RESULT
For step #4, the text disappears when closure of the pinned icon moves the right button to the left. The icon remains, and becomes center-aligned horizontally.

For step #6, one of the buttons gained the text (but not the icon) of the other button (on the screen recording – window with System Settings icon, but with incorrect text "Kate")

For step #7, the broken text returns back to normal.

EXPECTED RESULT
For step #4, the text remains on the moved button. Icon doesn't change location.

For step #6, the text on both buttons corresponds to their correct applications.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-35-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 5570
Comment 1 Andrei Rybak 2024-07-04 00:15:30 UTC
Created attachment 171350 [details]
Screenshots demonstrating some steps to reproduce
Comment 2 Akseli Lahtinen 2024-07-04 18:21:24 UTC
I am unable to reproduce this, it could be fixed in my version.  
Can you share screenshots of your task manager settings just in case? Maybe it's a very specific combination of the settings that triggers the bug.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.1
Kernel Version: 6.9.7-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 3 Andrei Rybak 2024-07-04 19:44:43 UTC
Created attachment 171382 [details]
screenshots of task manager settings, as requested by Akseli Lahtinen
Comment 4 Nate Graham 2024-07-27 23:16:34 UTC
Thanks for the great screenshots and screen recording. I also cannot reproduce the issue when I replicate your settings with current git master. There have been come logic changes to the Task Manager code for 6.2, so let's call it fixed there until we can demonstrate otherwise.
Comment 5 Andrei Rybak 2024-09-28 08:12:38 UTC
For the record, I also cannot reproduce it in KDE Plasma 6.1.5.