[kde] [Bug 475871] New: [Wayland] Window resized incorrectly when initialised as maximised

Sollace bugzilla_noreply at kde.org
Fri Oct 20 11:26:35 BST 2023


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

            Bug ID: 475871
           Summary: [Wayland] Window resized incorrectly when initialised
                    as maximised
    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: sollacea at gmail.com
  Target Milestone: ---

Created attachment 162447
  --> https://bugs.kde.org/attachment.cgi?id=162447&action=edit
Demostrating the described bug

SUMMARY

Currently on Wayland if you open a new window in maximised (i.e. if the program
had its window maximised when you closed it last, and you reopen it) and then
restore the window by repositioning it, attempting to resize it after doing so
will cause the window geometry to jump to the top-left of the display.

My assessment (given after reviewing footage, I notice the bug coincides with
the drag point of the window also jumping to the top-left) is that the cursor
position for windows spawned in this manner is not being initialised when it
gains focus.

STEPS TO REPRODUCE
1. Open a new dolphin instance (default META+E)
2. Click "maximise" to maximise it (if not already)
3. Click "close"
4. Repeat step 1
5. Unmaximise the window by dragging it by the title bar to the middle of the
screen
6. Attempt to resize the window by clicking on its top-left corner and dragging
down and to the right

OBSERVED RESULT

The window jumps to the top-left of the screen and is given its minimum
dimensions.

EXPECTED RESULT

Only the top and left edges of the window should move, and should move down and
to the right proportional to the cursor's movement.

SOFTWARE/OS VERSIONS
Windows: No
macOS: No
Linux/KDE Plasma: Yes
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION

Operating System: Manjaro Linux 

Kernel Version: 6.1.55-1-MANJARO (64-bit)
Graphics Platform: Wayland

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


More information about the Unassigned-bugs mailing list