[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-04-11 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=464196

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0.4

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-04-11 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=464196

Vlad Zahorodnii  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/-/commit/ab1350b6a6 |ma/kwin/-/commit/f76b1947b1
   |7cc518f47ea71c33866041abee7 |d74f2fc68198da37bca11724c0e
   |bcd |b5f

--- Comment #17 from Vlad Zahorodnii  ---
Git commit f76b1947b1d74f2fc68198da37bca11724c0eb5f by Vlad Zahorodnii.
Committed on 11/04/2024 at 08:34.
Pushed by vladz into branch 'Plasma/6.0'.

wayland: Send data offer source actions only for dnd

It makes sense only with dnd and sending the source_actions events for
selections and primary selections tricks gtk into thinking that there
are drag motion events.


(cherry picked from commit ab1350b6a67cc518f47ea71c33866041abee7bcd)

M  +2-1src/wayland/datadevice.cpp

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

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-04-11 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=464196

Vlad Zahorodnii  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/-/commit/ab1350b6a6
   ||7cc518f47ea71c33866041abee7
   ||bcd

--- Comment #16 from Vlad Zahorodnii  ---
Git commit ab1350b6a67cc518f47ea71c33866041abee7bcd by Vlad Zahorodnii.
Committed on 11/04/2024 at 08:21.
Pushed by vladz into branch 'master'.

wayland: Send data offer source actions only for dnd

It makes sense only with dnd and sending the source_actions events for
selections and primary selections tricks gtk into thinking that there
are drag motion events.

M  +2-1src/wayland/datadevice.cpp

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

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-04-09 Thread Dragoon Aethis
https://bugs.kde.org/show_bug.cgi?id=464196

--- Comment #15 from Dragoon Aethis  ---
It appears that Sublime Text is also affected by odd drag-drop issues, only on
KDE + Wayland: https://github.com/sublimehq/sublime_text/issues/4077

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-04-04 Thread Sydney
https://bugs.kde.org/show_bug.cgi?id=464196

Sydney  changed:

   What|Removed |Added

 CC||sydneysedai+...@gmail.com

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-04-04 Thread Albert Eureka
https://bugs.kde.org/show_bug.cgi?id=464196

--- Comment #14 from Albert Eureka  ---
also, 
https://bugzilla.mozilla.org/show_bug.cgi?id=1882963, 
https://bugzilla.mozilla.org/show_bug.cgi?id=1881758
and https://bugzilla.mozilla.org/show_bug.cgi?id=1888385

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-04-04 Thread Albert Eureka
https://bugs.kde.org/show_bug.cgi?id=464196

Albert Eureka  changed:

   What|Removed |Added

 CC||albteur...@outlook.com

--- Comment #13 from Albert Eureka  ---
firefox, chromium and many gtk apps are influenced by this bug,
https://bugzilla.mozilla.org/show_bug.cgi?id=1875031

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-03-31 Thread Timothy B
https://bugs.kde.org/show_bug.cgi?id=464196

Timothy B  changed:

   What|Removed |Added

 CC||yule2...@live.com

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-02-05 Thread King Kang Kong
https://bugs.kde.org/show_bug.cgi?id=464196

King Kang Kong  changed:

   What|Removed |Added

 CC||r2b2x3+kde...@gmail.com

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2024-02-03 Thread Kenneth
https://bugs.kde.org/show_bug.cgi?id=464196

Kenneth  changed:

   What|Removed |Added

 CC||qufiwefefw...@gmail.com

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-12-20 Thread postix
https://bugs.kde.org/show_bug.cgi?id=464196

--- Comment #12 from postix  ---
Oh, the hint was already mentioned in comment 7 from the very same user. :)

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-12-20 Thread postix
https://bugs.kde.org/show_bug.cgi?id=464196

postix  changed:

   What|Removed |Added

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

--- Comment #11 from postix  ---
The comment [1] got some interesting hint
> The problem is that plasma(klipper(ksystemclipboard)) is sending 
> "selection" and "primary selection" every time a window is activated,
> which gtk detects as drag move events.

[1] https://gitlab.gnome.org/GNOME/gtk/-/issues/5519#note_1811179

I also updated the URL, as the former one was marked as a dup.

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-12-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=464196

mira...@mirandastreeter.com changed:

   What|Removed |Added

 CC||mira...@mirandastreeter.com

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-12-20 Thread Jessica M
https://bugs.kde.org/show_bug.cgi?id=464196

--- Comment #10 from Jessica M  ---
This happens to me in Firefox all the time, very annoying bug. Still happens in
KDE 6

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-12-20 Thread Jessica M
https://bugs.kde.org/show_bug.cgi?id=464196

