Bug 387526 - Double popup menu with Qt5.10
Summary: Double popup menu with Qt5.10
Status: RESOLVED DUPLICATE of bug 387199
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.11.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-02 12:22 UTC by Pawel
Modified: 2017-12-18 17:20 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel 2017-12-02 12:22:18 UTC
This bug is only related to Qt 5.10 (all version; now I have 5.10rc2).

I've used "Folder view" widget. When I right-click on "empty" space of this applet, everything is ok, but when I right-click on any directory or file, double popup menu window is shown (as on the scr]een). The first is the same as on empty space, the second is this as I expect when I right-click on file/directory. Press Esc (for example) close the "first" window, and I can do almost all operations except to delete a file. Unfortunetly there isn't any informations corresponding to this issue in journalctl.
Downgrade Qt5 to Qt5.9.3 helps on this issue.
And sceen: https://i.imgur.com/u8YfvX8.png. 
Reproducable: always on Qt5.10
Comment 1 Patrick Silva 2017-12-02 23:29:14 UTC

*** This bug has been marked as a duplicate of bug 379635 ***
Comment 2 Antonio Rojas 2017-12-02 23:48:02 UTC
Not a duplicate: this is on X, and Qt 5.10 specific
Comment 3 Pawel 2017-12-03 08:23:01 UTC
This bug is on X and on Wayland session.
Comment 4 K.J. Petrie 2017-12-15 18:40:33 UTC
I also see this on PCLinuxOS since upgrading to QT 5.10.0.

The behaviour is different from that described in bug 379635. It looks as if the right-click event bubbles up in folder view so the icon's context menu is immediately eclipsed by the folder view's context menu.

Left-clicking and using the context menu key still works correctly.
Comment 5 K.J. Petrie 2017-12-15 18:57:51 UTC
Possibly, that's because folder view does not respond to a left-click, so it wouldn't matter if the event did bubble.
Comment 6 Fabian Vogt 2017-12-17 10:54:41 UTC
Duplicate, already fixed in plasma-desktop master (0d3f000f5bfe575d75ae2e6a5bf8b9480af213da)

I do wonder why it was not submitted to the Plasma/5.11 branch, there is still v5.11.5 planned.

@kbroulik: A reason for ^^? It applies fine.

*** This bug has been marked as a duplicate of bug 387199 ***
Comment 7 Patrick Silva 2017-12-17 13:38:30 UTC
just fixed on Arch Linux \o/
https://git.archlinux.org/svntogit/packages.git/log/trunk?h=packages/plasma-desktop
Comment 8 Wolfgang Bauer 2017-12-18 17:20:35 UTC
(In reply to Fabian Vogt from comment #6)
> I do wonder why it was not submitted to the Plasma/5.11 branch, there is
> still v5.11.5 planned.

Maybe because it requires kdeclarative 5.41 to work.
This commit in particular:
https://cgit.kde.org/kdeclarative.git/commit/?id=e2795e9472333d5e8b2ce70017ca705474ebe3d2