[kde] [Bug 487859] New: In wayland, drag&drop does not reliably work for [GIMP, Krita, Discord] when using scaling factors greater than 100%

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri May 31 23:17:05 BST 2024


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

            Bug ID: 487859
           Summary: In wayland, drag&drop does not reliably work for
                    [GIMP, Krita, Discord] when using scaling factors
                    greater than 100%
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: tamius.han at gmail.com
  Target Milestone: ---

SUMMARY
When dragging files between two programs, when at least one of the monitors
uses a scaling factor greater than 100%, some programs develop zones where
drag&drop doesn't work. The size of this "dead zone" depends on scaling factor
and window position. This could be an issue with Xwayland (as it seems very
program-dependent), but I can't say for sure.



DISPLAY SETUP
Left monitor: 5120x2160, 60hz, 150% scaling,
Right monitor: 3440x1440, 144hz, 100% scaling



DETAILS:
With the setup outlined above, I tried to drag files from Dolphin into a target
program, which were installed from official Manjaro repos (extra) unless noted
otherwise.

The "problem programs" are GIMP, Krita, and Discord. When dragging files into
these programs, I should be able to drop files anywhere in the window. However,
this isn't the case. Programs will develop dead zones on the left and top side
of the window. The size of dead zone depends on window position and scaling
factor.

For example: If I put GIMP, et al window on the left half of my left monitor,
or maximize it, then drag&drop will work as expected. However, if I put the
window on the right half of my left (150% scaling) monitor, then the left ~half
of the window¹ will NOT accept drag&drop ("not-here" cursor appears). If I
repeat the same experiment at 125% scaling, then only the left ~quarter of the
window² will not accept drag&drop. 

Drag&drop dead zone also grows vertically from the top of the window, and
depends on how far from the top of the monitors the window is. If I were to
quarter-tile GIMP, et al window in the right-bottom corner of my left (150%)
display, the window would accept drag&drop only in the bottom-right corner of
the window.

[1] Half of the window being a quarter of monitor resolution, or
~(scaling_factor - 1) * window_x_position
[2] Quarter of the window being 1/8th of monitor resolution, or
~(scaling_factor - 1) * window_x_position 



OTHER SOFTWARE:
This problem does NOT happen with Firefox, Chrome, LibreOffice Writer, Dolphin,
or GIMP 2.99 (gimp-devel-noconflict from AUR). 

Drag&Drop also does not work for Darktable, but drag&drop behaviour in
Darktable is inconsistent with this bug (drag&drop doesn't work at all). 



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.6.32-1-MANJARO
(available in About System)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ALSO VERSIONS:
GIMP: 2.10.38
krita: 5.2.2
Discord: 0.0.54

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list