Bug 410612 - Notes widget placed on Plasma panel does not open or it opens and closes itself immediately when no window is open or all windows are minimized
Summary: Notes widget placed on Plasma panel does not open or it opens and closes itse...
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: notes (show other bugs)
Version: 5.17.2
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 345513 417181 417207 420118 424405 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-08-05 15:41 UTC by Patrick Silva
Modified: 2021-01-06 03:07 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crippled Notes widget (276.45 KB, image/png)
2020-05-25 23:21 UTC, Jazz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-08-05 15:41:35 UTC
SUMMARY
Behavior reproducible on X11 session only when no window is open or all
windows are minimized.

STEPS TO REPRODUCE
1. add Notes widget to your panel
2. close or minimize all windows
3. click on the Notes widget that you added to your panel

OBSERVED RESULT
Nothing happens or Notes widget opens and closes immediately.

EXPECTED RESULT
Notes widget always opens and it never closes itself immediately after opening.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3
Comment 1 naraesk 2019-11-03 10:10:12 UTC
Have the same problem on Arch Linux after upgrading from Plasma 5.16.5 to Plasma 5.17.0two weeks ago.
Comment 2 Patrick Silva 2020-02-05 23:00:05 UTC
*** Bug 417207 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2020-02-05 23:23:54 UTC
*** Bug 417181 has been marked as a duplicate of this bug. ***
Comment 4 Colin J Thomson 2020-03-14 11:30:06 UTC
Seeing this on this box as well:

Operating System: Fedora 31
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2
Comment 5 Patrick Silva 2020-04-15 16:58:20 UTC
*** Bug 420118 has been marked as a duplicate of this bug. ***
Comment 6 Mosin 2020-05-03 22:50:16 UTC
I have tested this on two systems (Manjaro and Neon Unstable). This issue only occurs when no window is in focus. If a window is open and not in focus, this issue will still occur. You can test this in Plasma Wayland, the sticky notes widget will not restore focus to a window after being closed.
Comment 7 Mosin 2020-05-04 21:41:50 UTC
I have done some more testing and discovered that this bug also happens if any plasmashell window is focused such as notes settings. Since the desktop and panels all belong to plasmashell this makes sense. Also using configuring a keyboard shortcut to launch notes also results in this bug.
Comment 8 Jazz 2020-05-25 23:21:17 UTC
Created attachment 128787 [details]
Crippled Notes widget

I can also confirm this with my Manjaro KDE/Plasma. If I login and don't open any window, then directly click the Notes widget, it opens normally anytime I'll click on it during that session... but if I log out and log in again, open a few windows and THEN click the Notes widget, it becomes crippled as per attachment above.
Comment 9 Marco Martin 2020-05-27 13:49:54 UTC
Git commit a50d30b14b204306e962c77a062a142f68bed1e5 by Marco Martin.
Committed on 27/05/2020 at 13:43.
Pushed by mart into branch 'Plasma/5.19'.

set AcceptingInputStatus flag only when the text is in the panel

when the applet is a popup don't set AcceptingInputStatus, because
this would give the panel focus, closing the popup

M  +2    -1    applets/notes/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/a50d30b14b204306e962c77a062a142f68bed1e5
Comment 10 Patrick Silva 2020-07-19 15:46:48 UTC
*** Bug 424405 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2021-01-06 03:07:46 UTC
*** Bug 345513 has been marked as a duplicate of this bug. ***