Bug 377144 - Make folder dialog maximizes to dolphin window
Summary: Make folder dialog maximizes to dolphin window
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-03 07:51 UTC by Alex
Modified: 2017-03-06 09:05 UTC (History)
2 users (show)

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


Attachments
Gif showing make folder dialog resized to dolphin window (940.97 KB, image/gif)
2017-03-03 07:51 UTC, Alex
Details
Reproducing with enUS locale and closing (2.41 MB, image/gif)
2017-03-04 15:52 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
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.