Bug 377144

Summary: Make folder dialog maximizes to dolphin window
Product: [Frameworks and Libraries] frameworks-kio Reporter: Alex <eneeen>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED NOT A BUG    
Severity: normal CC: elvis.angelaccio, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Gif showing make folder dialog resized to dolphin window
Reproducing with enUS locale and closing

Description Alex 2017-03-03 07:51:42 UTC
Created attachment 104333 [details]
Gif showing make folder dialog resized to dolphin window

I'm not sure if it's bug or intentional, but please take a look @ gif
Comment 1 Elvis Angelaccio 2017-03-03 11:29:10 UTC
It's not intentional, but I cannot reproduce your issue. Anyway this dialog comes from kio.
Comment 2 Alex 2017-03-03 18:49:28 UTC
I can add, that when I resize that window dolphin remembers size and opens smaller (5.9.3)
Comment 3 David Faure 2017-03-04 14:18:26 UTC
Cannot reproduce this either, not even the dialog remembering its size.

The code is a QDialog created in KNewFileMenu::createDirectory, and there is nothing there about saving/restoring size, it's supposed to come with the default size every time.

Can you still reproduce the issue now that you resized the dialog?
If so, can you test if it also happens in the english locale? (start `LANG=en_US.UTF-8 dolphin` in a terminal)
Comment 4 Alex 2017-03-04 15:52:34 UTC
Created attachment 104365 [details]
Reproducing with enUS locale and closing
Comment 5 David Faure 2017-03-04 16:16:24 UTC
Comment on attachment 104365 [details]
Reproducing with enUS locale and closing

Do you maybe have a KWin rule for Dolphin, which would unexpected apply to all its windows?
Right click on Dolphin titlebar, More Actions, Special Application Settings...
Have you ever seen this dialog before? Does it contain anything enabled?
Check also "Special Window Settings" on both the dolphin mainwindow and the "create new folder" dialog.
Comment 6 Alex 2017-03-04 16:27:14 UTC
Oh I forgot to add this, yes, I've set it recently. I've got size and position enabled for dolphin globally.
Comment 7 David Faure 2017-03-06 09:05:19 UTC
Well there's no bug then. If you ask kwin to make all windows from dolphin very large, then all windows from dolphin become very large.

If you want this to apply only to mainwindows (not dialogs), refine your KWin rules.