Bug 335015 - Cannot close Klipper popup menu
Summary: Cannot close Klipper popup menu
Status: RESOLVED FIXED
Alias: None
Product: frameworks-knotifications
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-18 23:14 UTC by Louis Moureaux
Modified: 2016-10-23 02:08 UTC (History)
4 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 Louis Moureaux 2014-05-18 23:14:55 UTC
Klipper uses a regular QPopupMenu (or the QML equivalent). Once it is open, there is no way of closing it without selecting an item.
[BTW, it has also an ugly black border around it]

I'm reporting this bug against the System Tray because other applications might use popup menus and block the user workflow.

Reproducible: Always

Steps to Reproduce:
1. Make sure Klipper is running
2. Click on its icon in the system tray
3. Try to close the menu without changing the contents of your clipboard
Actual Results:  
It's very hard

Expected Results:  
Clicking outside the menu (panel, desktop, application window, ...) should close it

I'm using Project Neon daily ppa
Comment 1 Sebastian Kügler 2014-05-19 08:52:12 UTC
Can reproduce here.
Comment 2 Christoph Feck 2014-05-19 20:16:23 UTC
This is also reported as bug 333009, but I am unsure if it is a Klipper bug to begin with.
Comment 3 Christoph Feck 2014-05-19 20:17:58 UTC
(Regarding the black border, see bug 333008.)
Comment 4 Christoph Feck 2014-05-19 20:44:27 UTC
This is already fixed with https://git.reviewboard.kde.org/r/118200/
Comment 5 Christoph Feck 2014-05-19 20:44:55 UTC
*** Bug 333009 has been marked as a duplicate of this bug. ***
Comment 6 Antonio Rojas 2014-05-29 15:54:35 UTC
This was fixed last week, but it seems to have reappeared (using latest git of knotifications and plasma-*)
Comment 7 Martin Klapetek 2014-05-29 16:00:08 UTC
Can't reproduce anymore...are you sure you're running klipper from kde5?
Comment 8 Antonio Rojas 2014-06-05 08:45:58 UTC
Actually it works in a new session, but it stops working as soon as you restart plasmashell:
1) Login -> works
2) kquitapp5 plasmashell && plasmashell -> doesn't work
Comment 9 nihui 2016-10-22 05:09:04 UTC
hi
my kimtoy code is written to be like the following
tray = new KStatusNotifierItem(this);
tray->setAssociatedWidget(tray->contextMenu());

the context menu was made to be the associated widget

however, after the changes in this bugfix commit
there is always ugly window frame and taskbar entry shown when i activate the context menu with left mouse click

so, i have to use eventfilter to restore the old behavior, and this bug too
https://quickgit.kde.org/?p=kimtoy.git&a=commit&h=19aa88bb10d1cfc3d84ea2b216c7737e9793c118
Comment 10 Christoph Feck 2016-10-23 02:08:38 UTC
Please report regressions as a new bug, maybe with a screen shot.