https://bugs.kde.org/show_bug.cgi?id=465252

            Bug ID: 465252
           Summary: Disabling "middle-click paste" breaks pasting URL from
                    Firefox to other apps
    Classification: Plasma
           Product: kwin
           Version: 5.26.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: tustam...@yahoo.com.br
  Target Milestone: ---

STEPS TO REPRODUCE
1. System Settings → General Behavior → uncheck "Middle click: Paste selected
text" and click Apply.
2. Log out and log in again, still on Wayland. Or reboot.
3. Make sure you're running Firefox Wayland. To check, open about:support, and
look for "Window Protocol", the value should be "wayland", not "xwayland".
4. Copy any text from urlbar and try to paste it on any other app, like Kate.

It doesn't work, nothing is pasted.

More info:
- This is not a Firefox regression. The issue started a couple of weeks ago,
but if I run an older Firefox version, like v105, the issue is still present.
- It doesn't affect Firefox as a whole. Since the bug started, I quickly found
a way to paste urlbar content to other apps: pasting on Firefox works, just on
other apps that does not, so first I press Ctrl+F to open Firefox findbar, then
Ctrl+V to paste the URL in there, then Ctrl+A to select all finally Ctrl+C to
copy again. This way I cant paste on any app, which means other Firefox text
boxes like find bar aren't affected, only titlebar (from the text boxes I
tested).
- This is Wayland specific. If you start Firefox with Xwayland
(MOZ_ENABLE_WAYLAND=0), the issue is gone.
- As you can guess from steps to reproduce, the issue seems to be related to
the Plasma code to disable pasting with middleclick. If you keep the option
checked in General Behavior and log out from the session to apply (restarting
Firefox is not enough), the issue is gone. But I disabled middleclick pasting
months ago, right when it became available, and at the time there was no such
issue. So it's some "new" code, not from when disabling middleclick paste was
first implemented.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to