Summary: | If another "Default icon size" is set: the change is not applied until the user e.g. switches the viewmode (Brief/Detailed) | ||
---|---|---|---|
Product: | [Applications] krusader | Reporter: | liukai <kedora> |
Component: | general | Assignee: | Davide Gianforte <davide> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | davide, krusader-bugs-null, toni.asensi |
Priority: | NOR | ||
Version First Reported In: | 2.6.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/krusader/fca9e0fe4ccbfd15b3f13659e4f07fb517e7927c | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | krusader 2.6.0 in Kubuntu 17.10, config ,setting the file list icon size. |
In other words: if you configure Krusader to use another "Default icon size" in the "Detailed View"... the change is not applied until you e.g. switch the viewmode to "Brief View", and you switch back the viewmode to "Detailed View". (In reply to Toni Asensi Esteve from comment #1) > In other words: if you configure Krusader to use another "Default icon size" > in the "Detailed View"... the change is not applied until you e.g. switch > the viewmode to "Brief View", and you switch back the viewmode to "Detailed > View". Yes ,My mean as your said. There is already the method KrView::setFileIconSize, the point is: when to use it? I have a little knowledge of Konfigurator and KConfig related things. The resize must be invoked only when the icon size is really changed, and we have two types of view (brief/detailed). I don't know if a bare cycle is the right solution. Git commit fca9e0fe4ccbfd15b3f13659e4f07fb517e7927c by Davide Gianforte. Committed on 09/05/2020 at 15:18. Pushed by gengisdave into branch 'master'. Update icon size after the user changed it on Konfigurator When the user changes the icon size (brief or detailed view) on Konfigurator, all panels are not update. Krusader has to be restarted or the user must change view mode. This patch force icon size after it was changed in Konfigurator. FIXED: [ 391996 ] krusader config , after setted filelist icon size , user must switch viewmode (Brief/Detail) then krusader does. Differential Revision: https://phabricator.kde.org/D29453 M +18 -0 krusader/Konfigurator/kgpanel.cpp M +1 -0 krusader/Konfigurator/kgpanel.h M +2 -0 krusader/panelmanager.cpp https://commits.kde.org/krusader/fca9e0fe4ccbfd15b3f13659e4f07fb517e7927c |
Created attachment 111478 [details] krusader 2.6.0 in Kubuntu 17.10, config ,setting the file list icon size. krusader config , after setted filelist icon size , user must switch viewmode (Brief/Detail) then krusader does.