┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-05-17GIT_SILENT made messages (after extraction)l10n daemon script
2024-05-17GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 3e59d49a483e2cdb232f15a54ae5cce931b60b46)
2024-05-16GIT_SILENT made messages (after extraction)l10n daemon script
2024-05-14GIT_SILENT made messages (after extraction)l10n daemon script
2024-05-13UrlNavigator: show a "lock" icon after the breadcrumb for read-only dirJin Liu
2024-05-13use proper icon set and style outside of PlasmaChristoph Cullmann
the framework functions used will setup the proper icon set and re-coloring and style to use details see https://invent.kde.org/frameworks/kiconthemes/-/issues/3
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-11Check if namejob is already being run before opening new createDirectory dialogAkseli Lahtinen
This is a fix for a bug where in network views (or otherwise slow systems), pressing `Ctrl+Shift+N` multiple times opens multiple popup windows and thus causes a crash when any of the popups is interacted with after closing the topmost one. The problem is not the crash with popups themselves, but that we're opening multiple popups in the first place. In regular views this works fine, since the `nameJob` does not take long time at all and only one popup opens, immediately blocking the shortcut. In network views, the `nameJob` seems to take a while to run, since it is loading info from network. If user spams `Ctrl+Shift+N` shortcut in frustration, it starts more `nameJob`s and eventually when those jobs are done, it opens multiple popups. This code checks that if we're already running a `namejob`, we're very likely waiting for the `createDir` popup to appear, so we don't do anything until there is no more `nameJob` running. I've tested that it works in both network and regular Dolphin views. BUG:481401
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-05-04DolphinView: Update selection on newly created item(s)Anthony Fieroni
Adjust paste to url to new KF6 signals BUG: 476670 Signed-off-by: Anthony Fieroni <[email protected]>
2024-04-30Fix usage of ecm_add_app_iconCarl Schwan
The DESTINATION and THEME arguments are non existent and as such this breaks the macOS builds and create warnings for the other platforms.
2024-04-24GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-22GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-19GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-18Add branding colors for FlathubFelix Ernst
This is needed or they definitely won't feature us. The light blue color is chosen because it is vibrant and fits the association with "Dolphin". The very dark color is chosen to still have a good contrast with the Dolphin icon even though it is already quite dark at the top left corner. For more information see: https://docs.flathub.org/blog/introducing-app-brand-colors/
2024-04-17Fix crash while entering selection mode with Qt6.7Felix Ernst
`deleteLater()` on a non-existing object seems to cause a crash with Qt6.7. This makes some sense but wasn't the case previously. I didn't test this yet but it is a harmless change so if anyone can confirm we can IMO merge directly. This was brought up in https://invent.kde.org/system/dolphin/-/merge_requests/764#note_920935, reported in the bug linked below, and the sentry crash reporting page also has a few dozen reports (https://crash-reports.kde.org/organizations/kde/issues/13589/?project=4&query=is%3Aunresolved&referrer=issue-stream&stream_index=1). Dolphin 24.02 is also affected but we are already past the last bug fix release for it. BUG: 485599
2024-04-17GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-16GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-15GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-14GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-13GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-12GIT_SILENT made messages (after extraction)l10n daemon script
2024-04-11viewproperties: remove now obsolete recentdocument referenceMéven Car
2024-04-11Improve appstream summaryCarl Schwan
Use verb
2024-04-11DisabledActionNotifier: Prevent null dereferencesJoshua Goins
This prevents a crash on startup where it tries to delete a null QShortcut because it didn't check if the QShortcut actually exists in the QHash. BUG: 485089
2024-04-09Fix saving sort role after change from headerFelix Ernst
This is a partial revert of 5186f09cabf0af4b0683e75b0bcde1061f84a67e. That commit tried to simplify code, however this lead to the saving of view properties being skipped, introducing the linked bug. The issue is that by the time the slotSortRoleChangedFromHeader() method is called, the model already changed its sort role. Therefore the check if the new role is identical to the old sort role fails and no saving would occur. With this partial revert the header will continue to change the sort role itself (which allows a minor optimization of not double sorting when also changing the sort order at the same time). The method slotSortRoleChangedFromHeader() is then only responsible for saving that change in the ViewProperties and telling the SortBy menu in the user interface that the sorting has changed. BUG: 480246
2024-04-08GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 6c0062039284aa117fcde92b97002143aa905c77)
2024-04-06Change "Could not" to "Cannot" in error messagesJin Liu
To align with KIO
2024-04-05KItemListController: don't create rubber band for a right click in an empty ↵Amol Godbole
region Rubber band was being incorrectly created for a right click in an empty region. Handle this case in KItemListController::onPress(). BUG: 484881
2024-04-04versioncontrol: make observer the sole owner of pluginsMéven Car
Also properly shutdown thread.
2024-04-04kitemlist: don't open dir when double-click on expand arrowMéven Car
BUG: 484688
2024-04-03DolphinMainWindow: show a banner when the user presses the shortcut of a ↵Jin Liu
disabled action Currently, there's no feedback when the user presses a shortcut of a disabled action, e.g. cut / paste in a read-only directory. This patch shows a banner in that case. It's implemented by enabling a QShortcut for each disabled action. the QShortcut is deleted when the action is enabled again. The following actions are included: cut paste rename moveToTrash deleteWithTrashShortcut deleted createDir copyToOtherView moveToOtherView
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-30Fix layout in Compact View mode for RTLEugene Popov
This MR fixes the layout in Compact View mode when items are grouped.
2024-03-30Fix selection marker for RTLEugene Popov
This MR makes the selection marker to be shown on the right in RTL mode.
2024-03-30Contextmenu: add a separator before vcs actionsMéven Car
2024-03-28Also use breeze style on macOSMéven Car
2024-03-28Use breeze style on Windows Julius Künzel
Most KDE apps to the same
2024-03-28Add comment to explain KColorSchemeManagerFelix Ernst
2024-03-28KColorSchemeManager only on Windows and macOSJulius Künzel
2024-03-28Use KColorSchemeManager Julius Künzel
Fixes the dark theme on Windows
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-27Better support for RTLEugene Popov
This MR fixes some issues related to RTL scripts: - wrong layout in Compact View mode - broken horizontal scrolling in Icon View and Details View modes - broken navigation with left and right arrow keys in Details View mode BUG: 484012 BUG: 449493
2024-03-25Fix right-mouse click crashes on WindowsJulius Künzel
2024-03-24versioncontrol: Prevent a use-after-free in UpdateItemStatesThreadMéven Car
UpdateItemStatesThread kept a pointer reference to m_plugin whose lifetime was tied to VersionControlObserver parents. On application shutdown it could happen the thread is still running when the Observer is destroyed. Make the plugin pointer a weak reference, allowing to stop the thread when the plugin is gone. BUG: 477425
2024-03-23Avoid wrapping text in the status barEugene Popov
The size of the status bar isn't intended to display multiline text.
2024-03-23KItemListView: Improve scrollToItem()Eugene Popov
Prevent an item with a long name from scrolling to the right edge when navigating in Compact View mode.
2024-03-18DolphinContextMenu: Add hint that secondary app will be opened by middle clickKai Uwe Broulik
Displays it in the menu like a keyboard shortcut. Otherwise nobody will ever find this feature.