Bug 352304 - QFileDialog opens in wrong size
Summary: QFileDialog opens in wrong size
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-frameworkintegration
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Other
: NOR minor
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-05 13:04 UTC by Stefan Majewsky
Modified: 2020-03-27 04:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Wrongly rendered file dialog (319.67 KB, image/png)
2015-09-05 13:07 UTC, Stefan Majewsky
Details
qdbus org.kde.KWin /KWin supportInformation (5.42 KB, text/plain)
2015-09-05 13:12 UTC, Stefan Majewsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Majewsky 2015-09-05 13:04:19 UTC
This sounds like a bug with QFileDialog itself, but I cannot reproduce it in other applications (checked with Konsole and KWrite).

Reproducible: Always

Steps to Reproduce:
1. Go to "Desktop Settings > Wallpaper".
2. "Open..." a new wallpaper (so that it is added to the selection), but while choosing an image, resize the file dialog. (It was too small for me initially, so I enlarged it.)
3. "Open..." the file dialog again.

Actual Results:  
I'll attach an image of what I saw after step 3.

Expected Results:  
In step 3, the file dialog should restore the size that I chose during step 2.
Comment 1 Stefan Majewsky 2015-09-05 13:07:37 UTC
Created attachment 94410 [details]
Wrongly rendered file dialog

This is how the file dialog appeared after step 3. The window size is correctly restored, but the window contents don't fit into the window size.

An easy workaround is to grab the resize handle at the bottom right corner of the window border. The next resize event fixes the rendering glitch and resizes the window contents to the proper size.
Comment 2 Stefan Majewsky 2015-09-05 13:12:41 UTC
Created attachment 94411 [details]
qdbus org.kde.KWin /KWin supportInformation

Since this might be related to KWin or to the graphics stack in general, I'm also attaching the KWin support information for my system.
Comment 3 Ahmad Samir 2020-02-26 14:24:49 UTC
Do you still see this issue?
Comment 4 Bug Janitor Service 2020-03-12 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-03-27 04:33:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!