Bug 512188

Summary: Sticky Notes: Text typed after an auto-detected URL inherits unremovable link formatting
Product: [Plasma] plasmashell Reporter: Luka Rasputin <nanoblade9>
Component: Notes widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: filip.kendes1
Priority: NOR    
Version First Reported In: 6.5.2   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Luka Rasputin 2025-11-16 13:23:31 UTC
SUMMARY
When the Sticky Notes widget automatically converts pasted URLs into clickable links, any text typed immediately after the link becomes part of that link. Some formatting (underline) can be removed, but the link/color formatting cannot, because the widget provides no way to remove hyperlink formatting.

STEPS TO REPRODUCE
1. Create a new Sticky Note on the desktop.
2. Paste a URL into it (e.g. https://example.com).
3. Remove the automatically inserted space character, begin typing normal text immediately after the URL.
4. Observe that the new text inherits the hyperlink formatting (blue, underlined, clickable).
5. Type a space and continue typing more text.
6. Select the non-URL text and try to remove the formatting using available buttons (bold/italic/underline/strike).

OBSERVED RESULT
- The non-URL text becomes part of the hyperlink.
- Underline can be removed with the underline button, but URL and color formatting cannot be removed.
- There is no UI option to remove hyperlink formatting from text, so the affected text stays blue and clickable.

EXPECTED RESULT
- Only the pasted URL should be treated as a hyperlink. Text typed after it should not automatically inherit link formatting.
- Alternatively, there should be a way to remove hyperlink (URL) formatting from any selected text.

SOFTWARE/OS VERSIONS
Linux: Fedora 43
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.0
Comment 1 Filip 2025-11-17 13:04:52 UTC
Can confirm.