Bug 488805 - Plasma Widget 'Sticky Note' does not lose focus when mouse cursor is clicked outside of the note
Summary: Plasma Widget 'Sticky Note' does not lose focus when mouse cursor is clicked ...
Status: RESOLVED DUPLICATE of bug 434090
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: notes (show other bugs)
Version: 6.1.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-20 17:38 UTC by Paul L.
Modified: 2024-06-21 00:16 UTC (History)
3 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 Paul L. 2024-06-20 17:38:08 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
Sticky Note widget doesn't release focus once you begin typing in it.

STEPS TO REPRODUCE
1. Add Sticky Note widget to Desktop
2. Start typing in the Sticky Note
3. Click your mouse on the Desktop then start typing
4. Keyboard entries continue in the Sticky Note

OBSERVED RESULT
Focus isn't released when you click outside of the Sticky Note

EXPECTED RESULT
Editing of the Sticky Note content ends when you click outside of the Sticky Note (Sticky Note looses focus)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon user Edition 6.0
(available in About System)
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0 
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I've had this behavior confirmed by another user on our Forum (Kubuntu Forums . Net).
Comment 1 Paul L. 2024-06-20 17:42:12 UTC
I run KDE neon User Edition as a VM in Oracle Virtualbox 7.0, fully updated. I login to the Desktop session with Plasma (X11), as Plasma (Wayland) doesn't load the Desktop.
Comment 2 Stuart K. Smith 2024-06-20 18:15:31 UTC
Same observed here. Fully updated KDEneon 6.1 User Edition, Wayland and X11 sessions, Plasma 6.1;

Add Sticky Note to Desktop.
Type some stuff - nothing in Note as expected and Krunner opens with text.
Click on Note captures keyboard and typing enters into Note as expected.
Click on Desktop and typing continues to enter on note until note is deleted.

On same system Kubuntu 24.04, X11 session, Plasma 5.27; 

Add Sticky note to Desktop.
Type some stuff - nothing in Note as expected and Krunner opens with text.
Click on Note captures keyboard and typing enters into Note as expected.
Clicking on desktop and typing results in Krunner opening with the typed text displayed.
Comment 3 Paul L. 2024-06-20 18:19:00 UTC
Sticky Note behaves as expected in Kubuntu 24.04:

KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
QT Version: 5.15.13
Comment 4 Nate Graham 2024-06-20 23:29:34 UTC

*** This bug has been marked as a duplicate of bug 434090 ***
Comment 5 Paul L. 2024-06-20 23:40:25 UTC
Not sure that I agree with this bug being identified as a duplicate of bug 434090 and indicating this bugs status as RESOLVED. The duplicate cited is over 3-years old, it's status merely CONFIRMED but with no fix/solution given, and reported on Arch Linux that was running earlier versions of Plasma, Frameworks, and Qt.
Comment 6 Paul L. 2024-06-20 23:47:57 UTC
I can however, confirm that switching to Folder View, the Sticky Note widget behaves as one expects, and clicking anywhere outside of the Sticky Note releases focus from the Sticky Note.
Comment 7 Nate Graham 2024-06-21 00:16:45 UTC
That's just how bug reporting works, don't worry. :) It's normal for bugs to be marked as duplicates of older ones.