Bug 470668 - Clicking on the label area of Clipboard list items does nothing
Summary: Clicking on the label area of Clipboard list items does nothing
Status: RESOLVED DUPLICATE of bug 475800
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 474007 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-05 14:13 UTC by Nate Graham
Modified: 2023-10-19 02:13 UTC (History)
6 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 Nate Graham 2023-06-05 14:13:01 UTC
In Plasma 5 this worked as expected. In Plasma 6, you need to click on an area of the list item that isn't covered by the label item. Apparently the label is eating clicks now, so they never make it to the list item underneath.
Comment 1 Patrick Silva 2023-06-05 15:13:48 UTC
No button of clicpbaord applet works on neon unstable. Also I can't open the applet settings.
Comment 2 Justin Zobel 2023-06-06 05:15:46 UTC
Can confirm clicking on text items in the clipboard doesn't make them the current contents to paste elsewhere.

I can however use all the buttons in the Clipboard applet including settings.
Comment 3 Nate Graham 2023-06-06 15:32:33 UTC
I get the same behavior as Justin with current git master.
Comment 4 Nate Graham 2023-06-06 15:41:57 UTC
So the problem appears to be that the visual content items eat clicks in Qt 6. We do want this for the interactive hover buttons, but not the non-interactive labels and preview images.

Adding a TapHandler doesn't work because those elements span the full width and get faded out when the buttons are visible, so we can't apply it easily to just the area to the left of the buttons. I think we need to find a way to make the non-interactive parts of the delegate stop eating clicks.
Comment 5 Kai Uwe Broulik 2023-08-04 14:59:37 UTC
Wonder if that’s the same root cause that broke KRunner. They’re both ListItems afaik
Comment 6 Nate Graham 2023-09-01 18:08:39 UTC
*** Bug 474007 has been marked as a duplicate of this bug. ***
Comment 7 guimarcalsilva 2023-09-12 20:13:37 UTC
> No button of clipboard applet works on neon unstable. Also I can't open the applet settings.

> Can confirm clicking on text items in the clipboard doesn't make them the current contents to paste elsewhere. I can however use all the buttons in the Clipboard applet including settings.

The buttons for cleaning the clipboard and accessing the settings still don't work on Neon. I'm using the ISO released on Sept. 10th, which should include the most recent changes.
Comment 8 Nate Graham 2023-09-13 16:59:54 UTC
That would be a separate issue, then. Possibly a Qt 6 regression. Please submit a new bug report that includes the output of `journalctl -f` when you click on each of the broken buttons.
Comment 9 Patrick Silva 2023-09-13 19:40:17 UTC
(In reply to Patrick Silva from comment #1)
> No button of clicpbaord applet works on neon unstable. Also I can't open the
> applet settings.

I can't reproduce on  neon unstable after today's updates.
Comment 11 Piotr Mierzwinski 2023-09-15 00:30:26 UTC
(In reply to Nate Graham from comment #10)
> I suspect it was fixed by
> https://invent.kde.org/neon/kde/plasma-workspace/-/commit/
> ba1707be286555afd995e559601579e041a8e566.

Do you know when will be possible to test this fix in Neon Unstable?
BTW. Today happened again "unmet dependencies:" error (Bug: 474533)
Comment 12 Fushan Wen 2023-10-19 02:13:06 UTC
*** This bug has been marked as a duplicate of bug 475800 ***