┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-01-18Resize the split button when the menu is removedLoren Burkholder
2024-01-18Remove the menu from the split button when splitscreen is closedLoren Burkholder
2024-01-18Remove popout action from toolbar when split screen is closedLoren Burkholder
It's pointless to show the popout action when splitscreen is closed, so we'll remove it as a child of the splitscreen action whenever the screen is not split.
2024-01-18Use a separate menu action for split view actionJoshua Goins
Now that it's a KMenuAction, it becomes impossible to trigger the root action when it's in a menu. To work around this, we create a new action that mirrors the state of the original. It also takes the default shortcut.
2024-01-18Move popout action into split action dropdownLoren Burkholder
2024-01-18Follow the setting for which view to closeLoren Burkholder
2024-01-18Always update the split view buttonLoren Burkholder
2024-01-18Use better description for pop out actionLoren Burkholder
2024-01-18Allow popping out a split viewLoren Burkholder
If you have a split view open, you can now pop the active half out into a new window by clicking the "Pop out" button in the toolbar or by activating "View > Pop out". BUG: 270604
2024-01-17SVN_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-01-17GIT_SILENT made messages (after extraction)l10n daemon script
2024-01-16Fix: "empty folder" placeholder text eating mouse eventsJin Liu
BUG: 441070
2024-01-14Never emit the fileMiddleClickActivated signal if isTabsForFilesEnabled is trueStefano Crocco
Commit d27ee07d makes it impossible for applications embedding Dolphin part (for example, Konqueror) to react to middle mouse click on a file. If I understand correctly (I'm not familiar with Dolphin code) the `fileMiddleClickActivated` signal is connected with a slot in `DolphinViewContainer`, which is only used by Dolphin itself and not by `DolphinPart`. The result is that middle clicking on a file (except archives) from a Dolphin part has no effect. To avoid this situation, I removed the check for `!archiveProtocolIsEmpty()` in the `else if` condition. This way, if `isTabsForFilesEnabled()` is `true`, which should be true if and only if the view is inside a `DolphinPart`, the `activeTabRequested` or `tabRequested` signal will be emitted, allowing the embedding application to respond however it wants. When the view is inside the Dolphin application, instead, `isTabsForFilesEnabled()` will always be `false`, so the new behavior will be used.
2024-01-14DolphinMainWindowTest: Add unit test for autosave session featureAmol Godbole
Adds a simple test to check if session is autosaved when a new tab is opened.
2024-01-14DolphinView: Use SingleShot and Queued ConnectionsAmol Godbole
A minor refactor where Qt::SingleShotConnection has been utilized. Also, signal delay using QTimer has been replaced with a Qt::QueuedConnection.
2024-01-14DolphinMainWindow: autosave sessionAmol Godbole
Currently, the session is saved only when the app quits normally. Save the session after a fixed time interval from the last state change i.e. anytime the url is changed, or a tab is opened or closed, or the active view is changed. BUG: 425627
2024-01-13Add setting also hide application/x-trash files when hiding hidden filesMéven Car
BUG: 475805
2024-01-13Always automatically choose a new file name while duplicatingEugene Popov
Since now when duplicating items we automatically generate a name for the new item, we can do the same if an item with that name already exists. BUG: 475410
2024-01-13Fix: closing split view doesn't update tab nameJin Liu
BUG: 469316
2024-01-12Explain free space button usage in tooltipFelix Ernst
This is to make sure that users do not have to guess why they would want to press the button.
2024-01-10KItemListRoleEditor: Disable spellcheckingAkseli Lahtinen
No need for spellchecking when renaming folders/filenames. BUG:477897
2024-01-10terminalpanel.cpp: Set m_konsolePart to nullptr during exit signalAkseli Lahtinen
If Dolphin terminal is open, and one types `exit` there and then closes Dolphin, Dolphin crashes due to a dangling pointer. Konsole KPart is deleting itself when Konsole session exits, but Dolphin tracks it as a child of the Terminal Panel. The Terminal Panel doesn't get destroyed when Konsole KPart does, and it tries to double free during children clean up. (Thanks @sitter !) Setting `m_konsolePart` to `nullptr` during exit signal fixes this, since there is already check in place for that in the destructor. BUG:479596
2024-01-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"
2024-01-06DolphinView: merge update functions into set functionsMéven Car
NO_CHANGELOG
2024-01-05SVN_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-01-05GIT_SILENT made messages (after extraction)l10n daemon script
2024-01-03Remove setUpdate KBookmarkManager callSune Vuorela
It is related to receiving updates from dbus; but that's removed. Also, it defaults to true
2024-01-03Use correct KIO includeNicolas Fella
2023-12-31GIT_SILENT made messages (after extraction)l10n daemon script
2023-12-28Add separator in Dolphin Status BarCarl Schwan
See https://invent.kde.org/plasma/breeze/-/merge_requests/390 for explanation and screenshots
2023-12-28org.kde.dolphin.appdata.xml add launchableMarius P
Fix "appstreamcli validate --explain" issue "I: org.kde.dolphin.desktop:~: desktop-app-launchable-omitted This `desktop-application` component has no `desktop-id` launchable tag, however it contains all the necessary information to display the application. The omission of the launchable entry means that this application can not be launched directly from installers or software centers. If this is intended, this information can be ignored, otherwise it is strongly recommended to add a launchable tag as well.".
2023-12-28GIT_SILENT made messages (after extraction)l10n daemon script
2023-12-27GeneralViewSettingsPage: Initialize variables in header, avoid unused ↵Alexander Lohnau
variable depending on config
2023-12-27Revert "Remove unused m_showToolTips variable"Albert Astals Cid
This reverts commit 9a2fc1526c169fa179e49f8c097a0a0d421723eb.
2023-12-27Fix build with cmake >= 3.28Albert Astals Cid
Proposed by krop on #kde-devel Unless my bisect skills failed broken by https://gitlab.kitware.com/cmake/cmake/-/commit/ebc9e448b38378cc21a6b77df03a77d9732c24ac
2023-12-27kfileitemmodeltest: Include KIO/SimpleJob header instead of relying on ↵Alexander Lohnau
compat code Amends 3f92ac800c5e52d0a5622367ff8ffe8cbbdfa184
2023-12-26Do not rely on KIO source-code compat codeAlexander Lohnau
2023-12-26Remove unused m_showToolTips variableAlexander Lohnau
2023-12-26Remove unneeded lambda captureAlexander Lohnau
2023-12-25Fix issues if QT_NO_CAST_FROM_ASCII is definedMarius P
Fix issues e.g. "error: ‘QString::QString(const QByteArray&)’ is private within this context".
2023-12-25main.cpp about data: update homepageMarius P
2023-12-22Set viewFocus when DolphinViewContainer state is consistentAkseli Lahtinen
Read Felix' comment here: https://invent.kde.org/system/dolphin/-/merge_requests/679#note_835657 In short: > The above change moves the `m_view->setFocus()` towards a point in time in > which `DolphinViewContainer`'s selection mode state is consistent again. BUG:478724
2023-12-18DolphinView: Ensure to update the whole viewState after a job created filesMéven Car
BUG: 476670
2023-12-15Resort directory size count after refreshingAkseli Lahtinen
After refreshing the view when size count is selected as the sortRole, count is 0 at first. When the actual count is loaded, the sorting is done according to the count being 0. This can break the sort order and cause view and model to be out of sync. Making sure we always resort all items when the directory size/item count is changed fixes this BUG:473999
2023-12-15Change resortAllItemsInterval to 50msAkseli Lahtinen
Related to https://invent.kde.org/system/dolphin/-/merge_requests/675 Reduces the delay for sorting items when something changes
2023-12-15Set dockAction enabled according to settingsAkseli Lahtinen
Panels are unlocked even they're set locked in settings at start of the app. This sets panels locked according to the setting. BUG:478117
2023-12-14Dolphin: Remove unused code, fix clazy warningsMéven Car
2023-12-08Do not reset expandability when loading previewsAkseli Lahtinen
Fixes a weird bug with the treeview if one has ``` [PreviewSettings] Plugins=audiothumbnail ``` in their `dolphinrc`. It can be any PreviewSettings plugin, as long as there it at least one. Check the bug report for more, but in short, the bug is reproducible like this: ``` create folder tree inside a test folder with mkdir -p 1/A/B/C/D/E/F/G/H/I mkdir -p 2/A/B/C/D/E/F/G/H/I mkdir -p 3/A/B/C/D/E/F/G/H/I make sure you see the test folder, and expand it expand folder 1, no need to expand all sub folders expand folder 2 collapse and expand test folder 3 loses its expansion arrow if all folders are expanded, only 3 keeps its order if 1 and all its subfolders are expanded, then test is toggled, folder 2 also loses its expansion arrow ``` Video of the bug: ![Screencast_20231207_112700](/uploads/4fad2a62a5a9a67760fa7faa8e3bec40/Screencast_20231207_112700.webm) The path to the bug is: `KFileItemModelRolesUpdater::slotPreviewFailed` -> `KFileItemModelRolesUpdater::applyResolvedRoles` -> `KFileItemModelRolesUpdater::rolesData` -> `KFileItemModelRolesUpdater::startDirectorySizeCounting`. This causes Dolphin with preview plugins enabled trying to count the directories again, and the data gets reset even if there is something there. This then resets the `isExpandable` flag and that breaks the treeview, causing all kinds of issues, like being able to expand non-directories and makes things out of sync. BUG:477607
2023-12-08Do not cache indexes across async tasksDavid Edmundson
Capturing an index is unsafe as it could be out of date when this is processed. The user could have changed directory inserted a file or changed sorting order.
2023-11-30GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit beb28a4bdeac3b2b0eb6ca559acfeca9af1b530e)