]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
8 months agoDelete old KF5-based kconf update script
Nate Graham [Thu, 24 Apr 2025 14:58:44 +0000 (16:58 +0200)]
Delete old KF5-based kconf update script

This already ran, and running it again would be incorrect, so just
delete it.

8 months agoRevert "Update kconf update script version to 6"
Nate Graham [Thu, 24 Apr 2025 14:55:19 +0000 (16:55 +0200)]
Revert "Update kconf update script version to 6"

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.

8 months agoDolphinStatusBar: Fix premature text squeezing
Akseli Lahtinen [Thu, 24 Apr 2025 12:03:42 +0000 (15:03 +0300)]
DolphinStatusBar: Fix premature text squeezing

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

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 24 Apr 2025 01:40:26 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoDolphinView: If contextmenu is requested, abort twoClicksRenaming
Akseli Lahtinen [Wed, 23 Apr 2025 12:39:36 +0000 (15:39 +0300)]
DolphinView: If contextmenu is requested, abort twoClicksRenaming

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

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 23 Apr 2025 01:42:34 +0000 (01:42 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoDolphinStatusbar: Fix background and margins for non-Breeze styles
Akseli Lahtinen [Tue, 22 Apr 2025 13:52:50 +0000 (16:52 +0300)]
DolphinStatusbar: Fix background and margins for non-Breeze styles

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.

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 22 Apr 2025 01:41:57 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 21 Apr 2025 01:40:19 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoCI: Remove linux-qt6 build
Felix Ernst [Sat, 19 Apr 2025 10:57:36 +0000 (12:57 +0200)]
CI: Remove linux-qt6 build

This commit follows the recommendation of our system administrator
Ben Cooksley to remove the linux-qt6 build from the CI for projects
which already have linux-qt6-next and FreeBSD or Windows builds
which also use qt6 (non-next).

See https://mail.kde.org/pipermail/kde-devel/2025-April/003464.html

8 months agoKStandardItemList: have emblem when hovering
Méven Car [Fri, 18 Apr 2025 11:12:15 +0000 (13:12 +0200)]
KStandardItemList: have emblem when hovering

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 20 Apr 2025 01:39:57 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoAdd Filelight menu to Tools menu
Felix Ernst [Sat, 19 Apr 2025 12:32:25 +0000 (14:32 +0200)]
Add Filelight menu to Tools menu

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.

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 19 Apr 2025 01:41:50 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoUse dolphin icon for dolphin windows
Kylie CT [Fri, 18 Apr 2025 11:15:38 +0000 (11:15 +0000)]
Use dolphin icon for dolphin windows

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).

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 18 Apr 2025 01:40:46 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoUpdate kconf update script version to 6
Nate Graham [Tue, 15 Apr 2025 15:31:39 +0000 (09:31 -0600)]
Update kconf update script version to 6

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.

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 17 Apr 2025 01:40:12 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoFix session restore
Felix Ernst [Tue, 15 Apr 2025 21:06:26 +0000 (23:06 +0200)]
Fix session restore

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

8 months agoAdd kconf_update to replace view_mode with view_settings in the toolbar
Jin Liu [Mon, 14 Apr 2025 13:21:11 +0000 (21:21 +0800)]
Add kconf_update to replace view_mode with view_settings in the toolbar

8 months agoRevert dd07a327 Move "Show in Groups" toggle action into Sort menu
Jin Liu [Thu, 10 Apr 2025 04:38:20 +0000 (12:38 +0800)]
Revert dd07a327 Move "Show in Groups" toggle action into Sort menu

Now it's in the first level of the "View Settings" dropdown, no
need to be nested in the "Sort" menu.

8 months agoAdd a new "view_settings" action
Jin Liu [Thu, 10 Apr 2025 04:30:29 +0000 (12:30 +0800)]
Add a new "view_settings" action

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.

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 16 Apr 2025 01:40:37 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoflatpak: Update runtime
Albert Astals Cid [Tue, 15 Apr 2025 18:21:02 +0000 (20:21 +0200)]
flatpak: Update runtime

