Bug 462382

Summary: Information panel detaches and cannot be attached again to parent window
Product: [Applications] partitionmanager Reporter: kacpertopor5
Component: generalAssignee: Andrius Štikonas <andrius>
Status: REOPENED ---    
Severity: normal CC: kdebug3rep0rt.lwyfo, postix
Priority: NOR    
Version First Reported In: 22.08.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Info panel detached

Description kacpertopor5 2022-11-29 05:46:24 UTC
Created attachment 154127 [details]
Info panel detached

SUMMARY

STEPS TO REPRODUCE
1. Settings > Panels shown > ✅ Information
2. Try to enlarge it 

OBSERVED RESULT
It detaches as a separate window and cannot be attached back

EXPECTED RESULT
It resizes or moves inside window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 37 (KDE Plasma)
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Comment 1 Andrius Štikonas 2022-12-01 20:40:05 UTC
This is a Qt bug, so not sure if it's best to track it here... We can't do much on partition manager side, so I suggest to just wait.
Comment 2 postix 2023-07-07 11:28:00 UTC
Is there any Qt bug report for this, which you can link to?
Comment 3 Andrius Štikonas 2023-07-07 11:38:39 UTC
(In reply to postix from comment #2)
> Is there any Qt bug report for this, which you can link to?
Hmm, just tried searching, couldn't find anything...
Comment 4 postix 2023-07-07 12:02:40 UTC
(In reply to Andrius Štikonas from comment #3)
> Hmm, just tried searching, couldn't find anything...

I see. Would you like to open one as you have more insights on KDE Parititon's manager code and its components and thus you are likely more capable of providing a minimal example? It would also be interesting to see if Qt6 is affected as well.

I've noticed that the panel keeps being detached, even after restarting the application. Therefor a fix would be very welcome. :)
Comment 5 Andrius Štikonas 2023-07-08 10:37:07 UTC
(In reply to postix from comment #4)
> (In reply to Andrius Štikonas from comment #3)
> > Hmm, just tried searching, couldn't find anything...
> 
> I see. Would you like to open one as you have more insights on KDE
> Parititon's manager code and its components and thus you are likely more
> capable of providing a minimal example? It would also be interesting to see
> if Qt6 is affected as well.
> 
> I've noticed that the panel keeps being detached, even after restarting the
> application. Therefor a fix would be very welcome. :)

Yeah, I guess I can report it but I first need to build it again with Qt6...
Comment 6 Andrius Štikonas 2023-07-21 18:44:17 UTC
*** Bug 472474 has been marked as a duplicate of this bug. ***
Comment 7 postix 2023-08-09 11:00:14 UTC
David Redondo has just published a nice write up about the current situation and how has solved this issue for the upcoming Plasma 6 release. [1]
So I'd say it should be resolved fixed in Plasma 6 once the app is also built against Qt6.6+. :-)

[1] https://blog.david-redondo.de/kde/wayland/qt/2023/08/08/xdg-toplevel-drag.html
Comment 8 Andrius Štikonas 2023-08-09 17:33:25 UTC
(In reply to postix from comment #7)
> David Redondo has just published a nice write up about the current situation
> and how has solved this issue for the upcoming Plasma 6 release. [1]
> So I'd say it should be resolved fixed in Plasma 6 once the app is also
> built against Qt6.6+. :-)
> 
> [1]
> https://blog.david-redondo.de/kde/wayland/qt/2023/08/08/xdg-toplevel-drag.
> html

It's already ported to Qt6. You can build partition manager with either Qt5 or Qt6.