Bug 407078

Summary: sorting changes are not applied immediately
Product: [Applications] dolphin Reporter: Christophe Marin <christophe>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christophe Marin 2019-04-30 07:50:27 UTC
Using master (currently at ecf1ae6d0). I found this on tweeter.
When checking/unchecking the "sorting" box in the prefs, the view isn't refreshed. 

A restart is needed.

Test:
touch 777x 0888x 999x && dolphin .

shows
777x
0888x
999x

open the preferences, uncheck the natural sorting option, apply, ok
The view wasn't refreshed. A restart is required.
Comment 1 Kai Uwe Broulik 2019-04-30 08:05:21 UTC
Can confirm
Comment 2 Kai Uwe Broulik 2019-04-30 08:11:24 UTC
Problem seems to be that the view and settings are in two different libraries.
So the GeneralSettings singleton the settings window write into that ends up emitting the change signal is not the one that the view listens to.

KFileItemModel: connecting signals on GeneralSettings(0x5635adf0d6f0)
BehaviorSettingsPage: saving settings on GeneralSettings(0x7fe09c00b9c0)
Comment 3 Patrick Silva 2019-04-30 10:42:22 UTC

*** This bug has been marked as a duplicate of bug 368121 ***