Jessica M  changed:

   What|Removed |Added

 CC||jess...@jessicamaybe.com

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-10-01 Thread Ilya Bizyaev
https://bugs.kde.org/show_bug.cgi?id=464196

Ilya Bizyaev  changed:

   What|Removed |Added

 CC||bizy...@zoho.com
Version|5.26.5  |5.27.8
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #9 from Ilya Bizyaev  ---
Marking this bug as confirmed because it affects many users (me included)

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-09-30 Thread Dragoon Aethis
https://bugs.kde.org/show_bug.cgi?id=464196

Dragoon Aethis  changed:

   What|Removed |Added

 CC||k...@dragonic.eu

--- Comment #8 from Dragoon Aethis  ---
One more +1, with more notes in this Gtk bug:
https://gitlab.gnome.org/GNOME/gtk/-/issues/5519 - I can reproduce this
behavior with Zoltan's code too.

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-08-06 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=464196

--- Comment #7 from nyikoszolt...@gmail.com ---
I was able to debug a bit further but I don't think I'm any closer to the root
cause.
The trigger seems to be KSystemClipboard::setMimeData. Once it is called then
every time a gtk window is activated it will receive the repeat of any last
drag move event. Looking into KSystemClipboard it does send the clipboard data
every time a window is activated (through wl_data_device/wl_data_offer/etc),
but as to where this event is mistaken as a drag motion event I'm not sure.

I created a simple reproduction setup: https://github.com/nyz93/kde-drag-repro
if someone more familiar with the internals of kwin and/or wayland would like
to try.

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-08-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=464196

nyikoszolt...@gmail.com changed:

   What|Removed |Added

 CC||nyikoszolt...@gmail.com

--- Comment #6 from nyikoszolt...@gmail.com ---
Interestingly I'm not able to reproduce this unless plasmashell is running.
Just kwin_wayland by itself (nested or from a tty) doesn't cause the bug to
trigger.

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-07-23 Thread sedrubal
https://bugs.kde.org/show_bug.cgi?id=464196

--- Comment #5 from sedrubal  ---
Same for me. This one is really annoying. The only solution I found is to close
and reopen the application that gets those spurious DnD events, which is most
of the time Firefox.

Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Graphics Platform: Wayland
Gtk: 3.24.38

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-07-23 Thread sedrubal
https://bugs.kde.org/show_bug.cgi?id=464196

sedrubal  changed:

   What|Removed |Added

 CC||k...@sedrubal.de

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-03-21 Thread 15c730840a66
https://bugs.kde.org/show_bug.cgi?id=464196

15c730840a66 <6ot3tj...@mozmail.com> changed:

   What|Removed |Added

 CC||6ot3tj...@mozmail.com

--- Comment #4 from 15c730840a66 <6ot3tj...@mozmail.com> ---
This is still a constant issue for me on Plasma 5.27.3, especially in Firefox

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-02-02 Thread Alex Dewar
https://bugs.kde.org/show_bug.cgi?id=464196

Alex Dewar  changed:

   What|Removed |Added

 CC||alex.de...@gmx.co.uk

--- Comment #3 from Alex Dewar  ---
Is anyone else seeing this issue? I notice it all the time when running
Evolution under Plasma.

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-01-13 Thread postix
https://bugs.kde.org/show_bug.cgi?id=464196

--- Comment #2 from postix  ---
I wanted to add that this issue could not be observed on other DE such as Gnome
Wayland. Therefore the guess that it's a Plasma Wayland issue.

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-01-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=464196

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-01-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=464196

postix  changed:

   What|Removed |Added

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

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-01-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=464196

--- Comment #1 from postix  ---
Created attachment 155237
  --> https://bugs.kde.org/attachment.cgi?id=155237=edit
Screenrecording

Here's a screenrecording.

I just noticed that the bug is triggered, when the GTK window regains focus,
i.e. when it was selected before and the Plasma Widget is closed (by a second
click), the GTK window is focused again and a 'drag-motion' event is triggered.

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

[kwin] [Bug 464196] Drag and drop in GTK apps: 'drag-motion' is triggered when GTK window regains focus

2023-01-12 Thread postix
https://bugs.kde.org/show_bug.cgi?id=464196

postix  changed:

   What|Removed |Added

Summary|Drag and drop in GTK apps:  |Drag and drop in GTK apps:
   |'drag-motion' is triggered  |'drag-motion' is triggered
   |when clicking on a panel's  |when GTK window regains
   |widget  |focus

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