┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-06-23Fix file names overflowing after text elidingBojidar Marinov
When QFontMetrics::boundingRect().width was replaced with QFontMetrics::horizontalAdvance() in 76a46fd9094b17eb99e8a42cca8562fdc0b3814c, an extra line (formerly introduced by a203c271161ce953354b9e0722492605a4d17415) was changed as well. Unfortunately, boundingRect().width is the correct function to use for calculating the size of the last line, while horizontalAdvance would be correct if we were laying it next to the previous line instead of below the previous line. BUG: 432530
2025-06-22SVN_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"
2025-06-20New selection effectsAkseli Lahtinen
This adds a new selection effect that is similar to what we have in QtQuick file item views. There are also changes to some usability: Instead of only the icon and text being the clickable area in icon and details mode, the whole selection is now the clickable area. Otherwise the usability should stay the same, it's mostly a visual change. See also: https://invent.kde.org/teams/vdg/issues/-/issues/94
2025-06-19AnimatedHeightWidget: Disable scrollbarsAkseli Lahtinen
QScrollArea is used to avoid increasing view width, and not for actual scroll reasons. We should therefore disallow scrolling the view entirely, since this causes bugs with being able to scroll random views. BUG: 504252
2025-06-17Add setting to select filename eliding behaviorGleb Kasachou
Introduces a setting in Content Display Tab that allows to choose how filenames are truncated when they do not fit in the maximum filename length, i.e elide. BUG: 504795
2025-06-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"
2025-06-14SVN_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"
2025-06-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"
2025-06-12DolphinView: Conform to global scroll speedAleksandr Borodetckii
One scroll with the mouse wheel is supposed to scroll the view by QApplication::wheelScrollLines, however previous to this commit Dolphin scrolled the view by QApplication::wheelScrollLines^2 instead, which was wrong and way too much. This commit fixes this by defining one line height as the height of the current default font. This value is multiplied by QApplication::wheelScrollLines to determine the scroll amount per mouse wheel scroll. In details view mode however, where there really are rows to go by, this commit makes sure to always scroll by full rows. The number of rows to scroll is determined by rounding up from the scroll amount used in the other view modes. Co-authored-by: Felix Ernst
2025-06-12SVN_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"
2025-06-11SVN_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"
2025-06-09viewproperties: Fix leaking file descriptorsAkseli Lahtinen
File descriptors would keep leaking here since tempFile never gets deleted. This would be especially noticeable when browsing /tmp/ folder. This patch makes the QTemporaryFile an unique_ptr, so it gets deleted when it's out of scope. This also causes the files to be handled accordingly. BUG: 505215
2025-06-09Add a SetFolderIcon ItemAction pluginMéven Car
To allow to change folder icon from the context menu. CCBUG: 467221
2025-06-05DolphinQuery: Use prettier URL particularly for local pathsKai Uwe Broulik
Use toLocalFile() to avoid the 'file://' prefix and use KShell::tildeCollapse that collapses the home path into ~ as is done in many other places. Also strip trailing slash for the other URLs.
2025-06-02GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit a0df27c8d89f8bc43d646cd5212852244b0ac0e1)
2025-06-02SVN_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"
2025-06-01SVN_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"
2025-06-01fix incorrect view reset when unmounting similarly-named devicesVladislav Kachegov
Previously, unmounting a device would incorrectly reset views containing: - Paths with similar names (e.g. "/media/disk" and "/media/disk_2") - Substrings of the mounted path Now only resets views showing either: 1. The exact mounted path (e.g. "/media/disk") 2. Its subdirectories (e.g. "/media/disk/docs")
2025-05-31SVN_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"
2025-05-28dolphinview: Add a dynamic view optionVictor Blanchard
Added a 'dynamic view' option, which allows to switch from a 'compact' or 'details' view to an 'icons' view if most of the files in the directory are images or videos. It reverts to the previous view mode when we switch to a directory which doesn't meet that criteria. The view mode is only changed once so users don't have to undo that for specific folders when they don't want icon view. A setting is added in the "Display style" section of the general view setting page. BUG: 491139
2025-05-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"
2025-05-27SVN_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"
2025-05-26SVN_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"
2025-05-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"
2025-05-24SVN_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"
2025-05-22Add Comment to .desktop fileTamás Králl
This commit adds a Comment to Dolphin's .desktop file so rich metadata is available in case it's ever needed. BUG: 504407 FIXED-IN: 25.08.0
2025-05-14Check if the item supports sequencing before looking for sequence pixmapsAkseli Lahtinen
This patch checks the item first if the plugin it's using for it's previews even supports sequences. If not, we can then safely ignore the hover action for polling more sequences and avoid unnecessary work. The sequencing support is false by default, so we set it true only when we know it's possible.
2025-05-12Prevent a compile warningMéven Car
NO_CHANGELOG
2025-05-09DolphinView: Remove -1 interval, add setAutoActivationEnabledAkseli Lahtinen
In future Qt versions, Qt Timers do not allow negative intervals. Instead, they will be changed to 1. Related Qt commit: https://github.com/qt/qtbase/commit/f1f610bc67bfd5c2ef31270a6945e7bae93b5e4a Instead of relying on the interval, use a boolean variable to check if the autoactivation is enabled or not.
2025-05-03Prevent a compile warningMéven Car
NO_CHANGELOG
2025-05-02GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit a7512d649bc93768839399aff628bc721e7eae86)
2025-05-02Add missing KF6::ColorScheme linkNicolas Fella
2025-05-02dolphinview: fix crashMéven Car
Correctly find the last element in the list instead of the one after the last Amends: 0464ea82a6850f58805bc4d6fc1df5369d83c3df BUG: 503610
2025-04-29Clazy fixMéven Car
2025-04-28Delete leftover kconf_update scriptMéven Car
Amends 2f208662cbd604f879027d3cd633a5ce59182a4f NO_CHANGELOG
2025-04-26DolphinView: Don't end anchored selection in updateSelectionStateAkseli Lahtinen
Do not end anchored selection when selection state is updated, such as when Dolphin is started with --select "thing.txt" flag. If we end here, and user wants to press shift to select from current item to X items, this would cause the anchored selection to start from the clicked item, not from the first selected item. BUG: 503221
2025-04-24Fix up 2f208662cbd604f879027d3cd633a5ce59182a4fNate Graham
2025-04-24Delete old KF5-based kconf update scriptNate Graham
This already ran, and running it again would be incorrect, so just delete it.
2025-04-24Revert "Update kconf update script version to 6"Nate Graham
This reverts commit fc56f8f2f92b98ccb9a1da0ffcbb57d723dc33bb. By changing the version number, this script now runs again, but it doesn't need to since the change was already made on everyone's systems. Instead it should just be deleted.
2025-04-24DolphinStatusBar: Fix premature text squeezingAkseli Lahtinen
The text would get squeezed and elided prematurely due to some clipping calculations and paddings created for the clipping. This slightly modifies the clipping code, that we extend the painted area and then clip off the excess, instead of moving the area to specific place and then clipping off the excess. This also makes sure the text width accounts for one extra character plus the clippings we do, so that text will always fit the statusbar. BUG: 503164
2025-04-23DolphinView: If contextmenu is requested, abort twoClicksRenamingAkseli Lahtinen
When using single click to select, user can double click the file to start renaming it. If user at the same time also opens context menu, user can delete the file while the renaming prompt is open, which causes weirdness. This patch makes sure we abort the double click renaming when context menu is requested. BUG: 503185
2025-04-22DolphinStatusbar: Fix background and margins for non-Breeze stylesAkseli Lahtinen
There is a bug where non-Breeze styles, such as fusion, do not always have background color for the small statusbar. There is also a bug that made the statusbar too small for other themes. This patch makes us always draw a background, and uses marginLeft and marginRight from QStyle.
2025-04-20KStandardItemList: have emblem when hoveringMéven Car
2025-04-19Add Filelight menu to Tools menuFelix Ernst
The menu for installing and launching Filelight was only available through the status bar free space info button until now. By default we do no longer show the free space info button because the status bar has been changed to show less information by default. This commit adds the "Manage Disk Space Usage" menu to the "Tools" menu in the menu bar so it is more discoverable for users.
2025-04-18Use dolphin icon for dolphin windowsKylie CT
intended as a fix for icon themes with different `org.kde.dolphin` and `system-file-manager` icons https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/3663#issuecomment-2798459480 Also noticed that it should also actually make the upcoming dolphin on the icon change apply in places where setting the icon is respected (title bar).
2025-04-17Update kconf update script version to 6Nate Graham
This allows it to run for people upgrading from an ancient version straight to the current one, and also prevents an error message about this from appearing in the journal log.
2025-04-16Fix session restoreFelix Ernst
Since https://commits.kde.org/kxmlgui/8c9fb02a1d37672b26a03a9dd9e8675743deb269 KXmlGui only triggers a session restore for a window when the session config contains a "NumberOfWindows" key with a value >= 1. This commit adds such a key to the Dolphin session config, which fixes the Dolphin main window restore for KXmlGui versions containing that commit. BUG: 502770
2025-04-16Add kconf_update to replace view_mode with view_settings in the toolbarJin Liu
2025-04-16Revert dd07a327 Move "Show in Groups" toggle action into Sort menuJin Liu
Now it's in the first level of the "View Settings" dropdown, no need to be nested in the "Sort" menu.
2025-04-16Add a new "view_settings" actionJin Liu
This should replace the "View Mode" button in the toolbar by default. Its dropdown menu contains more actions related to the view: zoom, sort by, show additional columns, show hidden files, grouping, show file previews. The original "view_mode" action is kept so the "Change View Mode" submenu in the main menu (or in the hamburger menu when this button is invisible) is unchanged.