mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
* fix: Add browserPickerViewMode persistence to settings spec The BrowserPickerModal (used by xdg-open feature) was not persisting view mode selection between sessions. While the modal had code to save the view mode preference, the browserPickerViewMode property was not registered in SettingsSpec.js, preventing it from being saved to disk. Added browserPickerViewMode and browserUsageHistory to SettingsSpec.js to ensure user's view preference (list/grid) is properly persisted. Fixes view mode reverting to grid after restarting DMS/QuickShell. * fix: Add view mode persistence for both browser and file pickers Extended the fix to include both picker modals used by xdg-open: BrowserPickerModal (URLs): - Added browserPickerViewMode and browserUsageHistory to SettingsSpec.js - Already had save logic in BrowserPickerModal.qml AppPickerModal/filePickerModal (files): - Added appPickerViewMode and filePickerUsageHistory to SettingsSpec.js - Added appPickerViewMode and filePickerUsageHistory properties to SettingsData.qml - Added viewMode binding and onViewModeChanged handler to filePickerModal Both modals now properly persist user's view preference (list/grid) and usage history between sessions. Fixes view mode reverting to default grid after restarting DMS/QuickShell for both 'dms open https://...' and 'dms open file.pdf' workflows.
24 KiB
24 KiB