┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-08-06Revert "Disable Hidden Files Last sort by default"Heiko Becker
This reverts commit fd2203bb3925edb5d657d49a706e26ea736362d2.
2021-08-05Disable Hidden Files Last sort by defaultChris Holland
2021-08-05Configurable Show hidden files and folders last toggleGaston Haro
CCBUG: 241227 Revision: https://phabricator.kde.org/D29115
2021-08-04GIT_SILENT Update Appstream for new releaseHeiko Becker
2021-08-01Fix how --select treats filesJordan Bucklin
Previously, when passing file URLs with the --select option, Dolphin would open the file in its corresponding application, as well as opening an empty tab in Dolphin as if the file were a directory. This happens specifically when trying to restore a session. This commit prevents Dolphin from opening a file in an application and from opening an empty tab while passing the --select option, and selects the URLs instead. BUG: 436584
2021-08-01Fix width issues when un-maximizing DolphinFelix Ernst
Before this commit un-maximizing or to be more precise instantly changing the size of the window by a large amount could potentially change the width of the sidebars, the viewContainers and the window itself to unexpected/undesired widths. This happened because the spacing calculation is triggered when the primary ViewContainer is resized but at this point in time some of the other widgets, especially the secondary ViewContainer and the navigatorsWidget have generally not been resized yet. Therefore the width and spacing calculations are based on partly updated and partly outdated values leading to wrong results. This commit makes it so calculation of spacings is delayed until all widths have been updated. Yes, spacing probably should not have the power to resize the window but unfortunately the spacing can not be set to be less forceful when taking space because otherwise the UrlNavigators will take all space they can get with their QSizePolicy::MinimumExpanding. BUG: 430521 FIXED-IN: 21.08
2021-07-28Revert "Don't session-restore invalid paths"Nate Graham
This reverts commit c733b3aa9787a618a0ce5bb03b3fc731f5663b21. There are people who prefer the old behavior of session-restoring all paths including the ones which are currently inaccessible. The idea is that Dolphin is like a web browser; if a website is not currently available, the browser tells you that instead of silently discarding the URL and showing you the homepage. Doing this can be considered a form of data loss. In addition, the reason for the change was to prevent Dolphin from showing invalid paths on launch for unmounted removable disks, but that specific case was fixed separately by switching to ~ for any tabs/views that were showing locations on a just-unmounted removable disk. So you will never run into the problem if yo unmount a disk in Dolphin and then close it. Accordingly, let's revert the change because it causes more problems than it resolves. BUG: 439864 CCBUG: 427619 FIXED-IN: 21.08
2021-07-26Add break; to KItemListRoleEditor::keyPressEvent casesAlbert Astals Cid
2021-07-24[PlacesPanel] Remove horizontal scrollbarEugene Popov
This MR removes the horizontal scrollbar of the Places panel. For titles that don't fit in the panel, their elided versions will be used (i.e., with ...). BUG: 301758 (cherry picked from commit deaf5916f2f87d78825f33f2ba11475a24c9380f)
2021-07-16Fix placeholder label text within an empty folder in TrashJordan Bucklin
An empty folder within the Trash bin previously had the placeholder label "Trash is empty". This label should only appear in top-most Trash/ url, and "Folder is empty" otherwise. BUG: 439952
2021-07-13Ensure stable sort order when sorting by sizeChristian Muehlhaeuser
Folders with equal size caused the sort operation to become unstable, as the result of lessThan was non-deterministic. We need the fallback mechanisms at the bottom of the function to resovle the situation and provide a stable sort order. This also fixes expanding the contents of a folder into the wrong parent. BUG: 433247 FIXED-IN: 21.08
2021-07-09GIT_SILENT made messages (after extraction)l10n daemon script
2021-07-07GIT_SILENT made messages (after extraction)l10n daemon script
2021-07-05GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit f8838005d7fba29522605e26f71c0b68e25e54a0)
2021-07-04Reuse KFileItemActions instance during lifetime of dolphinAlexander Lohnau
With https://invent.kde.org/frameworks/kio/-/merge_requests/411 the plugin instances can be reused during the lifetime of the KFileItemActions object. This improves performance and also allows the plugins to emit errors, even if they run async.
2021-07-04contextmenu: Listen to new error signal from KFileItemActionsAlexander Lohnau
Task: https://phabricator.kde.org/T12164
2021-07-04Fix regex porting regressionElvis Angelaccio
QAbstractItemModel::match() under the hood uses QRegExp::exactMatch(), so with QRegularExpression we need to use anchoredPattern() on the pattern. Regression spotted by a failing dolphinmainwindowtest.
2021-07-04Port to new KActionMenu popup mode APIDavid Hurka
Use KActionMenu and KToolBarPopupAction::setPopupMode() methods instead of setDelayed() and setStickyMenu(). Are available since KF 5.77 and KF 5.78 respectively, which is already required by Dolphin.
2021-07-04Port away from deprecated enumElvis Angelaccio
We already require Qt 5.15
2021-07-04Drop unused listElvis Angelaccio
Spotted by clazy. GIT_SILENT
2021-07-04Add support for hover sequence thumbnails (via ThumbSequenceCreator)David Lerch
This shows a slideshow of thumbs when the user hovers a file item.
2021-07-04InformationPanel ensure to have a showUrl when no items are selectedMéven Car
2021-07-04Drop unused includeElvis Angelaccio
GIT_SILENT
2021-07-04Port konsolepart loading to use KPluginLoader directlyNicolas Fella
No need to go via KService
2021-07-04SVN_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"
2021-07-03Remove unused includesNicolas Fella
2021-07-03Use KNewStuff3 as group key in knsrc fileAlexander Lohnau
The other key was used during the transition from KDE4->KDE5 and makes no difference when the config file is read
2021-07-03Remove deprecated and defunct KNewStuff propertiesAlexander Lohnau
2021-06-30Remove go action for settings kio slaveAlexander Lohnau
The settings kio slave is about to be removed, see https://invent.kde.org/network/kio-extras/-/merge_requests/107.
2021-06-29Show a "Loading..." placeholder textMufeed Ali
Since a placeholder text is being used when the folder is empty, it also makes sense to show a similar placeholder text when the view is still loading, especially now that the status bar which previously contained a loading indicator now disappears when a folder is loading.
2021-06-27KFileItemModel: Allow to group files and folder togetherMéven Car
When folders size is available and unless sort dir first is set, folders and files can be grouped together in the regular size groups. Without this you can end up with multiple groups being added each time a folder size alternates with a file size. Relates to d520b417c97bdbdfece2a497dac8b5384a80b597
2021-06-22Merge branch 'release/21.04' addendumFelix Ernst
This should have belonged to my previous merge 480b3067d25e4b49ea55285313a7c10e93f98ffd but somehow I managed to miss this one line. It was written by Derek Christ as part of dc3beae3ab2c55cd3501e17f93b51e93e876a177.
2021-06-22Merge branch 'release/21.04'Felix Ernst
2021-06-22Fix shift-action modifier in context menuDerek Christ
Before this patch, the shift-action modifier in context menus did not work when a sub-context menu is open, that does not have the main context menu as its parent. The new fix installs an event filter on QApplication whenever a new context menu is opened to make the context menu aware of shift-presses even when a sub-context menu is in focus. BUG: 425997 FIXED-IN: 21.04
2021-06-18Fix X-DocPath entriesAhmad Samir
This way they're more correct, which means they can work with KHelpCenter and when falling back to opening the relevant page at docs.kde.org in any web browser. See https://invent.kde.org/graphics/okular/-/merge_requests/441 for more details. (cherry picked from commit 5e79f27aec817a44606e9e4f32b055d78eeb280c)
2021-06-18Fix X-DocPath entriesAhmad Samir
This way they're more correct, which means they can work with KHelpCenter and when falling back to opening the relevant page at docs.kde.org in any web browser. See https://invent.kde.org/graphics/okular/-/merge_requests/441 for more details.
2021-06-18GIT_SILENT made messages (after extraction)l10n daemon script
2021-06-14GIT_SILENT made messages (after extraction)l10n daemon script
2021-06-13GIT_SILENT made messages (after extraction)l10n daemon script
2021-06-12Remove the filter action from the toolbarFelix Ernst
This commit removes the "toggle_filter" action from the default toolbar configuration. It is not quite important enough to be always visible on the toolbar by default. Instead it is easily accessible through the hamburger menu and the menu bar. The filter is only really necessary if one has a lot of items in the current location and one knows exactly how to identify a certain item among them by the name which probably isn't how most people browse their files. There are also some more advanced use-cases but advanced users will be able to either learn the keyboard shortcut or move this action back to the toolbar.
2021-06-08Add "Sort By" to the hamburger menuFelix Ernst
People seem to use the "Sort By" menu often enough that it should be available through the hamburger menu. Before this change one could only sort the view through the right- click context menu, using the details view mode or by using the actions from the menu bar.
2021-06-08GIT_SILENT made messages (after extraction)l10n daemon script
2021-06-06GIT_SILENT made messages (after extraction)l10n daemon script
2021-06-05GIT_SILENT Update Appstream for new releaseHeiko Becker
2021-06-05GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 10a00022778c43247036d4de1ceeb582f7da96ec)
2021-06-04Add SortOrderForUrl method to DBus interfaceMarco Martin
adds a method to ask what's the sorting strategy (column and order) for a particular Url, as Dolphin can have directory-specific sorting strategies This makes possible for other apps that have lists of files, like Gwenview to use the same sorting when invoked from dolphin, ie opening an image CCBUG:236059
2021-06-04GIT_SILENT made messages (after extraction)l10n daemon script
2021-06-03Tell translators to leave the ' aloneAlbert Astals Cid
2021-06-03Add tooltip to Empty Trash button inside TrashShubham
2021-05-31Use more target-centric cmake codeFriedrich W. H. Kossebau
GIT_SILENT