┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings
AgeCommit message (Collapse)Author
2025-10-23contextmenusettings: Add a tooltip with plugin fileNameMéven Car
2025-10-23PreviewSettings: add a tooltip showing the filename of pluginsMéven Car
So users can identify them and distinguish them when two plugins provide the same mimetype support or help figure out devs where the plugins are loaded from.
2025-10-23CMakeLists.txt: make sure settings.kcfg are sharedMéven Car
Between all dolphinprivate library users. So that the KConfigSkeleton singleton have unique instances accross libraries bounds. To fully fix the bug, make sure to save the modified file to disk. BUG: 368121
2025-09-25SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-09-23GIT_SILENT: Don't duplicate headers between .h/.cppLaurent Montel
2025-09-22itemactions: Add context menu actions to hide and unhide files using .hiddenKostiantin Korchuhanov
Summary: This patch introduces context menu actions that allow users to hide or unhide selected files by editing the .hidden file in their parent directories. What this patch does: - Implemented HideFileItemAction plugin based on KAbstractFileItemActionPlugin - Plugin is disabled by default unless explicitly enabled in kservicemenurc via the hidefileitemaction key - "Hide" action adds selected file names to the .hidden file, avoiding duplicates - "Unhide" action removes selected file names from the .hidden file - Action visibility logic: - If only visible or only hidden files are selected, only the relevant action is shown - If both are selected, both "Hide" and "Unhide" actions are shown - Write permission checks ensure actions are disabled if the .hidden file cannot be modified - Optimized redundant path computations by calculating parent directory and .hidden file paths once and reusing them
2025-09-15Don't store window size for ViewPropertiesDialogNicolas Fella
The dialog isn't resizable, so saving/restoring the size is pointless
2025-09-09SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-08-27Fix typo found by Inigo Salvador AzurmendiYuri Chornoivan
2025-08-26Warn when renaming a file would change its file typeKai Uwe Broulik
While the file's content won't change, applications may no longer recognize it.
2025-07-29settings: Fix memory leak in PanelSettingsPage constructorlzwind lzwind
Replace heap-allocated KFormat objects with stack-allocated formatter. No functionality change.
2025-06-17Add setting to select filename eliding behaviorGleb Kasachou
Introduces a setting in Content Display Tab that allows to choose how filenames are truncated when they do not fit in the maximum filename length, i.e elide. BUG: 504795
2025-05-28dolphinview: Add a dynamic view optionVictor Blanchard
Added a 'dynamic view' option, which allows to switch from a 'compact' or 'details' view to an 'icons' view if most of the files in the directory are images or videos. It reverts to the previous view mode when we switch to a directory which doesn't meet that criteria. The view mode is only changed once so users don't have to undo that for specific folders when they don't want icon view. A setting is added in the "Display style" section of the general view setting page. BUG: 491139
2025-04-29Clazy fixMéven Car
2025-04-28Delete leftover kconf_update scriptMéven Car
Amends 2f208662cbd604f879027d3cd633a5ce59182a4f NO_CHANGELOG
2025-04-24Delete old KF5-based kconf update scriptNate Graham
This already ran, and running it again would be incorrect, so just delete it.
2025-04-24Revert "Update kconf update script version to 6"Nate Graham
This reverts commit fc56f8f2f92b98ccb9a1da0ffcbb57d723dc33bb. By changing the version number, this script now runs again, but it doesn't need to since the change was already made on everyone's systems. Instead it should just be deleted.
2025-04-18Use dolphin icon for dolphin windowsKylie CT
intended as a fix for icon themes with different `org.kde.dolphin` and `system-file-manager` icons https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/3663#issuecomment-2798459480 Also noticed that it should also actually make the upcoming dolphin on the icon change apply in places where setting the icon is respected (title bar).
2025-04-17Update kconf update script version to 6Nate Graham
This allows it to run for people upgrading from an ancient version straight to the current one, and also prevents an error message about this from appearing in the journal log.
2025-04-16Add kconf_update to replace view_mode with view_settings in the toolbarJin Liu
2025-02-24Add smaller statusbar and set it as defaultAkseli Lahtinen
- Statusbar has three modes: Small, FullWidth and Disabled - FullWidth is the original statusbar - Small is the new default statusbar - This statusbar overlays on top of the items instead of taking space - It changes size according to content - Disabled turns statusbar completely off - Zoom slider and space information is only shown in full-width statusbar - Space information is now always on - If user navigates with keyboard, or scrolls to selection, the scrolling will take the statusbar into account - This makes sure the statusbar does not cover any items Related discussion: https://invent.kde.org/system/dolphin/-/issues/50
2025-02-03implement shortcut action for file creationChristian Schwarz
BUG: 462899
2024-12-29Mirror details view mode for right-to-left languagesFelix Ernst
This commit implements mirroring of the details view mode for right-to- left languages. This is the last of the Dolphin view modes which did not adapt to right-to-left languages correctly. Implementation-wise this is mostly about adapting the math so all the information is placed correctly no matter the view mode or layout direction. While most of the view actually changes the painting code for right-to-left languages, for the column header I decided to keep the logic left-to-right and instead reverse the order of the role columns. To implement this mirroring I needed to rework quite a bit of logic, so I used the opportunity to fix some bugs/behaviur quirks: - Left and right padding is now saved and restored separately instead of only saving the left padding - Changing the right padding no longer disables "automatic column resizing". - The grip handles for column resizing can now be grabbed when near the grip handle instead of only allowing grabbing when slightly to the left of the grip. - Role column headers now only show a hover highlight effect when the mouse cursor is actually above that role and not above the grip handle or the padding. - There is now a soft-boarder when shrinking the right padding so shrinking the padding "below zero width" will no longer immediately clear automatic resize behaviour. So now it is possible to simply remove the right padding by resizing it to zero width. BUG: 449211 BUG: 495942 # Acknowledgement This work is part of a my project funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology.
2024-12-14SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-11-25Switch to C++20Méven Car
2024-11-13FoldersTabsSettingsPage: Remove double cast, remove unnecessary variableAkseli Lahtinen
This uses only qobject_cast here, having static_cast after it is redundant. Also remove the topLevelWidgets variable, since we can just call the method instead.
2024-11-13generalviewsettingspage: Use qobject_cast instead of static_castAkseli Lahtinen
In generalViewSettingsPage, ActiveWindow is not necessarily a mainWindow, which can cause dolphin to crash. For example when user opens folder properties and then dolphin settings, this part thinks the folder settings is mainWindow. Instead of static_cast, use qobject_cast, since it will return nullptr if the DolphinMainWindow is not found. BUG:492741
2024-10-27ViewProperties: Store view properties in extended file attributesMéven Car
Existing settings are converted. Works on most FS except FAT/exFAT which fallback to .directory files. If the extended file attributes (in ADS in Windows) can't be saved, they are saved to file as before. BUG: 322922 You can see file xattr using for instance for Unix filesystems: getfattr -d /home/meven
2024-10-17Move settings category switcher to the top on mobileFelix Ernst
There is not enough horizontal space to show the full Dolphin settings window on the average phone. This commit saves some horizontal space by moving the category switcher in Dolphin settings from being a list on the left to being tabs on the top.
2024-08-30settings: Fix the Use Current Location buttonAkseli Lahtinen
During the Dolphin settings revamp (https://invent.kde.org/system/dolphin/-/commit/489b56b68bb29e81337e115c490eea4403001b71?) this QUrl had been forgot to add back so that the FoldersTabsSettingsPage knows what is the current url. This change checks for the main window of dolphin, then gets the URL of it whenever useCurrentLocation is called. However, when this is used as KCM, the button is not created, since there it doesn't make sense. BUG:491753
2024-08-28Make settings tabbar expandingCarl Schwan
Allow to use https://invent.kde.org/plasma/breeze/-/merge_requests/478 but even without the breeze MR, it look better and similar to what we do with other settings page.
2024-08-28SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-08-17Make FoldersTabsSettingsPage fully usable for blind usersFelix Ernst
This commit fixes keyboard navigation for the "Folders & Tabs" page in Dolphin's settings dialog. It also makes sure that the Orca screen reader reads out sufficient information for every widget that can get keyboard focus. These two groups of fixes together should allow basic usage of this settings page for users relying on keyboard controls and screen readers. One weirdness prior to this commit was that for checkboxes with a short group label in front and the full description behind screen readers would only read out the label and skip the explanation what the checkbox actually does. This commit fixes this by explicitly setting the accessible text for the label. In practice only reading out the explanation and skipping the label seemed sufficient and is implemented here, but more specific text could be provided using this mechanism if needed.
2024-08-16ContextMenuSettingsPage: Stop forcing focus onto search fieldFelix Ernst
Prior to this commit when switching between categories in Dolphin's settings dialog by keyboard, the focus would suddenly switch away from the category chooser when going over the "Context Menu" category. This meant that one couldn't move to the Trash category in a straightforward way but had to fight the focus change forced by Dolphin. This commit removes that forced focus change so the category can now be changed by keyboard as expected.
2024-08-16DolphinSettingsDialog: Move focus to Okay button lastFelix Ernst
This commit changes the Tab order in Dolphin's Configure dialog so that the items which are visually at the end of the dialog are also last in the keyboard focus order when cycling through the interface using the Tab key. Previously, the "Cancel", "Defaults", "Okay", and "Apply" buttons received focus prior to the actual contents of the pages which does not make sense from a workflow perspective. This change should also make navigating this dialog easier when relying on screen readers because reading those buttons out prior to users even having a chance to change any setting did not make any sense.
2024-07-20PreviewSettingsPage: fix a warning: Attempting to add a layout...Méven Car
2024-07-19SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-28SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-26Preview settings: Improve msg about network usageNicolas Semrau
This makes the explanation a bit less jargonistic. While I rose the issue on Nate's TWIK blog, Sergey Katunin (@sgakerru) came up with the final wording of this change. Thanks!
2024-05-13previews: Add `EnableRemoteFolderThumbnail` optionSergey Katunin
This option allows to enable preview for locally mounted remote folders Setting was added in kio: frameworks/kio/#c7d6ff8f218a0c063f762bd236453a7ae00b817e
2024-05-11Add "Act as Administrator" toggle actionFelix Ernst
This commit adds an "Act as Administrator" toggle action to the View menu if kio-admin is installed. The action allows switching between acting as an admin with root-access or not. This was already possible in Dolphin when kio-admin is installed by editing the location bar directly. However this is somewhat unintuitive and there are no warnings at all about the dangers of acting as an administrator. This commit adds a warning dialog when triggering the action. It is somewhat explicit about the risks because this is in fact very dangerous. Furthermore, while acting on a view with administrative privileges, a bar above the view shows up that contains a warning. The bar can be closed to stop acting with elevated privileges. The warning dialog can be disabled and re-enabled from the Dolphin settings but only if the action is even available. There is a lot more to be done to further improve this feature both security-wise as well as when it comes to usability. But considering that we are already encouraging users to use this feature without any warnings at all, I feel like now is a good time to merge this. This work is part of a project funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology. As such, please contact me if you plan on doing related work so what you are doing doesn't collide with work I am being funded to do.
2024-05-08view: Add setting to trigger user set action with double clickGeorge Florea Bănuș
Default action is select-all.
2024-05-07settings: use QFormLayout for confirmation tabMéven Car
For consistency.
2024-04-02Mark servicemenu items' KNS content as riskyNate Graham
By design, these items will run arbitrary shell scripts on the user's machine. That makes them security-sensitive and risky. Mark them accordingly so the user is informed of the risk. Depends on https://invent.kde.org/frameworks/knewstuff/-/merge_requests/309
2024-03-27Touch up various user-visible stringsTem PQD
This improves consistency among wording. More clarity is achieved by avoiding technical terms or terms with multiple meanings. Notable changes: -Specify full settings path: "Configure Dolphin > View > General" in Show Hidden Files whatsThis -Mention setting to hide files with application/x-trash MIME type in "Show Hidden Files" whatsThis -Mention Split View mode in "Copy/Move to Other View" whatsThis -Reword "Activate Tab" actions to "Go to Tab" (Next, Previous, Last, numbers) -Add "Last Tab" iconText, consistent with "Next Tab" & "Previous Tab" -Update Split View whatsthis to explain how to tell which view is "in focus" visually -Replace "pane" with "view" in split view settings text, and clarify tooltip text -Reword "objects" to "items" in whatsThis texts -Reword "find bar" to "search bar" in Search button whatsThis text
2024-03-16Save 'Open Archives as Folders' settingNicolas Fella
This got lost in 489b56b68bb29e81337e115c490eea4403001b71 BUG: 474500
2024-03-15Add settings page for PanelsBenedikt Thiemer
For now this just includes the settings for the information panel. Prior to this commit the options for configuring the information panel were only exposed via right clicking the information panel. This was not discoverable enough. Our guidelines also state that much. See: https://community.kde.org/Get_Involved/Design/Frequently_Discussed_Topics#Context_menus_are_not_enough The settings page is missing the "Configure" button for the entries in the information panel, which can only be found in the context menu. This is because I thought it would be weird to move it to the settings page. (The "configure" button is used to select the entries for the information panel) BUG: 480243 FIXED-IN: 24.05
2024-03-12Enable custom view properties for special folders even if "remember for each ↵Jin Liu
folder" is off Special folders include: search, trash, recents, timeline Not including Downloads, although we have a custom view when "remember for each folder" is on. Rational: These folders really need the custom view. So even if the user selects a global view for all "normal" folders, s/he probably still want a custom view for special folders.
2024-03-07Add option to completely disable directory size countingNico Kreipke
Dolphin shows the size of directories by listing their contents, which for some users might cause unwanted load on the file system. Depending on the size of the subdirectories in question and how the storage is accessed, this might cause noticeable delays and even freezing. This commit adds a new option under "View -> Content Display" that enables users to set "Folder size:" to "No size", completely disabling directory size counting. Directory size counting is still enabled by default. As a third option for "Folder size" is added, the DirectorySizeCount boolean setting is replaced with a DirectorySizeMode enum setting. The old setting is migrated using a kconf_update script. FEATURE: 477187 GUI:
2024-01-17SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"