Bug 463531 - Open file dialog setting does not match appearance on new install
Summary: Open file dialog setting does not match appearance on new install
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (other bugs)
Version First Reported In: 5.101.0
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-27 21:07 UTC by mrfrh
Modified: 2023-11-09 12:14 UTC (History)
2 users (show)

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


Attachments
option does not match appearance of the dialog (317.33 KB, image/png)
2022-12-27 21:07 UTC, mrfrh
Details
setting in frameworks 5.240.0 (218.84 KB, image/png)
2023-11-09 09:56 UTC, mrfrh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mrfrh 2022-12-27 21:07:25 UTC
Created attachment 154854 [details]
option does not match appearance of the dialog

SUMMARY
On a brand new install, the setting "allow expanding of folders in detailed view" (not sure if this is the correct translation from German) does not match the default layout of the open file dialog, as the option is unchecked but the detailed view is activated and folders can be expanded (see screenshot).

STEPS TO REPRODUCE
1. Perform a new install (I used openSUSE Tumbleweed)
2. Open any "open file" dialog
3. Option "allow expanding of folders in detailed view" is unchecked, but the dialog does exactly have this configuration

OBSERVED RESULT
Option "allow expanding of folders in detailed view" is unchecked, but the dialog does exactly have this configuration.

EXPECTED RESULT
Checkbox should fit the appearance of the dialog.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Comment 1 mrfrh 2023-11-09 09:56:29 UTC
Created attachment 162967 [details]
setting in frameworks 5.240.0

Though a minor issue, this is still present in frameworks 5.240.0 and can be reproduces on live iso neon-unstable-20231107-1001.iso, see attachment.
Comment 2 mrfrh 2023-11-09 11:30:33 UTC
So this could be solved by adding the following to kdeglobals (though I don't think this is a desired solution):
[KFileDialog Settings]
Allow Expansion=true

But, from my understanding, there is no other way to initialize allowExpansionAction in kfilewidget.cpp?
Comment 3 mrfrh 2023-11-09 12:14:31 UTC
(In reply to mrfrh from comment #2)
> But, from my understanding, there is no other way to initialize
> allowExpansionAction in kfilewidget.cpp?

sorry, wrong filename. I meat in kdiroperator.cpp --> KDirOperator::setupActions()