[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=461498

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.26.5

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-16 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=461498

Vlad Zahorodnii  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/commit/da229ebe85ce |ma/kwin/commit/07195af2b02a
   |9ae29b5014ee44658b5411d5313 |044f1ef39bf0b3c26aab58e19dc
   |f   |a

--- Comment #15 from Vlad Zahorodnii  ---
Git commit 07195af2b02a044f1ef39bf0b3c26aab58e19dca by Vlad Zahorodnii.
Committed on 16/12/2022 at 13:44.
Pushed by vladz into branch 'Plasma/5.26'.

Revert "Disable PrimarySelection in seat setPrimarySelection"

This reverts commit e60f26e0abd71d65044345675b64e45d7b3cd311.

Cancelling the primary selection breaks text selection in applications
such as gedit. In those apps, you can't select text neither with your
mouse nor keyboard.
(cherry picked from commit da229ebe85ce9ae29b5014ee44658b5411d5313f)

M  +1-1src/main_wayland.cpp
M  +1-33   src/wayland/autotests/server/test_datacontrol_interface.cpp
M  +0-15   src/wayland/seat_interface.cpp
M  +0-2src/wayland/seat_interface.h
M  +0-1src/wayland/seat_interface_p.h
M  +11   -2src/wayland_server.cpp
M  +2-0src/wayland_server.h

https://invent.kde.org/plasma/kwin/commit/07195af2b02a044f1ef39bf0b3c26aab58e19dca

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-16 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

--- Comment #14 from postix  ---
Thanks! :)

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-16 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=461498

Vlad Zahorodnii  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/commit/da229ebe85ce
   ||9ae29b5014ee44658b5411d5313
   ||f
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #13 from Vlad Zahorodnii  ---
Git commit da229ebe85ce9ae29b5014ee44658b5411d5313f by Vlad Zahorodnii.
Committed on 16/12/2022 at 12:47.
Pushed by vladz into branch 'master'.

Revert "Disable PrimarySelection in seat setPrimarySelection"

This reverts commit e60f26e0abd71d65044345675b64e45d7b3cd311.

Cancelling the primary selection breaks text selection in applications
such as gedit. In those apps, you can't select text neither with your
mouse nor keyboard.

M  +1-1src/main_wayland.cpp
M  +1-33   src/wayland/autotests/server/test_datacontrol_interface.cpp
M  +0-15   src/wayland/seat_interface.cpp
M  +0-2src/wayland/seat_interface.h
M  +0-1src/wayland/seat_interface_p.h
M  +11   -2src/wayland_server.cpp
M  +3-0src/wayland_server.h

https://invent.kde.org/plasma/kwin/commit/da229ebe85ce9ae29b5014ee44658b5411d5313f

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-13 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=461498

Nate Graham  changed:

   What|Removed |Added

   Severity|normal  |grave

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-13 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=461498

--- Comment #12 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/qt/qt/qtwayland/-/merge_requests/62

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-13 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=461498

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

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

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-07 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

postix  changed:

   What|Removed |Added

URL|https://gitlab.gnome.org/GN |
   |OME/gtk/-/issues/5372   |

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-07 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

--- Comment #10 from postix  ---
I built the master version of kwin and can confirm that commenting out the line 
https://invent.kde.org/plasma/kwin/-/merge_requests/3012/diffs#769a60050bb02c02c80901c0b0274fd40c633c49_1329_1339
fixes the issue for me while also still keeping the middle click pasting
disabled.

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-12-07 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

--- Comment #9 from postix  ---
@Meven and Vladz, maybe you had overseen the following question from the
comment above:

Does the patch [1] implements the interface, but insists that the selection is
always empty?
Or does the selection->cancel() line [2] maybe cause this issue?

[1] https://invent.kde.org/plasma/kwin/-/merge_requests/3012/diffs
[2]
https://invent.kde.org/plasma/kwin/-/merge_requests/3012/diffs#769a60050bb02c02c80901c0b0274fd40c633c49_1329_1339

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-28 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

--- Comment #8 from postix  ---
Quoting Matthias Clasen @
https://gitlab.gnome.org/GNOME/gtk/-/issues/5372#note_1603916

> I don't have plasma installed, but when I simulate a system without primary 
> selection by ignoring
> zwp_primary_selection_device_manager_v1, Ctrl-a keeps working just fine.

> Maybe that kde patch does something else that it should not do,
> like still implementing that interface, but insisting that the selection is 
> always empty...

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-27 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

postix  changed:

   What|Removed |Added

URL||https://gitlab.gnome.org/GN
   ||OME/gtk/-/issues/5372

--- Comment #7 from postix  ---
> Gtk seems to treat primary selection as the main selection :/
I have reported it now upstream.

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-25 Thread Méven
https://bugs.kde.org/show_bug.cgi?id=461498

Méven  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #6 from Méven  ---
(In reply to Aurora Robb Kristiansen from comment #5)
> Has been happening to me in all GTK apps ever since Plasma 5.25.90 but I was
> never really sure why. Turned middle-click paste back on, lo and behold, now
> I can mark text in GTK text entry fields again.
> 
> Tested with Pinta and DeaDBeeF on Plasma 5.26.3.
> 
> This does not affect Firefox, however I'm not quite sure if Firefox is GTK
> or Qt, or either.

It seems like a bug in GTK exposed by
https://invent.kde.org/plasma/kwin/-/merge_requests/3012/diffs
Gtk seems to treat primary selection as the main selection :/

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-22 Thread Sergey Kozharinov
https://bugs.kde.org/show_bug.cgi?id=461498

Sergey Kozharinov  changed:

   What|Removed |Added

 CC||[email protected]

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-22 Thread Aurora Robb Kristiansen
https://bugs.kde.org/show_bug.cgi?id=461498

Aurora Robb Kristiansen  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 CC||[email protected]
 Ever confirmed|0   |1

--- Comment #5 from Aurora Robb Kristiansen  ---
Has been happening to me in all GTK apps ever since Plasma 5.25.90 but I was
never really sure why. Turned middle-click paste back on, lo and behold, now I
can mark text in GTK text entry fields again.

Tested with Pinta and DeaDBeeF on Plasma 5.26.3.

This does not affect Firefox, however I'm not quite sure if Firefox is GTK or
Qt, or either.

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=461498

Nate Graham  changed:

   What|Removed |Added

  Component|general |wayland-generic
 CC||[email protected],
   ||[email protected]

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-07 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

--- Comment #4 from postix  ---
Created attachment 153560
  --> https://bugs.kde.org/attachment.cgi?id=153560&action=edit
kWin Support Info

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-07 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

--- Comment #3 from postix  ---
Created attachment 153559
  --> https://bugs.kde.org/attachment.cgi?id=153559&action=edit
Screen recording

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

[kwin] [Bug 461498] Disabled Middle Click Pasting makes text selection in some GTK apps impossible on Wayland

2022-11-07 Thread postix
https://bugs.kde.org/show_bug.cgi?id=461498

postix  changed:

   What|Removed |Added

Summary|Text selection immediately  |Disabled Middle Click
   |gone in some app when   |Pasting makes text
   |disabling "Middle Click |selection in some GTK apps
   |Pasting"|impossible on Wayland

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