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

            Bug ID: 517573
           Summary: Text selection breaks for Gtk4 apps
    Classification: Plasma
           Product: kwin
      Version First 6.5.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 190667
  --> https://bugs.kde.org/attachment.cgi?id=190667&action=edit
Screen recording

SUMMARY

Selecting text in Gtk4 applications has stopped working reliably for me since
more than two months on two KDE Plasma machines, one running Fedora 43 and the
other Tumbleweed.

DISCLAIMER

I've assumed  it to be a Gtk4 issue and had reported it on the GNOME bugtracker
but got no response within a month.

However, when testing it with an older version (4.18.x) today, where it
definitely has used to work I could still reproduce it. Same with the latest
version Gtk 4.22.1. Both compiled by source and ensured gtk4-demo picks the
right version.

Thus, I've decided to report it now against KDE Plasma. If you doubt it's a
Plasma (Wayland) issue, feel free t o close it, but I'd be happy if I could get
some pointer how to debug it further. :)

STEPS TO REPRODUCE
 1. Open the gtk4-demo application
 2. Place the cursor in the "info-textview"
 3. Hold down the left mouse button and move it in order to select a range of
text
or 
4. Press Ctrl+a to select everything

OBSERVED RESULT
Initial text selection works, but then it stops:

text seems to become deselected, whereby it looks like the start of the
selection jumps to the new cursor position, i.e. you can see a short blue-ish
(accent color) flash at the current cursor position.

EXPECTED RESULT
The text gets selected as expected.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20260312
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.6-2-default (64-bit)
Graphics Platform: Wayland

and also

- Gtk 4.20.3
- Fedora 43 (and openSUSE Tumbleweed) with Plasma 6.5.5 Wayland
- GLib Version: 2.86.3
- Pango Version: 1.57.0
- Cairo Version: 1.18.4
- GL-Renderer: AMD Radeon Graphics (radeonsi, renoir, ACO, DRM 3.64,
6.18.9-200.fc43.x86_64)
- GSK-Renderer: Vulkan
- Input method: gtk-im-context-simple


## Additional information
Not reproducible with the gtk3-demo application or in any Qt application.

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

Reply via email to