┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2024-03-16Save 'Open Archives as Folders' settingNicolas Fella
This got lost in 489b56b68bb29e81337e115c490eea4403001b71 BUG: 474500
2024-03-16SVN_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-03-16GIT_SILENT made messages (after extraction)l10n daemon script
2024-03-15GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 8b7ae959be5b1cf8ad5c6a199d318c3e9cb9650a)
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-14Adapt testOpenInNewTabTitle() to upstream changeFelix Ernst
Prior to this commit the test failed because it expected a generic "inode-directory" icon for directories like "home" or "tmp" even though we have more specialised and nicer icons for these directories. I assume the test only used to pass because we were actually always using generic and therefore unhelpful icons for tabs. This commit removes the hard-coded expectation of the "inode-directory" icon and instead compares the tab icon with the return value of KIO::iconNameForUrl(tabUrl).
2024-03-13Sync Dolphin icon with Breeze system-file-managerKai Uwe Broulik
The upstream Breeze variant colorizes based on the user's color scheme which was lost when Dolphin switched to using its org.kde.dolphin icon. BUG: 482581 FIXED-IN: 24.02.1
2024-03-13Animate most of the barsFelix Ernst
When a bar is toggled visible this usually happens because the user might want to use its functionality now. However, if bars appear without animation or at a location the user is not currently looking at, they might not notice that they have appeared at all. An animation makes it more likely that the user notices the change and can then use the newly made visible component. Another reason for animations for showing or hiding of components is that it can be disorienting for users when panels or bars suddenly appear or disappear without animation. There is no visible movement then, so the user might not know what happened if they didn't concentrate or blink at that moment. The newly appearing or disappearing component might also displace other components which can make it difficult to find what one was just looking at. These bars animate now after this change: - Search panel - Filter bar - Status bar This is implemented by extracting the animation code from SelectionMode::TopBar into a new abstract base class AnimatedHeightWidget. This class is now also used in SelectionMode::BottomBar and the animating code there was removed. These bars are left in Dolphin that stay without animation: - Menu bar (Would probably need to be implemented in KXmlGui) - Tool bar (Would probably need to be implemented in KXmlGui) - Tab bar (Needs a different appraoch because it already inherits QTabBar and therefore can not inherit AnimatedHeightWidget)
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-09KItemListController::onPress: remove unused screenPos argumentMéven Car
NO_CHANGELOG
2024-03-09dolphinmainwindow: Fix ordering warningMéven Car
NO_CHANGELOG
2024-03-09Handle deprecation of QGuiApplication::paletteChangedMéven Car
NO_CHANGELOG
2024-03-08Remove unneeded code for toggeling dockwidget visibilityNicolas Fella
QDockWidget::toggleViewAction::toggled is emitted when minimizing the application window on X11 (https://bugreports.qt.io/browse/QTBUG-48161 potentially related). This will cause the dockwidget to be hidden when minimizing the window. We don't actually seem to need that connection, triggering the action (via shortcut or menu) seems to correctly show/hide the dockwidget without it BUG: 481952
2024-03-08Start autoActivationTimer only if hovering over a directoryAkseli Lahtinen
Before starting autoActivationTimer, check that we're hovering the item on top of a directory. If we don't check for it, the the autoActivationTimer will try to open the hovered item in it's default application, which can be distracting and break the actual action the user was trying to do, like moving the file to a directory. BUG:479960