Bug 2366483 - Resizing an undocked QDockWidget from the top-right causes the vertical resize direction to invert.
Summary: Resizing an undocked QDockWidget from the top-right causes the vertical resiz...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: qt6
Version: 42
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jan Grulich
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-15 11:22 UTC by Mr. Beedell, Roke Julian Lockhart (RJLB)
Modified: 2025-05-15 11:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
A Screencast Demonstrating Reproduction With C++ On F42 (903.96 KB, video/webm)
2025-05-15 11:22 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
A Screencast Demonstrating Reproduction With PyQt6 On F42 (775.43 KB, video/webm)
2025-05-15 11:23 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
A Screencast Demonstrating Non-Reproduction With C++ On openSUSE Leap 15.6 (254.69 KB, video/webm)
2025-05-15 11:24 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
A C++ Sample That Produces The Problem On F42 (15.94 KB, application/zip)
2025-05-15 11:25 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details
A PyQt6 Sample That Produces The Problem On F42 (1.47 KB, text/plain)
2025-05-15 11:25 UTC, Mr. Beedell, Roke Julian Lockhart (RJLB)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Qt Bug Tracker QTBUG-136715 0 P2: Important Closed Resizing an undocked QDockWidget from the top-right causes the vertical resize direction to invert. 2025-05-15 11:22:47 UTC

Description Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-05-15 11:22:48 UTC
Created attachment 2089951 [details]
A Screencast Demonstrating Reproduction With C++ On F42

Description of problem:

:	Under `kwin-wayland-6.3.5-1`, the vertical resize direction of an undocked `QDockWidget`, when resized from its top-right corner, is inverted.

Version-Release number of selected component (if applicable):

:	âȘ… `qt6-filesystem-6.9.0-2.fc42.x86_64.rpm` [^2]

How reproducible:

:	100%

Steps to reproduce:

:	1. Install `PRETTY_NAME="Fedora Linux 42 (KDE Plasma Desktop Edition)"`.

	2. Compile (or run, if that works for you) the attached C++ or PyQt6 code. [^3]

	3. Undock the `QDockWidget`.

	4. Vertically resize its top-right corner. It's difficult to grab, but is grabbable.

Actual results:

:	It shouldn't be inverted. No alternative corner exhibits this behaviour.

Expected results:

:	> The vertical resize direction of an undocked `QDockWidget`, when resized from its top-right corner, is inverted.

Additional info:

:	Originally reported at https://bugreports.qt.io/browse/QTBUG-136715#comment-886269:  [^1]

	> To push for a solution, I'd probably report a bug to Fedora. I can't imagine this to be a KDE issue, otherwise it would reproduce on openSuSE Leap.

	[^1]: https://bugreports.qt.io/browse/QTBUG-136715?focusedId=886269&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-886269:~:text=To%20push%20for%20a%20solution%2C%20I'd%20probably%20report%20a%20bug%20to%20Fedora.%20I%20can't%20imagine%20this%20to%20be%20a%20KDE%20issue%2C%20otherwise%20it%20would%20reproduce%20on%20openSuSE%20Leap.

	[^2]: https://koji.fedoraproject.org/koji/rpminfo?rpmID=42529802#:~:text=Information%20for%20RPM-,qt6%2Dfilesystem%2D6.9.0%2D2.fc42.x86_64.rpm,-ID

	[^3]: https://bugreports.qt.io/secure/attachment/175415/reproducible_python_sample.py

Comment 1 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-05-15 11:23:37 UTC
Created attachment 2089952 [details]
A Screencast Demonstrating Reproduction With PyQt6 On F42

Comment 2 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-05-15 11:24:25 UTC
Created attachment 2089953 [details]
A Screencast Demonstrating Non-Reproduction With C++ On openSUSE Leap 15.6

Comment 3 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-05-15 11:25:07 UTC
Created attachment 2089954 [details]
A C++ Sample That Produces The Problem On F42

Comment 4 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-05-15 11:25:24 UTC
Created attachment 2089955 [details]
A PyQt6 Sample That Produces The Problem On F42

Comment 5 Jan Grulich 2025-05-15 11:25:58 UTC
Hi, I've been following the Qt issue and I could reproduce it on Fedora 42, however, I'm unsure how this is related and only reproducible on Fedora, because we don't modify anything related to QDockWidget.

Comment 6 Mr. Beedell, Roke Julian Lockhart (RJLB) 2025-05-15 11:31:42 UTC
(In reply to Jan Grulich from comment #5)

> Hi, I've been following the Qt issue and I could reproduce it on Fedora 42,
> however, I'm unsure how this is related and only reproducible on Fedora,
> because we don't modify anything related to QDockWidget.

I'm rather a novice at debugging, but I've a lot of VMs now, so if you want me to trace them somehow, I'll try. I doubt I can do any of this better than you can, though. This could be a long shot, but perhaps it's similar to https://github.com/MediaArea/MediaInfo/issues/1111#issuecomment-2853896160:~:text=is%20an%20int.-,In%20conclusion%2C%20this%20is%20an%20issue%20with%20Linux%20libraries%20and%20their%20linking%2C%20not%20with%20MediaInfo.,-%F0%9F%91%8D1, where something is being compiled strangely...? đŸ€·


Note You need to log in before you can comment on or make changes to this bug.