8 months agoFix build for KIO version < 6.14
Felix Ernst [Tue, 15 Apr 2025 21:20:20 +0000 (23:20 +0200)]
Fix build for KIO version < 6.14

Fixup for 9d60570ca784000cb5ef78b13861eee58117595d.

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 15 Apr 2025 01:41:15 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 14 Apr 2025 01:40:23 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 13 Apr 2025 01:38:36 +0000 (01:38 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoDolphinNavigator: Hide the KUrlNavigator background if DolphinNavigator is outside...
Akseli Lahtinen [Sat, 12 Apr 2025 16:28:38 +0000 (16:28 +0000)]
DolphinNavigator: Hide the KUrlNavigator background if DolphinNavigator is outside of toolbar

When the DolphinNavigator is outside of the toolbar, it's better to hide
the background for better looks.

This change works only when Dolphin is built against KIO 6.14.

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 12 Apr 2025 01:36:44 +0000 (01:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 10 Apr 2025 01:39:56 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 9 Apr 2025 01:39:50 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 8 Apr 2025 01:45:08 +0000 (01:45 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoRewrite search integration
Felix Ernst [Mon, 7 Apr 2025 21:09:00 +0000 (21:09 +0000)]
Rewrite search integration

This huge commit is a nearly complete rewrite of the Dolphin search
code. It implements most of the improved Dolphin search UI/UX as
designed and discussed in a collaborative effort by Kristen McWilliam,
Jin Liu, Andy Betts, Tagwerk, a few others and me.
See https://invent.kde.org/system/dolphin/-/issues/46.

# Notable changes

- A toggle to change the search tool is provided as most contributors
deemed that useful in
https://invent.kde.org/system/dolphin/-/merge_requests/642#note_985112.
- The default search is changed to filenamesearch for maximum
reliability.
- Removing all search parameters will take users back to the view state
prior to starting a search instead of keeping the search results open.
- The UI for choosing file types or modification dates has been made
more powerful with more granularity and more options.
- Most search parameters can be configured from a popup menu which
gives us extra space for extra clarity.
- Labels and help buttons as well as hyperlinks to settings makes sure
the user always knows why some search parameters are unavailable in
some contexts.
- Chips show important search parameters while the popup is closed.
They allow quickly removing filters.
- The titles of the search and the input field placeholder message
change to make clear whether file names or file contents are searched.
- When the user actively switches the search tool, whether content
should be searched, or whether to search everywhere, this is preserved
for the initial state of the search bar when the user opens it the next
time after restarting Dolphin.

# Architecture

- The new DolphinQuery class is independent of the UI and contains all
search parameters modifiable in Dolphin as easy setters and getters.
- DolphinQuery objects are also used to update the states of every
component in the search UI. There is now a clear separation of UI and
search configuration/DolphinQuery.
- DolphinQuery is responsible for exporting to and importing from
search URLs.
- The search UI always reflects the currently configured DolphinQuery
no matter if the user changed the UI to change the DolphinQuery or
loaded a DolphinQuery/older search URL which then is reflected in the
UI.
- I tried to simplify all classes and their interaction between each
other as much as possible.
- I added some tests

BUG: 386754
CCBUG: 435119
CCBUG: 458761
BUG: 446387
BUG: 470136
CCBUG: 471556
CCBUG: 475439
CCBUG: 477969
BUG: 480001
BUG: 483578
BUG: 488047
BUG: 488845
BUG: 500103
FIXED-IN: 25.08

8 months agoGIT_SILENT Update Appstream for new release
Heiko Becker [Mon, 7 Apr 2025 20:55:56 +0000 (22:55 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 4713c6bf91e825bac4965a34d3b79c4401b23ce9)

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 7 Apr 2025 01:50:37 +0000 (01:50 +0000)]
GIT_SILENT Sync po/docbooks with svn

8 months agoUpdate GitLab icon to new Dolphin logo
Jack Hill [Sun, 6 Apr 2025 14:10:54 +0000 (15:10 +0100)]
Update GitLab icon to new Dolphin logo

8 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 6 Apr 2025 01:42:58 +0000 (01:42 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 5 Apr 2025 01:44:38 +0000 (01:44 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 4 Apr 2025 01:46:03 +0000 (01:46 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agodolphinui: Set view_mode action to low priority
Akseli Lahtinen [Wed, 2 Apr 2025 08:17:32 +0000 (08:17 +0000)]
dolphinui: Set view_mode action to low priority

Viewmode text is rather long, so we should hide it by default. Setting
the priority to low seems to fix that.

BUG: 501498

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 29 Mar 2025 01:41:14 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoMove "Show in Groups" toggle action into Sort menu
Nate Graham [Thu, 27 Mar 2025 19:29:26 +0000 (13:29 -0600)]
Move "Show in Groups" toggle action into Sort menu

This is the sort of thing a user might want to toggle temporarily, as
sometimes grouping is a helpful visualization and sometimes not.

Right now, doing that is easy when using the in-window menubar or the
global menu: View > Show in Groups. However when using the default
hamburger menu, it becomes difficult: Burger menu > More > View >
Show in Groups. It's four levels of nesting and requires precision.

This change addresses that by  moving the action into the "Sort By"
menu. This improves discoverability for people using the default UI,
and makes the location of the action consistent for people using all UI
styles. It also gets the item into the view context menu, where it
currently isn't, providing another entry point for it.

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 25 Mar 2025 01:41:31 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoDolphinContextMenu: Add properties entry last for trash entry
Kai Uwe Broulik [Fri, 21 Mar 2025 08:38:57 +0000 (09:38 +0100)]
DolphinContextMenu: Add properties entry last for trash entry

It's supposed to be consistent and always last.

9 months agoCI: Flatpak: Add desktop notification permission for long running operations
Justin Zobel [Mon, 3 Mar 2025 03:22:43 +0000 (13:52 +1030)]
CI: Flatpak: Add desktop notification permission for long running operations

9 months agoKFileItemListWidget: wrong selection when renamed file ends with a dot
Shitong Xu [Sun, 23 Mar 2025 15:02:24 +0000 (15:02 +0000)]
KFileItemListWidget: wrong selection when renamed file ends with a dot

When a file name ends with a dot, it should be treated like there is no
extension. When triggering a rename, the file name except the
extension should be selected, which is equal to the full file name when
the file ends with a dot.

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 21 Mar 2025 01:45:27 +0000 (01:45 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 20 Mar 2025 01:45:58 +0000 (01:45 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 18 Mar 2025 01:43:56 +0000 (01:43 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agocontextmenu: Use default terminal's icons for "Open Terminal" and "Open Terminal...
Angus McLean [Mon, 17 Mar 2025 08:14:55 +0000 (08:14 +0000)]
contextmenu: Use default terminal's icons for "Open Terminal" and "Open Terminal Here" actions

The "Open Terminal" and "Open Terminal Here" actions now use the icon of the user default terminal emulator application, instead of always using the "utilities-terminal" icon.

BUG: 501435

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 17 Mar 2025 01:39:03 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoApply 1 suggestion(s) to 1 file(s)
Luc Schrijvers [Sun, 16 Mar 2025 04:10:22 +0000 (04:10 +0000)]
Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Felix Ernst <felixernst@kde.org>
9 months agoonly use KDirNotify if existing
Luc Schrijvers [Sat, 15 Mar 2025 18:50:21 +0000 (19:50 +0100)]
only use KDirNotify if existing

will not be there if we have no dbus enabled for kio

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 16 Mar 2025 01:43:39 +0000 (01:43 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoKFileItemModelRolesUpdater: reset size and count before updating folders
Akseli Lahtinen [Thu, 13 Mar 2025 12:26:40 +0000 (12:26 +0000)]
KFileItemModelRolesUpdater: reset size and count before updating folders

Folder count would not update properly when user would delete file from
a folder, or add a new file to it.

Previously when size value is set to -2 after update, the update will
never be called again unless user presses F5. This change will instead
reset that -2 to 0 whenever we are requesting for calculating
directory sizes.

We never updated the count when a file was deleted, so that has been added as well.

This change also calculates the item counts from the processedAmount, which is the total amount of items we're processing. From there we remove the unwanted items and get the final count.

For remote files, we set the count to -1 since we don't calculate them.

BUG: 500502

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 11 Mar 2025 01:42:40 +0000 (01:42 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 10 Mar 2025 01:47:59 +0000 (01:47 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agokstandarditemlistwidget: render overlays in paint
Méven Car [Sat, 1 Mar 2025 10:31:50 +0000 (11:31 +0100)]
kstandarditemlistwidget: render overlays in paint

This allows to keep the original pixmap in m_pixmap when resizing so it can have nice rendering when being resized and simplifies implementation

9 months agoGIT_SILENT Upgrade release service version to 25.07.70.
Albert Astals Cid [Sat, 8 Mar 2025 17:56:17 +0000 (18:56 +0100)]
GIT_SILENT Upgrade release service version to 25.07.70.

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 7 Mar 2025 01:43:52 +0000 (01:43 +0000)]
GIT_SILENT Sync po/docbooks with svn

9 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 6 Mar 2025 01:44:43 +0000 (01:44 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 5 Mar 2025 02:04:31 +0000 (02:04 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agodolphinstatusbar: Fix negative value warnings with small statusbar fixedwidth
Akseli Lahtinen [Mon, 3 Mar 2025 12:02:20 +0000 (14:02 +0200)]
dolphinstatusbar: Fix negative value warnings with small statusbar fixedwidth

During splitview animations the parentWidget()->width could be lower
than scrollbarWidth. If it goes to negatives it causes a lot of
warnings.

Make sure to bound the value between 0 and parentWidget()->width() so
that it can't go into negatives.

10 months agoUse nicer split icon
Nate Graham [Mon, 3 Mar 2025 19:24:39 +0000 (12:24 -0700)]
Use nicer split icon

This is the icon that Konsole uses, and it communicates the point better
than the current one.

Related to #68

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 4 Mar 2025 01:41:31 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoDolphinNavigatorsWidgetAction: add margins to splitview navbar splitter
Akseli Lahtinen [Mon, 3 Mar 2025 09:59:23 +0000 (11:59 +0200)]
DolphinNavigatorsWidgetAction: add margins to splitview navbar splitter

The splitter is rather cramped next to the navigation bars with the new
KIO navbar look. This adds slight padding to its sides, making it look
more relaxed and easier to grasp that user can move this.

10 months agoicon(svg): move spdx text to fix flatpak svg detection
Darshan Phaldesai [Thu, 27 Feb 2025 23:34:13 +0000 (16:34 -0700)]
icon(svg): move spdx text to fix flatpak svg detection

10 months agoplacespanel: Use correct loop index when connecting device signals
Wang Yu [Mon, 3 Mar 2025 02:34:10 +0000 (10:34 +0800)]
placespanel: Use correct loop index when connecting device signals

The loop in slotRowsInserted was using the 'first' parameter instead
of the loop variable 'i', causing only the first index to be connected
multiple times.

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 3 Mar 2025 01:43:14 +0000 (01:43 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 2 Mar 2025 01:39:28 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agokstandarditemlistwidget: make overlay icons independant of preview size
Méven Car [Sun, 23 Feb 2025 13:04:12 +0000 (14:04 +0100)]
kstandarditemlistwidget: make overlay icons independant of preview size

This consists in replacing the use of KIconUtils::addOverlay to custom
adapted function, based on KIconLoader::global()->drawOverlays previous
behavior.

BUG: 500428

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 1 Mar 2025 01:51:56 +0000 (01:51 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 1 Mar 2025 00:52:50 +0000 (00:52 +0000)]
GIT_SILENT made messages (after extraction)

10 months agoFix crash when opening new tab with search
Akseli Lahtinen [Fri, 28 Feb 2025 17:43:20 +0000 (17:43 +0000)]
Fix crash when opening new tab with search

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

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 28 Feb 2025 01:40:36 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT Update Appstream for new release
Heiko Becker [Thu, 27 Feb 2025 19:56:48 +0000 (20:56 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit b16c9f666929d381f4f9d80befa3bc9bd3f14751)

10 months agostatusbar: fix offset for selectionModeBottomBar
Akseli Lahtinen [Thu, 27 Feb 2025 16:40:02 +0000 (16:40 +0000)]
statusbar: fix offset for selectionModeBottomBar

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.

10 months agodolphinview: Add widget parameter to elided QToolTip::showText
Akseli Lahtinen [Thu, 27 Feb 2025 10:07:33 +0000 (12:07 +0200)]
dolphinview: Add widget parameter to elided QToolTip::showText

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

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 27 Feb 2025 01:39:03 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoDo not show the Zoom toggle context menu on small statusbar
Akseli Lahtinen [Wed, 26 Feb 2025 10:30:43 +0000 (12:30 +0200)]
Do not show the Zoom toggle context menu on small statusbar

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.

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 26 Feb 2025 01:41:19 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 25 Feb 2025 01:40:01 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoAdd smaller statusbar and set it as default
Akseli Lahtinen [Mon, 24 Feb 2025 18:39:22 +0000 (18:39 +0000)]
Add smaller statusbar and set it as default

- 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

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 24 Feb 2025 10:31:20 +0000 (10:31 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 24 Feb 2025 01:39:43 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoImprove Close split menu action label
Kai Uwe Broulik [Sat, 22 Feb 2025 20:56:11 +0000 (21:56 +0100)]
Improve Close split menu action label

A "Close" isn't very descriptive. Instead, show "Close Left View"
or "Close Right View" in the menu.

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 23 Feb 2025 01:37:24 +0000 (01:37 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agokitemlistkeyboardsearchmanager: smarter search start position
Yifan Zhu [Thu, 20 Feb 2025 18:35:06 +0000 (10:35 -0800)]
kitemlistkeyboardsearchmanager: smarter search start position

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

10 months agoCI: require passing tests for merge
Yifan Zhu [Fri, 21 Feb 2025 18:30:23 +0000 (10:30 -0800)]
CI: require passing tests for merge

10 months agokitemlistcontrollertest: fix warnings
Méven Car [Thu, 20 Feb 2025 17:37:31 +0000 (18:37 +0100)]
kitemlistcontrollertest: fix warnings

NO_CHANGELOG

10 months agoAdd a dolphin to the icon
Darshan Phaldesai [Thu, 20 Feb 2025 12:18:14 +0000 (12:18 +0000)]
Add a dolphin to the icon

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.

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 19 Feb 2025 01:41:39 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 18 Feb 2025 01:40:49 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 18 Feb 2025 00:43:04 +0000 (00:43 +0000)]
GIT_SILENT made messages (after extraction)

10 months agokfileitemmodel: allow more than 2 single quotes in translated strings
Sergey Katunin [Mon, 17 Feb 2025 12:07:26 +0000 (16:07 +0400)]
kfileitemmodel: allow more than 2 single quotes in translated strings

This change concerns `timeRoleGroup`.

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 17 Feb 2025 01:38:09 +0000 (01:38 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 15 Feb 2025 01:57:24 +0000 (01:57 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 14 Feb 2025 01:46:11 +0000 (01:46 +0000)]
GIT_SILENT Sync po/docbooks with svn

10 months agoCI: Add linux-qt6-next build
Albert Astals Cid [Tue, 11 Feb 2025 23:52:29 +0000 (00:52 +0100)]
CI: Add linux-qt6-next build