┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-09-21SVN_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-21GIT_SILENT made messages (after extraction)l10n daemon script
2022-09-15Trigger "Exit Selection Mode" button on clicked and not on pressedFelix Ernst
This way it works just like every other button. This commit also removes two empty files that sneaked in by accident.
2022-09-15Improve selection action toggle codeFelix Ernst
@broulik noticed an issue in the code. This commit fixes it. ------------------- Before this commit there was a `QObject::disconnect` call that did nothing (because it had `nullptr` as the first parameter) and there was a `QObject::connect` call that created the same connections multiple times because of this. This had no effect on end users. However such code can lead to issues in the future e.g. if we ever had a situation in which the selection mode could be toggled for an inactive view container. This commit solves this by replacing the `QObject::disconnect` call with one that works. The `QObject::connect` call is moved so there won't be multiple connections of the same type.
2022-09-15[dolphinview] Disconnect modelChanged when destructingFelix Ernst
Deleting DolphinView deletes KItemListContainer, which deletes KItemListController, which emits modelChanged, which causes a signal delivery to the already destroyed DolphinView This is never good, and in Qt6 causes an assert (https://codereview.qt-project.org/c/qt/qtbase/+/381860). Co-authored-by: Nicolas Fella <[email protected]>
2022-09-09Change "OpenExternallyCalledFolderInNewTab" to false by defaultEric Edlund
2022-09-06GIT_SILENT made messages (after extraction)l10n daemon script
2022-09-02GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 4986d7c8dfab615e6ce0d7412c3b1c5bbfc08cae)
2022-08-27This commit removes the ability to enter selection mode byFelix Ernst
click-and-holding with a pointing device like a mouse. This functionality was originally implemented because it seemed useful to save users the effort of entering selection mode explicitly by using its corresponding action. However, click-and-holding to trigger anything is not really an expected behaviour. (This contrasts with touch devices where press-and-holding is common to trigger something.) Aside from the above reasoning, the click-and-hold behaviour was also buggy so that selection mode was entered in a couple of situations that weren't strictly about click-and-holding. So this commit removes the functionality and the bugs. BUG: 457973 BUG: 458129 CCBUG: 457975
2022-08-24Don't show error message on ERR_USER_CANCELEDKai Uwe Broulik
There's no point telling the user what they just did. After https://invent.kde.org/frameworks/kio/-/commit/f192c133eb01bc8448d5ddd97fe20f8e6dbc467d this error has a text associated with it, so it might show up in the UI.
2022-08-23GIT_SILENT: Terminal=false is default value. Not necessary to keep it in ↵Laurent Montel
desktop file
2022-08-22InformationPanel: better refresh state when current dir changesMéven Car
Refactor and simplify things along the way. BUG: 457813
2022-08-22Places Panel: Don't show error message on UserCanceledKai Uwe Broulik
There's no point telling the user what they just did
2022-08-22GIT_SILENT made messages (after extraction)l10n daemon script
2022-08-21Fix sorting by file extensionEugene Popov
Folders don't have extensions
2022-08-21SVN_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-08-18Clean up code that became redundant through framework changesFelix Ernst
There were two changes in framework that triggered this commit: KHamburgerMenu and KToolTipHelper. When the Dolphin-specific hamburger menu was replaced by KHamburgerMenu, I didn't clean everything up correctly. Not anymore! Help texts also weren't updated accordingly. This commit replaces any mention of the old hamburger menu which was called "Control" with text that reflects the current application state. The other framework change "KToolTipHelper" takes responsibility for opening links in help texts. So we won't need code to do this in Dolphin anymore. This means we can also get rid of some duplicate help texts which only existed because links didn't work correctly in some places.
2022-08-15Don't include `iconOverlays` in rolesData if it is emptyKai Uwe Broulik
If this role isn't in the model yet, it would be `QVariant::Invalid` which is obviously a distinct type from an empty string list. This means `KFileItemModel::setData` treats them non-equal and potentially does expensive operations on the model, which is called every time a role is resolved in `KFileItemModelRolesUpdater`. With this change, the number of pointless layout calculations is significantly reduced.
2022-08-14Add "Invert Selection" and "Select All" to bottom barFelix Ernst
In selection mode, a bottom bar with contextual actions appears when at least one item is selected. This commit makes it so this bottom bar also contains the "Invert Selection" and "Select All" actions so users have more complete control over changing what is and isn't selected while in selection mode.
2022-08-14Simplify implementation of mouse long-press detectionFelix Ernst
Now uses the same method as for touch long-press detection.
2022-08-14Don't show selection toggle areas on files while in selection modeFelix Ernst
2022-08-14Address Nate's UX feedback: Episode 2Felix Ernst
- Make Esc leave selection mode and have it only clear selection when already outside selection mode. - Let translators know that the "More" overflow button should only have a short text on it. - Fix a crash that happened when any code tried to exit selection mode even though selection mode had never been enabled to begin with.
2022-08-14Address Nate's UX feedbackFelix Ernst
-More labels -More icons -"Abort" -> "Cancel"
2022-08-14Make touch tap to select items work in selection modeFelix Ernst
Thanks to Steffen Hartleib for the help.
2022-08-14Improve naming consistency and leave mode on EscapeFelix Ernst
2022-08-14Improve code qualityFelix Ernst
2022-08-14Better separation of classesFelix Ernst
Make obvious when actions trigger selection mode.
2022-08-14Keep working towards a reviewable stateFelix Ernst
- Various code improvements - Smoother animations - The bottom bar in General Mode only becomes visible if items are currently selected - Removed the selection mode action from the default toolbar since it can already be toggled in various ways - More documentation - Some cleaning
2022-08-14Add Selection ModeFelix Ernst
The selection mode action is a checkable toggle action named "Select Files and Folders" which has "Space" as the default shortcut. In selection mode a bottom bar with contextual actions is shown. These should mostly mirror the actions which are available through the right-click context menu aka DolphinContextMenu. Resizing of the window might make a overflow button appear in the bottom selection mode bar. This commit makes press and hold in the view activate selection mode. This behaviour is not triggered if the press and hold is used to either start a rubberband selection or a drag operation within a short time. The length of the short timeframe is defined by a QStyleHint. This is currently not implemented in touch because I can't test it. Mix the selection mode bars' background colors using a nice combination of colors from the current color scheme BUG: 427202
2022-08-10GIT_SILENT Update Appstream for new releaseAlbert Astals Cid
(cherry picked from commit c9ab65174bd8b568c27e3366b5a0e27a112f5a51)
2022-08-05Update copyright and maintainership infoElvis Angelaccio
2022-08-03SVN_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-08-01Install dolphinpart actions as standalone fileAlexander Lohnau
This will allow Konqueror to use it without relying on the KPart being loaded using KService
2022-07-30Remove service type file for vcs pluginsNicolas Fella
We don't support old-style plugins any more, so no need to install this
2022-07-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"
2022-07-23SVN_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-07-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-07-18Remove references to KServiceTypeTrader in commentsNicolas Fella
2022-07-18Remove unused includesNicolas Fella
2022-07-18KItemListHeaderWidget: Use QHeaderView fontKai Uwe Broulik
Makes it consistent with "real" tab widgets.
2022-07-15SVN_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-07-14Port from KNewFileMenu::setPopupFiles to KNewFileMenu::setWorkingDirectoryNicolas Fella
The former is deprecated
2022-07-13Add "Show statusbar" menu entry in "Settings"Kai Uwe Broulik
Makes this setting more accessible and makes it consistent with other KDE applications. Since Dolphin has a separate status bar on each view container and doesn't use kxmlgui's statusbar, we don't get this menu entry automatically.
2022-07-13Open >5 terminals dialog: use action terms instead of Yes/No buttonsFriedrich W. H. Kossebau
Yes/No buttons in dialogs are discouraged (not only) by KDE HIG in favour of actions terms.
2022-07-13Open >5 items dialog: use action terms instead of Yes/No buttonsFriedrich W. H. Kossebau
Yes/No buttons in dialogs are discouraged (not only) by KDE HIG in favour of actions terms.
2022-07-13SVN_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-07-11portalize drag urlsHarald Sitter
this enables sandboxed application to receive drop events
2022-07-10SVN_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-07-09dolphintabwidget.cpp piority of boolean operatorsMarius P
Fix PVS-Studio issue "warning: V648 Priority of the '&&' operation is higher than that of the '||' operation.". Fix clangd issue.
2022-07-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"