┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-12-20Remove duplicate headers between cpp/h filesLaurent Montel
2022-12-12Ensure there's a dot at the end of each --help options descriptionivan tkachenko
It will help make --help output more uniform, which in turn will be used in Tab-completions for zsh.
2022-11-30DolphinView: Add placeholder label for AFC kioKai Uwe Broulik
Similar to how it's special-cased for MTP
2022-11-30GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 37db7aeaa325fbe418959cc7bc57cd6906d79ea1)
2022-11-29Exit the deleted directory when it is removedMéven Car
If current directory is a local file, try to find nearest dir ancestor and open it. Display warning to the user.
2022-11-29Places Panel: Delegate open file error to KIOKai Uwe Broulik
This functionality is now provided by `KFilePlacesModel` as long as you tell it to do the teardown rather than calling into the device yourself.
2022-11-28Port away from deprecated KDirLister APINicolas Fella
2022-11-25Fixed build-time deprecation warning about KStandardGuiItem::yes()Shivodit Gill
While building dolphin, a warning comes up about KStandardGuiItem::yes() being deprecated, and that another action verb should be using instead. This commit fixes the warning by replacing KStandardGuiItem::yes() with a KGuiItem constructor in the file src/views/dolphinview.cpp. The icon for the "Rename and Hide" button has also been changed from a check mark (dialog-ok) to an eye with a cross (view-hidden) to make the button look more unique and grab the attention of the user.
2022-11-23Use \r to terminate command in integrated terminalHaozhe Jiang
\r should be used instead of \n BUG: 458411
2022-11-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"
2022-11-06SVN_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"
2022-11-06GIT_SILENT made messages (after extraction)l10n daemon script
2022-10-30GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 98ec3e98a0e515360974ca347f99c3c191489429)
2022-10-27Fix view mode-specific settings not always applyingFelix Ernst
When the current view mode is different from the view mode for which settings were changed in Dolphin's settings dialog, those changes were sometimes not present when then changing the view mode of a view to the view mode for which settings were changed. This commit fixes this by always loading the settings for all view modes in the DolphinItemListView even if the view is currently using only one of those view modes.
2022-10-27Change the full row highlight checkbox to radiobuttonsFelix Ernst
This commit changes how the setting to switch between full row highlight and the old way of only having the icons and names be activatable in details mode is presented on the settings page. Before this commit a singular checkbox is used that talks about the highlight effect. But the highlight effect isn't actually what users should be interested in. They mostly care how much of the area can be used to activate an item. To make this clear this commit uses radio buttons instead that give a distinctive choice between activation areas.
2022-10-27Make details column text readableFelix Ernst
When not using the full row highlight, the text of non-name columns in details view mode was wrongly colored in a way that pretended that the full row selection highlight was active. When it isn't active we use the normal color that we generally use when the additional information is not within the selection highlight.
2022-10-27Make details view mode's full row activation optionalFelix Ernst
In d3839617193e92463806580699caa595c892b8a6 the details view mode was changed in a way that made the full row of an item the click target instead of only having the item's icon and text be the representative clickable area of an item. This commit makes this new behaviour optional through a setting which can be changed in Dolphin's settings dialog. The explanation for introducing yet another setting in this case is as follows: While the introduced change is an improvement for many typical workflows, there are some workflows for which this new behaviour is problematic. Quite prominently a usage of Dolphin that tries to maximise information density is made worse by the change because now side padding is necessary to click the view's background. While the side padding is and was optional, disabling it made switching the active view in split view mode more difficult among other things. For a more complete discussion about the issues, please check out the bug report(s) and the discussion in Dolphin's gitlab issue with number 34. Co-authored-by: Ivan Čukić <[email protected]> BUG: 453700 FIXED-IN: 22.12
2022-10-20SVN_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"
2022-10-20GIT_SILENT made messages (after extraction)l10n daemon script
2022-10-19Fix build with older KF versionsAhmad Samir
GIT_SILENT
2022-10-16Fix compile against qt6.4Laurent Montel
"error C2397: conversion from 'qsizetype' to 'int' requires a narrowing conversion"
2022-10-16Port away from deprecated KIO APIAhmad Samir
2022-10-16DolphinTrash: port away from deprecated KIO APIAhmad Samir
Also change empty() method to return void, nothing was using the KJob * it was returning.
2022-10-15Fix dismiss button in selection mode paste barFelix Ernst
This one liner changes the signal that is emitted when the "Dismiss" button is pressed on the Paste bottom bar in selection mode. Before this commit, the `leaveSelectionModeRequested()` signal was used but it had no effect because technically the selection mode isn't active anymore when the paste bar is shown. Everything works as expected if instead `barVisibilityChangeRequested()` is emitted.
2022-10-15Port away from deprecated KMessageBox Yes/NoFriedrich W. H. Kossebau
GIT_SILENT
2022-10-14Fix Wayland window activation when attaching to an existing instanceNicolas Fella
The application launching Dolphin passes a token via the XDG_ACTIVATION_TOKEN environment variable We need to pass that to the running instance so that it can use it to raise itself
2022-10-12fix opening new windows unnecessaryAndrey Butirsky
fixes a regression introduced by https://invent.kde.org/utilities/ark/-/merge_requests/44 BUG: 440663
2022-10-12Remove unused includesLaurent Montel
2022-10-11Rename variableFelix Ernst
Based on code review feedback by Andrey Butirsky.
2022-10-11Add helper methods to tab widget for view containersFelix Ernst
This commit introduces the private getter DolphinTabWidget::viewContainerAt(ViewIndex) and another private method DolphinTabWidget::activateViewContainerAt(ViewIndex). Both methods return nullptr if there is no valid DolphinViewContainer at the specified ViewIndex.
2022-10-11Fix item highlighting through DBusFelix Ernst
Before this commit, even items that are distant children of currently open views were considered selectable. This lead to the bug that items meant to be highlighted through DBus would not be highlighted if any ancestor of the item was open in any view. This was fixed by only considering items in view if they can be seen by scrolling. Main difficulty here was to make this also work for the details view mode which allows expanding. To implement this cleanly, some refactoring seemed necessary because the logic to determine if an item is already in view was previously intertwined with the logic to identify already open directories. This commit also contains the following refactorings aiming to make the code more readable: - A magic value (-1) is replaced using std::optional. - A boolean trap is removed. - A QPair is replaced by a struct with named variables. - More and improved documentation
2022-10-11don't use const'ref here (found by clazy)Laurent Montel
2022-10-11Remove unused includeLaurent Montel
2022-10-11Use std::chrono_literalsLaurent Montel
2022-10-11Use QStringLiteralLaurent Montel
2022-10-11Use const'refLaurent Montel
2022-10-11Remove unused includesLaurent Montel
2022-10-11Show all includes in qtc6Laurent Montel
2022-10-11port to KIO::createDefaultJobUiDelegateLaurent Montel
2022-10-10GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 87d846346db042cc2dd562bbb6501c2310983066)
2022-10-08Replace context menu on long press with selection modeMarco Martin
on long touch (and not on mouse press) don't pop up the context menu anymore but enter selection mode, similar behavior to mobile applications. the full context menu is still available from the actions toolbar appearing in selection mode
2022-10-06DolphinTabBar: Open folder in new tab when dropped onto tab barKai Uwe Broulik
2022-10-06DolphinTabWidget: Allow specifying new tab position in openNewTabKai Uwe Broulik
2022-10-02Remove superfluous setData callKai Uwe Broulik
It's done by urlNavigatorHistoryAction already
2022-10-02terminal: Clear line using escapes instead of SIGINTJohn Brooks
Sending SIGINT can be destructive, for example if we interrupt the loading of the shell init files (e.g. .bashrc) and clobber history preservation settings. Follow the example of Kate and send a Ctrl-E Ctrl-U to clear the prompt instead. BUG: 279614 Signed-off-by: John Brooks <[email protected]>
2022-09-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"
2022-09-26Add missing include (needed for building qt6)Laurent Montel
2022-09-26Remove unused includesLaurent Montel
2022-09-24GIT_SILENT made messages (after extraction)l10n daemon script
2022-09-23Increase code coverage of places panel width resistance testFelix Ernst
Improve the test by also testing the various selection mode bars. No combination of bars should lead to a resize of the paces panel. This commit also helps with increasing code coverage by making all possible selection mode bars appear.