Bug 473882

Summary: Can't disable an action popup for urls in Klipper Action Menu
Product: [Plasma] plasmashell Reporter: Murz <MurzNN>
Component: Clipboard widget & pop-upAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.7   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Murz 2023-08-29 07:38:30 UTC
SUMMARY
***
I have configured a single action, that matches only specified strings and enables "Immediately on selection", and it works well - when I'm copying the matched string - the popup appears.

But together with this, the default popup started to appear every time when I'm copying an url like https://google.com to the clipboard!

And I can't find a way to disable this behavior. In the list of actions there is only one my action, no other actions that can be deleted.
***


STEPS TO REPRODUCE
1. Configure an action to match on some specific string, eg containing "hello" substring. See that only this action is present in the list.
2. Enable the "Immediately on selection" option. Check that it works well by copying the string "hey, hello everyone". 
3. Copy some string with url to the clipboard, like "https://google.com".
You will see a popup, suggesting to open this url in a browser or share.

OBSERVED RESULT
No popup should appear.

EXPECTED RESULT
There is a popup appears, suggesting to open this url in a browser or share. And there are no ways to disable it, keeping only your custom actions active.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-27-generic (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 30.8 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: HP
Product Name: HP EliteBook 850 G8 Notebook PC

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-01-15 19:01:21 UTC
Sorry it took us so long to g et to this. Is it possible the action matches too broadly? Also, is this still happening in a recent version of Plasma, like 6.2.5 or later?
Comment 2 Murz 2025-01-16 05:09:10 UTC
Tested - this is still actual for Plasma 6.1.5, even with only one action, matching the "hello" word, the steps to reproduce are actual.