┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2024-03-07Add option to completely disable directory size countingNico Kreipke
Dolphin shows the size of directories by listing their contents, which for some users might cause unwanted load on the file system. Depending on the size of the subdirectories in question and how the storage is accessed, this might cause noticeable delays and even freezing. This commit adds a new option under "View -> Content Display" that enables users to set "Folder size:" to "No size", completely disabling directory size counting. Directory size counting is still enabled by default. As a third option for "Folder size" is added, the DirectorySizeCount boolean setting is replaced with a DirectorySizeMode enum setting. The old setting is migrated using a kconf_update script. FEATURE: 477187 GUI:
2024-03-06Remove 'Id' field from JSON plugin metadataJonathan Marten
KPluginMetaData (since kcoreaddons commit be10ddbf) now derives the plugin ID from the file name and ignores the ID field. Eliminates many runtime warnings of the form: konqueror/kf.coreaddons KPluginMetaData::KPluginMetaData: The plugin "/usr/lib64/plugins/kf6/parts/dolphinpart.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
2024-03-03Open KFind with current dirNicolas Fella
Amends 2cd3d58eec5695899c26ca66a631fb79867b6584 BUG: 482343
2024-02-29DragAndDropHelper::updateDropAction: use StatJob for remote URLsJin Liu
When dragging onto tabs/Places from a remote URL, we don't process the QDropEvent immediately, but start a StatJob and process the event when it finishes. Also, the result of the StatJob is cached for 30 seconds, to avoid starting duplicate jobs.
2024-02-27Fix compile with Qt 6.7nerdopolis turfwalker
2024-02-27Fix: can't drop into remote dirJin Liu
KFileItem::isDir() only works when it's created from listDir(), or from a local QUrl. For a remote QUrl, isDir always returns false, so we can't use that in supportsDropping(). As a workaround, now supportsDropping() always returns true in remote dirs -- we don't check if a remote dir is writable when dropping.
2024-02-26GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-24GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-23Resolve conflict between activateSoonAnimation and hoverSequenceAnimationFelix Ernst
Prior to this commit, the activateSoonAnimation would not play for folders using previews. That was because the hoverSequences of folder previews would always take priority over the activateSoonAnimation. This commit prioritises the activateSoonAnimation for the quick moments in which it is active.
2024-02-23Add drag-open animationFelix Ernst
This commit adds an animation for folders that makes clear that they will open or expand soon. This is the case when the option to open folders during drag operations is enabled and a user drags an item on top of a folder. The animation goes like this: - Replace the folder's icon with the "folder-open" icon - Go back to the folder's original icon - Replace the folder's icon with the "folder-open" icon once more
2024-02-23Avoid searching for the knetattach service on startupFelix Ernst
The installed services might change while Dolphin is running, so it is better to only search when they are actually needed instead. The very first time such a search happens (e.g. after updating the system), is also somewhat slow, which could slow down the very first Dolphin startup. This commit might also produce a very slight general startup speed improvement. However, the measured change is within the margin of error.
2024-02-21Fix a crash in DolphinSearchBox::hideEvent()Vlad Zahorodnii
BUG: 481553
2024-02-19GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-18Add documentationFelix Ernst
2024-02-18GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-17Improve DnD handling in read-only dirsJin Liu
1. Places panel and tabbar update drag status in read-only dir 2. Don't create drop job in readonly directories
2024-02-16GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 1228582f92f7482937a47b5662dd0a3731ccebb8)
2024-02-14GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-11GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-10GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-09GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 2510ec245ec055852d9958d7ea910cf0b7ed38af)
2024-02-09GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-06GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-05GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-04GIT_SILENT made messages (after extraction)l10n daemon script
2024-02-02org.kde.dolphin.appdata: Add developer_nameTimothée Ravier
Fixes the following lint errors for Flathub: ``` { "errors": [ "appstream-missing-developer-name" ] } ``` See: https://github.com/flathub/org.kde.dolphin/pull/207 See: https://github.com/flathub-infra/flatpak-builder-lint/issues/274 See: https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer See: https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name
2024-02-02Fix flatpakCarl Schwan
Update with the state of the manifest on github and install icons at the correct location
2024-02-01Fix focus chainFelix Ernst
Prior to this commit pressing Tab repeatedly would bring the focus to the end of the status bar but not further. This commit makes sure the tab focus doesn't get stuck on the invisible tab bar by explicitly removing the DolphinTabBar from the focus chain while it is hidden. I don't understand why pressing Tab doesn't do anything for the invisible tab bar, but removing an invisible and currently useless widget from the focus chain seems sensible in any case. Improve the accessibility autotest to prevent regressions concerning this.
2024-02-01Speed up autoSaveSession testFelix Ernst
Normally, the session is only saved after a few seconds. The autotest waits for that to happen. This commit reduces the time until the session is saved to a fraction of a seconds which means that the autotest will complete faster.