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

            Bug ID: 451056
           Summary: Kwin-X11 Windows Resize, Position, and Move
                    Erratically
           Product: kwin
           Version: 5.24.2
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: core
          Assignee: kwin-bugs-n...@kde.org
          Reporter: z_mikow...@yahoo.com
  Target Milestone: ---

SUMMARY

Kwin is showing the following anomalies. These are not constant, but occur
frequently (10-20 times) per day. They all appear to be associated with a
scaling issue, so I have grouped them here. I will work to provide a better
guide to reproduce as I find out more. Driver package is nvidia-driver-470.

STEPS TO REPRODUCE

1. Run Jammy with multiple 4K monitors attached. I've tried this with a high
font DPI setting (System Settings > Fonts > Force DPI = 144) and fractional
scaling (System Settings > Displays > Global Scale = 150%). These symptoms
occur in either setting. I have not confirmed if this works without either.
2. Launch an app such as konsole or google-chrome (the latter seems highly
susceptible).
3. Tile and drag windows. This results in issues (1), (2), and (3), above.
4. Drag a tab from konsole or firefox into an empty space. The window will be
placed incorrectly even if the area dragged to is completely open.
5. Turning off compositing (alt+shift+f12) results in window being sized to
include a large black border (around 50px) which presumably is the shadow size.
This border is ignored when tiling or using the maximize button. But it is
included in window size when using vertical maximize and horizontal maximize.

OBSERVED RESULT

A. When moving windows, the window will not move with the cursor but will
continue to move the window further downwards on the screen even as the cursor
is pushed further up. In fact, the speed at which a window moves down appears
proportional to the upward movement of the cursor.

B. Windows that are moved as in (1) will often "slide off screen" and are
inaccessible using the cursor although they still exist in the panel. Windows
include IntelliJ Pro, Google Chrome, Konsole.

C. Windows that have been tiled (e.g. press meta + arrow key) when moved by
dragging the title bar, will vertically collapse to only the height of the
title bar. After dropping this title bar, one cannot select or move it again
from the screen. Windows include IntelliJ Pro, Google Chrome, Konsole

D. Windows spawned by dragging a tab from one window onto an empty space (e.g.
dragging a tab from a firefox browser or konsole session onto an empty space on
the desktop) are placed badly - usually far away from the intended location,
and sometimes off-screen as in (2).

EXPECTED RESULT

A and B. Moving windows should follow the cursor and not 'slide off screen'
where they are inaccessible. 
C. Windows show maintain their size or pre-tiling size when moving, and should
not collapse to title-bar height.
D. Windows spawned from another window tab like konsole or firefox, should be
created in the area of the cursor, not off screen.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.15.0-18-lowlatency (64-bit)
Graphics Platform: X11
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2

ADDITIONAL INFORMATION

Downstream Kubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/kwin/+bug/1962621
All kwin settings are defaults. No kwin scripts are installed or used.

SPECULATION

Scaling is not applied correctly to window moving or sizing?
Font DPI is not applied correctly to window moving or sizing?

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

Reply via email to