[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-11 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=517573

Nate Graham  changed:

   What|Removed |Added

Version||6.7.0
  Fixed/Implemented||
 In||

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-05 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=517573

Vlad Zahorodnii  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/-/commit/f77bcb6050 |ma/kwin/-/commit/46ac1e7679
   |9321197f127a89f946825a08247 |df4008c0e3c120906dfdf7193de
   |815 |2e2

--- Comment #9 from Vlad Zahorodnii  ---
Git commit 46ac1e7679df4008c0e3c120906dfdf7193de2e2 by Vlad Zahorodnii.
Committed on 05/06/2026 at 09:03.
Pushed by vladz into branch 'Plasma/6.7'.

Prevent klipper from overwriting valid empty selections

GTK applications tend to set valid empty selections sometimes. With the
current logic, the selection is overwritten by klipper, which in its
turn breaks the GTK apps.

In order to work reliably, this depends on an upstream patch to make
selection updates in GTK less racy. See
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/10006.


(cherry picked from commit f77bcb60509321197f127a89f946825a08247815)

Co-authored-by: Vlad Zahorodnii 

M  +2-2src/wayland/seat.cpp

https://invent.kde.org/plasma/kwin/-/commit/46ac1e7679df4008c0e3c120906dfdf7193de2e2

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-05 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=517573

--- Comment #8 from Vlad Zahorodnii  ---
Git commit 914a5004f5bec4991ec60873dbabf922a2fe467c by Vlad Zahorodnii.
Committed on 05/06/2026 at 09:19.
Pushed by vladz into branch 'Plasma/6.7'.

klipper: Permit valid empty selections on Wayland

GTK applications tend to set valid empty selections sometimes. With the
current logic, the selection is overwritten by klipper, which in its
turn breaks the GTK apps.


(cherry picked from commit 5bb4c763e49d1799791780815de5ab0dc8f07275)

Co-authored-by: Vlad Zahorodnii 

M  +12   -6klipper/systemclipboard.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/914a5004f5bec4991ec60873dbabf922a2fe467c

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-05 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=517573

--- Comment #7 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6682

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-05 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=517573

Vlad Zahorodnii  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/-/commit/f77bcb6050
   ||9321197f127a89f946825a08247
   ||815
 Status|ASSIGNED|RESOLVED

--- Comment #6 from Vlad Zahorodnii  ---
Git commit f77bcb60509321197f127a89f946825a08247815 by Vlad Zahorodnii.
Committed on 05/06/2026 at 07:28.
Pushed by vladz into branch 'master'.

Prevent klipper from overwriting valid empty selections

GTK applications tend to set valid empty selections sometimes. With the
current logic, the selection is overwritten by klipper, which in its
turn breaks the GTK apps.

In order to work reliably, this depends on an upstream patch to make
selection updates in GTK less racy. See
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/10006.

M  +2-2src/wayland/seat.cpp

https://invent.kde.org/plasma/kwin/-/commit/f77bcb60509321197f127a89f946825a08247815

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-05 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=517573

--- Comment #5 from David Edmundson  ---
Git commit 5bb4c763e49d1799791780815de5ab0dc8f07275 by David Edmundson, on
behalf of Vlad Zahorodnii.
Committed on 05/06/2026 at 07:18.
Pushed by vladz into branch 'master'.

klipper: Permit valid empty selections on Wayland

GTK applications tend to set valid empty selections sometimes. With the
current logic, the selection is overwritten by klipper, which in its
turn breaks the GTK apps.

M  +12   -6klipper/systemclipboard.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/5bb4c763e49d1799791780815de5ab0dc8f07275

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=517573

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-03 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=517573

--- Comment #3 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6672

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-06-03 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=517573

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #4 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/9326

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-04-01 Thread postix
https://bugs.kde.org/show_bug.cgi?id=517573

postix  changed:

   What|Removed |Added

   Keywords||wayland-only

--- Comment #2 from postix  ---
Cannot reproduce on X11 or when running the gtk4 application as an XWayland
app, e.g. `GDK_BACKEND=x11 gtk4-demo`.

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-03-14 Thread postix
https://bugs.kde.org/show_bug.cgi?id=517573

--- Comment #1 from postix  ---
For reference, the original issue:
https://gitlab.gnome.org/GNOME/gtk/-/issues/8028

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

[kwin] [Bug 517573] Text selection breaks for Gtk4 apps

2026-03-14 Thread postix
https://bugs.kde.org/show_bug.cgi?id=517573

postix  changed:

   What|Removed |Added

  Version First|6.5.3   |6.5.5
Reported In||

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