┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-03-01kstandarditemlistwidget: make overlay icons independant of preview sizeMéven Car
This consists in replacing the use of KIconUtils::addOverlay to custom adapted function, based on KIconLoader::global()->drawOverlays previous behavior. BUG: 500428
2025-03-01GIT_SILENT made messages (after extraction)l10n daemon script
2025-02-28Fix crash when opening new tab with searchAkseli Lahtinen
When new tab is opened and it has a search started, it tries to set the location URL to a navigator that is not yet necessarily assigned in memory: This is because the new tab is not active. The locationUrl will be changed properly when tab is activated. BUG:500101
2025-02-27GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit b16c9f666929d381f4f9d80befa3bc9bd3f14751)
2025-02-27statusbar: fix offset for selectionModeBottomBarAkseli Lahtinen
If selectionMode was running, statusbar would get hidden behind the selectionmode bottom bar. Instead of calculating offsets, just check for the view geometry bottom position and use that for the statusbar yPos.
2025-02-27dolphinview: Add widget parameter to elided QToolTip::showTextAkseli Lahtinen
Without this parameter the QToolTip can not always determine what is the parent, so it will create a toplevel window in those cases. Make sure we have dolphinview itself as a widget there, so QToolTip and thus QtWayland can resolve what is the parent. This avoids creating random windows when opening a tooltip. BUG:500009
2025-02-26Do not show the Zoom toggle context menu on small statusbarAkseli Lahtinen
Small statusbar should not have zoom slider enabled, but this could be bypassed by using the context menu. If we have small statusbar, just return early instead.
2025-02-24Add smaller statusbar and set it as defaultAkseli Lahtinen
- Statusbar has three modes: Small, FullWidth and Disabled - FullWidth is the original statusbar - Small is the new default statusbar - This statusbar overlays on top of the items instead of taking space - It changes size according to content - Disabled turns statusbar completely off - Zoom slider and space information is only shown in full-width statusbar - Space information is now always on - If user navigates with keyboard, or scrolls to selection, the scrolling will take the statusbar into account - This makes sure the statusbar does not cover any items Related discussion: https://invent.kde.org/system/dolphin/-/issues/50
2025-02-23Improve Close split menu action labelKai Uwe Broulik
A "Close" isn't very descriptive. Instead, show "Close Left View" or "Close Right View" in the menu.
2025-02-22kitemlistkeyboardsearchmanager: smarter search start positionYifan Zhu
Search from the next position for new search and special repeated key search. Otherwise search from the current position, which is current selected item if something is selected or in selection mode, and 0 (the beginning) otherwise. Test plan: - create directory with files ab1, ab2, and ab3 - click ab2, and press escape to deselect - type ab; verify that ab1 is selected - wait a while, type ab again, verify that ab2 is selected - wait a while, type ab again, verify that ab3 is selected - click ab1, type ab, verify that ab2 is selected BUG: 422951
2025-02-20kitemlistcontrollertest: fix warningsMéven Car
NO_CHANGELOG
2025-02-20Add a dolphin to the iconDarshan Phaldesai
Added an dolphin overlay on top of the folder icon. The intention is to add subtle branding and personality to icon while leaving the overall shape and design untouched.
2025-02-18GIT_SILENT made messages (after extraction)l10n daemon script
2025-02-17kfileitemmodel: allow more than 2 single quotes in translated stringsSergey Katunin
This change concerns `timeRoleGroup`.
2025-02-08VersionControlObserver: start scanning earlierMéven Car
And avoid scanning directory that don't need it. Stops the working thread upon model change.
2025-02-08viewpropertiestest: simplify two testsMéven Car
2025-02-08Viewproperties: prevent loosing view settingsMéven Car
When they match the hardcoded internal settings, when they should be kept as long as they don't match the currently set default viewproperties. Is saved in metadata the diff with the hardcoded internal defaults still. A stable default reference allows to change defaults without changing existing saved viewproperties. CCBUG: 495878
2025-02-06Removed conditional in renameTab to allow unsetting custom labelsambar chakravartty
co-authored by: Felix Ernst
2025-02-06changed all calls to "title(), setTitle()" to "customLabel(), setCustomLabel()"ambar chakravartty
2025-02-06Made style and context enhancements ambar chakravartty
Co-authored by: Felix Ernst
2025-02-06changes saveState() and restoreState() to restore renamed tabs (if any)ambar chakravartty
2025-02-06refactored renameTabambar chakravartty
2025-02-06Apply 1 suggestion(s) to 1 file(s)ambar chakravartty
Co-authored-by: Méven Car <[email protected]>
2025-02-06Apply 1 suggestion(s) to 1 file(s)ambar chakravartty
Co-authored-by: Méven Car <[email protected]>
2025-02-06Apply 1 suggestion(s) to 1 file(s)ambar chakravartty
Co-authored-by: Méven Car <[email protected]>
2025-02-06Removed unused imports to QUuid,quuidambar chakravartty
BUG: 197009
2025-02-06Added code for a "Rename Tab" feature.ambar chakravartty
BUG: 197009
2025-02-03implement shortcut action for file creationChristian Schwarz
BUG: 462899
2025-02-01Ignore diacritical marks for keyboard searchThomas Moerschell
When using keyboard search, normalize the item names and remove marks first. Now, items containing characters with marks can be found using keyboard search. BUG: 482394
2025-01-31GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit c56eec82ee1169f18f3e98d09d5baebd673110f7)
2025-01-30Change three view buttons into one with menu arrowAkseli Lahtinen
Instead of showing three buttons, which is quite visually noisy, show only one button that is split: First button, when clicked, loops through the view modes. Second smaller button with the down arrow shows menu of the available view modes. See also https://invent.kde.org/system/dolphin/-/issues/68#toolbar-button-changes Alternative for https://invent.kde.org/system/dolphin/-/merge_requests/893 ![Screencast_20250121_123718](/uploads/e8625c485c58a9c47e8168106b3e7419/Screencast_20250121_123718.mp4)
2025-01-29Make "Empty trash" icons redNate Graham
This is a destructive action, and the HIG specifies that icons for destructive actions should be colored red. The current icons are black, inconsistent, and semantically incorrect. edit-delete is red in the Breeze icon theme, and also more semantically correct since the items in the trash will be deleted. Let's use this icon instead.
2025-01-28Clear forward action popup menu before adding history actionsKai Uwe Broulik
Otherwise the menu keeps growing and growing. The back button had the clear call but here it was forgotten.
2025-01-20InformationPanel: fix potential glitches with gifsMéven Car
2025-01-17Refactor Overlay HandlingMéven Car
Now all overlays icons in kitemviews are added in KStandardItemListWidget::updatePixmapCache. data[iconOverlays] now contains icon names. DolphinFileItemListWidget::refreshCache is the sole responsible of setting the overlays either coming from KFileItemModelRolesUpdater or KVersionControlPlugin. This garantees consistency in rendering. BUG: 497372
2025-01-17InformationPanel: prevent animated images from glitchingMéven Car
And show them in their actual pixel density.
2025-01-15Clean stop-gap porting ifdef for KICONTHEMES_VERSIONMéven Car
That were introduced in: a55c467fbb31d822d89722812388425327830377 38ab14c87a945153e683657483fa4bcf44d6b0fb
2025-01-14ToolTipManager: double the size of the preview and use dprMéven Car
2025-01-11KFileItemModelRolesUpdater: add utility cacheSize functionMéven Car
2025-01-11KFileItemModelRolesUpdater: Show emblems even in hover sequenceMéven Car
2025-01-11Icons: when adding overlays pass in the output sizeMéven Car
Instead of the pixmap size that won't be accurate. It allow KGuiAddons::addOverlays to draw larger images to add overlays. Consequently the emblems are not longer dependant scaled based on the pixmap aspect ratio. BUG: 498211
2025-01-10SpaceInfoObserver: don't instantiate MountPointObserver if m_url is emptyMéven Car
This prevents "Invalid URL:" on dolphin start.
2025-01-09information panel: scale according dprMéven Car
Also use dpr for icons. Amends cebcf8db BUG: 497576
2025-01-07dolphinpart: fix a warning around = in lambdas for thisMéven Car
being deprecated in C++20.
2025-01-07Improve trash context menu UINate Graham
Right now the "Delete" item is right next to "Restore", which means you can accidentally destroy the item you meant to restore! To prevent this, the menu is re-arranged slightly, and "Restore" is given a more visually clear icon and label. BUG: 498132 FIXED-IN: 25.04.0
2025-01-07Elide file names in the middle againNate Graham
In ye olden days, filenames were elided on the right. This prevented seeing the filename extension and any suffix style text the user included in the filename (e.g. "myfile 1", "myfile 2" and so on). In 97f49347482519b9ad53b7596d7462e68b7c2e14, this was changed to elide in the middle, fixing both problems and bringing Dolphin into Jakobs' Law style consistency with MacOS Finder and Windows Explorer, and possibly other file managers too. However it worsened the situation for users who name their files such that most of the information was on the left. After some complaints, it was changed in 99cf24c03def1c0722ba8dbd86a27b9dbc521f43 to right-elide again, but excluding the filename extension. Unfortunately user complaints have continued. At this point it's clear that nothing will satisfy everyone due to diversity of file naming styles. In such a situation, Jakobs' Law consistency with the rest of the industry is the best solution short of making it configurable, which has its own drawbacks. Accordingly, return to middle-elision. BUG: 497664 CCBUG: 404955 FIXED-IN: 25.04.0
2025-01-06When marking recent folders access specify mimeTypeMéven Car
CCBUG: 496179
2025-01-06Fix focus changing when unminimising on X11Felix Ernst
In f220e3b0783a24a6c7195f170297cf4b12a29d85 I made the keyboard focus move to the places and terminal panel whenever they are toggled visible. Unfortunately the QDockWidget::visibilityChanged() signal is also emitted (at least on X11) simply when the window containing that panel is minimized or restored. This commit overrides the QDockWidget::event() method to ignore such spontaneous show or hide events so QDockWidget won't emit the visibilityChanged() signal then. BUG: 497803
2025-01-04Update copyright to 2025Justin Zobel
BUG: 474515
2025-01-02GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit b3022e728b86f0ad94053369aedf164fee54c229)