Bug 487907 - When pinnning an app to the panel using the icon only task manager, you have to click "pin to task manager" twice to get it to pin.
Summary: When pinnning an app to the panel using the icon only task manager, you have ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.4
Platform: openSUSE Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-02 03:29 UTC by email@thelinuxcast.org
Modified: 2024-06-27 03:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description email@thelinuxcast.org 2024-06-02 03:29:52 UTC
***
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
When pinnning an app to the panel using the icon only task manager, you have to click "pin to task manager" twice to get it to pin.

STEPS TO REPRODUCE
1. Right click on app icon
2. Click Pin to Task Manager
3.  Then be forced to do so again.

OBSERVED RESULT
Just takes an extra click to pin the app.

EXPECTED RESULT
The app is pinned when you pin it the first time.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE Tumbleweed, Plasma 6.04
(available in About System)
KDE Plasma Version: 6.04
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Apologies if this is in the wrong spot.
Comment 1 Nate Graham 2024-06-11 22:58:08 UTC
Cannot reproduce. Are you running without Systemd, or with the Systemd Plasma launch integration turned off?

Also, in step 1, where does the icon that you're trying to pin live? Kickoff or somewhere else?

Finally, does this happen on X11, or Wayland, or both?
Comment 2 email@thelinuxcast.org 2024-06-11 23:06:16 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce. Are you running without Systemd, or with the Systemd
> Plasma launch integration turned off?
> 
> Also, in step 1, where does the icon that you're trying to pin live? Kickoff
> or somewhere else?
> 
> Finally, does this happen on X11, or Wayland, or both?

Yes, using SystemD on openSUSE. Nothing special in terms of settings, whatever is default. 
The icon in step one is the Icons Only Task plasmoid, in the floating panel.
I only tested it on Wayland.
Comment 3 Nate Graham 2024-06-11 23:10:07 UTC
So the icon is for an app that's running, but not pinned?

Does the issue reproduce with every app you try, or only some? Can you provide some examples of affected apps?
Comment 4 email@thelinuxcast.org 2024-06-12 00:03:41 UTC
(In reply to Nate Graham from comment #3)
> So the icon is for an app that's running, but not pinned?
> 
> Does the issue reproduce with every app you try, or only some? Can you
> provide some examples of affected apps?

I will test with other apps. 

But yes, it's for an app that is running
Comment 5 email@thelinuxcast.org 2024-06-12 01:31:26 UTC
(In reply to Nate Graham from comment #3)
> So the icon is for an app that's running, but not pinned?
> 
> Does the issue reproduce with every app you try, or only some? Can you
> provide some examples of affected apps?

It does not seem to be limited to any type of app. I've reinstalled Plasma again, and tested it with Krusader, Konsole, Discord, and Thunderbird. All required me to click twice to pin. Pinning from Kickoff, works perfectly fine
Comment 6 Nate Graham 2024-06-12 01:49:25 UTC
How strange! Does it happen in a new clean user account on the same machine, with zero customizations?

If so, does it happen in the live session too?
Comment 7 email@thelinuxcast.org 2024-06-12 03:25:29 UTC
(In reply to Nate Graham from comment #6)
> How strange! Does it happen in a new clean user account on the same machine,
> with zero customizations?
> 
> If so, does it happen in the live session too?

I can try to test in a live session tomorrow. As for a new user, it does happen there as well. 

I'm unsure, but I'm almost positive it has something to do with the plasmoid itself. Because it also effects dragging the icons to reorder them. I will see if I can take a video of that behavior
Comment 8 email@thelinuxcast.org 2024-06-12 03:37:21 UTC
Here's a video. IDK if these two problems are related or not. As you can see, sometimes when I drag an app icon, it actually drags another that isn't being clicked on. Sometimes when I hover over an app, the preview shows the app that isn't being hovered over. https://imgur.com/a/wRI03n4
Comment 9 Nate Graham 2024-06-12 13:42:45 UTC
That's a separate issue, yeah. See Bug 482770.
Comment 10 Bug Janitor Service 2024-06-27 03:47:54 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 11 email@thelinuxcast.org 2024-06-27 03:49:30 UTC
Not sure what fixed it, but this behavior no longer happens in 6.1