]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
11 months agoElide file names in the middle again
Nate Graham [Fri, 3 Jan 2025 19:45:27 +0000 (12:45 -0700)]
Elide file names in the middle again

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

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

11 months agoWhen marking recent folders access specify mimeType
Méven Car [Fri, 29 Nov 2024 08:40:53 +0000 (09:40 +0100)]
When marking recent folders access specify mimeType

CCBUG: 496179

11 months agoFix focus changing when unminimising on X11
Felix Ernst [Sat, 4 Jan 2025 17:58:22 +0000 (18:58 +0100)]
Fix focus changing when unminimising on X11

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

11 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 6 Jan 2025 01:43:07 +0000 (01:43 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 5 Jan 2025 01:40:03 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoUpdate copyright to 2025
Justin Zobel [Sat, 4 Jan 2025 02:54:20 +0000 (02:54 +0000)]
Update copyright to 2025

BUG: 474515

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 3 Jan 2025 01:39:03 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Update Appstream for new release
Heiko Becker [Thu, 2 Jan 2025 13:02:02 +0000 (14:02 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit b3022e728b86f0ad94053369aedf164fee54c229)

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 2 Jan 2025 01:37:29 +0000 (01:37 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 1 Jan 2025 01:37:50 +0000 (01:37 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 31 Dec 2024 01:39:15 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 30 Dec 2024 01:46:14 +0000 (01:46 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoMirror details view mode for right-to-left languages
Felix Ernst [Sun, 29 Dec 2024 11:42:22 +0000 (11:42 +0000)]
Mirror details view mode for right-to-left languages

This commit implements mirroring of the details view mode for right-to-
left languages. This is the last of the Dolphin view modes which did
not adapt to right-to-left languages correctly.

Implementation-wise this is mostly about adapting the math so all the
information is placed correctly no matter the view mode or layout
direction. While most of the view actually changes the painting code
for right-to-left languages, for the column header I decided to keep
the logic left-to-right and instead reverse the order of the role
columns.

To implement this mirroring I needed to rework quite a bit of logic, so
I used the opportunity to fix some bugs/behaviur quirks:
- Left and right padding is now saved and restored separately instead
  of only saving the left padding
- Changing the right padding no longer disables "automatic column
  resizing".
- The grip handles for column resizing can now be grabbed when near the
  grip handle instead of only allowing grabbing when slightly to the
  left of the grip.
- Role column headers now only show a hover highlight effect when the
  mouse cursor is actually above that role and not above the grip
  handle or the padding.
- There is now a soft-boarder when shrinking the right padding so
  shrinking the padding "below zero width" will no longer immediately
  clear automatic resize behaviour. So now it is possible to simply
  remove the right padding by resizing it to zero width.

BUG: 449211
BUG: 495942

# Acknowledgement

This work is part of a my project funded through the NGI0 Entrust Fund,
a fund established by NLnet with financial support from the European
Commission's Next Generation Internet programme, under the aegis of DG
Communications Networks, Content and Technology.

12 months agoHave special keyboard controls in selection mode
Felix Ernst [Sun, 29 Dec 2024 11:27:18 +0000 (11:27 +0000)]
Have special keyboard controls in selection mode

Prior to this commit keyboard controls and behaviour of Dolphin's main
view were identical no matter if selection mode was enabled or not.
While selection mode makes it impossible to accidentally clear the
selection by singular mouse clicks, any press of an arrow key on the
keyboard would still clear the full selection which goes against
selection mode's objective.

Furthermore, keyboard-only users had no reason to ever enable selection
mode because it made no difference to them.

This commit changes this by offering a changed control scheme for key
presses while in selection mode. Arrow key presses without modifier now
only move focus between items but do no longer clear or change the
selection. Similarly, Page Up/Down, Home, and End key presses only move
keyboard focus. Enter, Return, and Space key presses now only toggle
the selection for the current item.

The above controls are however mostly unchanged when combining them
with Modifier keys like Shift or Control.

The type-ahead feature is also changed in selection mode to only move
keyboard focus without changing the selection.

This way keyboard users are less likely to clear their selection by
mistake. Regression tests are added for these selection mode controls.

The code changes to change this keyboard behaviour are quite minimal.
Most of the added code is for making selection mode accessible. That's
because we need to make sure the changed control scheme is properly
announced and communicated or a blind user will be left utterly
confused why the normal keyboard controls "stopped working".

Enabling or disabling selection mode is announced to accessibility
software. Furthermore whenever focus goes to the main view, the
selection mode state is also mentioned when active.

BUG: 458091

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 27 Dec 2024 01:41:38 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 26 Dec 2024 01:44:02 +0000 (01:44 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 25 Dec 2024 02:01:36 +0000 (02:01 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 24 Dec 2024 01:36:51 +0000 (01:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 21 Dec 2024 01:56:23 +0000 (01:56 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 20 Dec 2024 01:42:24 +0000 (01:42 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agodolphinview: Update thumbnail on filename change
Akseli Lahtinen [Thu, 19 Dec 2024 10:04:16 +0000 (10:04 +0000)]
dolphinview: Update thumbnail on filename change

If filename of an item was updated previously, it would modify the model
before the file was actually changed. This led to the model calling
a signal that would try to run a previewjob, but since the filename
is not actually changed yet on disk, it would fail.

This patch moves the model updating after copyjob. Copyjob
will take care of the file renaming if there is already existing file.
We just need to update the model correctly after the job has succeeded.

BUG:497555

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 19 Dec 2024 01:36:22 +0000 (01:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 17 Dec 2024 01:48:45 +0000 (01:48 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoViewProperties: Return nullptr if viewPropertiesString is empty
Akseli Lahtinen [Mon, 16 Dec 2024 19:00:03 +0000 (19:00 +0000)]
ViewProperties: Return nullptr if viewPropertiesString is empty

If viewPropertiesString is empty, return a nullptr.
This will later used in the stack by the defaultProperties call.

In defaultProperties, if we can't find the global directory,
create new one with a tempfile. If tempfiles can't be created,
use default instead.

This will ensure that view settings are saved and loaded correctly
if user has separate view properties per folder.

This will also add an unit test, where we create a global directory,
modify it and make sure the changes are reflected in the unmodified
folder.

BUG:495878

12 months agoDolphinViewContainer: make sure searchbox is initialized before setSearchPath
Akseli Lahtinen [Mon, 16 Dec 2024 12:25:43 +0000 (12:25 +0000)]
DolphinViewContainer: make sure searchbox is initialized before setSearchPath

If searchBox is not initialized, it can't be updated properly
with setSearchPath due to some buttons not existing.
There is also just no need to update it if it's not initialized.

Make sure we check for it's initialized during setting the search path.

BUG:497021

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 16 Dec 2024 02:16:15 +0000 (02:16 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 14 Dec 2024 02:19:18 +0000 (02:19 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 14 Dec 2024 01:47:37 +0000 (01:47 +0000)]
SVN_SILENT made messages (.desktop file) - always resolve ours

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"

12 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 14 Dec 2024 00:56:21 +0000 (00:56 +0000)]
GIT_SILENT made messages (after extraction)

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 13 Dec 2024 01:34:57 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 10 Dec 2024 01:38:47 +0000 (01:38 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoFix inline renaming multiple files when renaming changes sorting order
Ilia Kats [Mon, 9 Dec 2024 11:31:44 +0000 (11:31 +0000)]
Fix inline renaming multiple files when renaming changes sorting order

Suppose we are renaming file i and the new name will be sorted after
file i+1. We are now pressing ArrowDown to immediately start renaming
file i+1. However, because of the sorting we would not actually end up
renaming what used to be file i+1. What would happen is that editing
would be started in dolphinview.cpp:2065. However, after 100 ms the
timer in KFileItemModel would fire, resulting in the model emitting
itemsMoved(). This would trigger doLayout() in
KItemListView::slotItemsMoved(). doLayout() resizes the
KItemListWidgets, wich causes the renaming to be canceled in
KStandardItemListWidget::resizeEvent().

Now, we start a new renaming operation for the correct widget after the
relayouting is complete.

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 9 Dec 2024 01:42:08 +0000 (01:42 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 9 Dec 2024 00:43:38 +0000 (00:43 +0000)]
GIT_SILENT made messages (after extraction)

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 8 Dec 2024 01:33:00 +0000 (01:33 +0000)]
GIT_SILENT Sync po/docbooks with svn

12 months agoCI: Flatpak: Add ark for compression
Justin Zobel [Fri, 6 Dec 2024 00:27:14 +0000 (10:57 +1030)]
CI: Flatpak: Add ark for compression

12 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 7 Dec 2024 01:35:27 +0000 (01:35 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 6 Dec 2024 01:34:47 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoAdapt to Orca 47
Felix Ernst [Fri, 1 Nov 2024 23:39:19 +0000 (00:39 +0100)]
Adapt to Orca 47

The screen reader Orca has seen some fundamental changes between
Orca 46 and Orca 47. While they are improvements overall, they do
require changes to Dolphin to preserve the intended user
experience for Orca users.

The biggest change is perhaps that Orca will now not only announce
changes to the currently focused item, but also of its parent,
which means we do not need to pass focus around between file items
and the main view within Dolphin, but can keep focus on the file
items most of the time. This commit implements this.

The only exception of when we cannot have focus on the items within
the main view is when the current location is empty or not loaded
yet. Only then is the focus moved to the view itself and the
placeholderMessage is announced.

This commit worsens the UX for users of Orca 46 or older, so this
should only be merged once most users are on Orca 47 or later.

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 5 Dec 2024 01:36:09 +0000 (01:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoAlways focus the view after place activation
Felix Ernst [Fri, 29 Nov 2024 17:57:37 +0000 (18:57 +0100)]
Always focus the view after place activation

This one-liner makes sure keyboard focus always moves to the active
view when a place in the places panel is activated. Previously
focus would remain on the places panel if the activated location
was identical to the already displayed location.

This added consistency is helpful because keyboard-only users will
get used to be able to move from the places panel to the view by
pressing the Enter key, even though this does not always work
prior to this commit.

This issue was identified in an accessibility scan done by HAN
University of Applied Science.

13 months agoGIT_SILENT Update Appstream for new release
Heiko Becker [Mon, 2 Dec 2024 23:15:51 +0000 (00:15 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 73b83b866eae1e095d84d611ceb6dd094a54b98f)

13 months agoKItemListSmoothScroller: stop animation on property or targetobject change
Akseli Lahtinen [Mon, 2 Dec 2024 09:40:03 +0000 (11:40 +0200)]
KItemListSmoothScroller: stop animation on property or targetobject change

Due to changes in 15e0c2a98f480f203ce168b6fa9a2e1f2b0ed8f8 we do not
automatically stop animations now on property or targetobject change,
which causes warnings and timeouts.

This patch makes sure we stop them if their state is Running,
before modifying them.

See also:
https://invent.kde.org/system/dolphin/-/merge_requests/857#note_1083279

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 2 Dec 2024 02:08:32 +0000 (02:08 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 2 Dec 2024 01:33:32 +0000 (01:33 +0000)]
SVN_SILENT made messages (.desktop file) - always resolve ours

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"

13 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 2 Dec 2024 00:44:54 +0000 (00:44 +0000)]
GIT_SILENT made messages (after extraction)

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 1 Dec 2024 01:35:28 +0000 (01:35 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 30 Nov 2024 01:34:40 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoMake "open path" and "open path in new tab" scroll to the selected item
Akseli Lahtinen [Fri, 29 Nov 2024 09:24:55 +0000 (09:24 +0000)]
Make "open path" and "open path in new tab" scroll to the selected item

**Open Path**

When user clicks on "Open Path" after searching for an item,
user expects the view to show the item immediately.

We wait for the KItemListSmoothScroller to be done with its animation before the
scrollbar sizes are being changed.

**Open Path in New Tab**

When user selects "Open Path in New Tab", we open a new tab to the folder where the file is, then select and set the file current. We need to get the correct tab when opening one, so it has been added as a return value.

BUG:495613

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 29 Nov 2024 01:40:35 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoDolphinTabPage: Update container view url on redirection
Akseli Lahtinen [Thu, 28 Nov 2024 10:46:33 +0000 (10:46 +0000)]
DolphinTabPage: Update container view url on redirection

On url redirect, we should check which container url is being changed
and then update it accordingly. This makes sure the tab name is
updated.

We also should not disconnect redirection on view activation
since the redirection might be used by the other split.
The disconnection is done in `setSplitViewEnabled` instead.

This allows us to update the tab name every time the url changes,
even inside a splitview where the split which name is changed is
not active.

BUG:496414

13 months agofix: Flatpak must have --filesystem=~/.var/app
Ryan Brue [Thu, 28 Nov 2024 05:56:28 +0000 (23:56 -0600)]
fix: Flatpak must have --filesystem=~/.var/app

This permission is needed because --filesystem=host doesn't expose other flatpak files from ~/.var/app

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 28 Nov 2024 01:33:48 +0000 (01:33 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoDolphinViewContainer: setSearchPath value only if searchBox is active
Akseli Lahtinen [Wed, 27 Nov 2024 10:28:13 +0000 (12:28 +0200)]
DolphinViewContainer: setSearchPath value only if searchBox is active

Fixes a crash when searchbox is not active and tab gets renamed.

I forgot to add this to merge request
https://invent.kde.org/system/dolphin/-/merge_requests/864

CCBUG:496387

13 months agoDolphinViewContainer: set searchPath on redirect, check for connected urlNavigator
Akseli Lahtinen [Wed, 27 Nov 2024 10:00:02 +0000 (10:00 +0000)]
DolphinViewContainer: set searchPath on redirect, check for connected urlNavigator

This fixes a dolphin crash if tab with a search box open gets its path
changed while its not active.

This patch adds a guard for the m_urlNavigatorConnected->setLocation,
and makes sure the searchPath is set to the correct folder.

BUG:496387

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 27 Nov 2024 01:36:45 +0000 (01:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoSwitch to C++20
Méven Car [Sun, 24 Nov 2024 13:40:25 +0000 (14:40 +0100)]
Switch to C++20

13 months agoDolphinView: fix typos in signal connection
Méven Car [Mon, 25 Nov 2024 11:48:17 +0000 (12:48 +0100)]
DolphinView: fix typos in signal connection

NO_CHANGELOG

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 25 Nov 2024 01:38:11 +0000 (01:38 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 22 Nov 2024 01:35:48 +0000 (01:35 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoDolphinView: beginAnchoredSelection after setSelected in selectNextItem
Akseli Lahtinen [Thu, 21 Nov 2024 12:42:45 +0000 (12:42 +0000)]
DolphinView: beginAnchoredSelection after setSelected in selectNextItem

Currently when next item is set selected, it's not set as an anchor.
This means that shift-click will not select items between the selection
and the next item, and instead behaves like ctrl-click.
This is rather inconsistent behavior.

We should set the next selected item as an anchor so that shift-click
will work: This change starts the `beginAnchoredSelection`
process after `setSelection`.

For example, if user trashes an item and the next item is selected,
shift-click would stop working.

BUG:495371

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 20 Nov 2024 01:36:37 +0000 (01:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoUpdate org.kde.dolphin.appdata.xml
Paul Brown [Tue, 19 Nov 2024 10:52:33 +0000 (10:52 +0000)]
Update org.kde.dolphin.appdata.xml

13 months agoUpdate org.kde.dolphin.appdata.xml
Paul Brown [Tue, 19 Nov 2024 10:51:44 +0000 (10:51 +0000)]
Update org.kde.dolphin.appdata.xml

13 months agonatural sort: exclude extension when comparing filenames
Eren Karakas [Tue, 19 Nov 2024 09:08:45 +0000 (09:08 +0000)]
natural sort: exclude extension when comparing filenames

Currently natural sort compares the entire filenames
(basename.extension) when sorting. This causes eg.
"a 2.txt" to appear before "a.txt" when sorted by ascending.
This is unintuitive since people prioritize basenames more
than file extensions.

Instead, change natural sort to compare by basename only and
fallback to comparing extensions if basenames were equal.
This change causes "a.txt" to appear before "a 2.txt" and
matches how other platforms such as GNOME and Windows behave.

BUG: 416025
BUG: 470538
BUG: 421869
BUG: 312027

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 19 Nov 2024 01:35:20 +0000 (01:35 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 18 Nov 2024 01:40:26 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoUpdated supporters
Paul Brown [Sun, 17 Nov 2024 18:00:01 +0000 (18:00 +0000)]
Updated supporters

13 months agoAdded supporters
Paul Brown [Sat, 16 Nov 2024 18:11:19 +0000 (18:11 +0000)]
Added supporters

13 months agoAdded supporter from fundraiser
Paul Brown [Fri, 15 Nov 2024 19:02:59 +0000 (19:02 +0000)]
Added supporter from fundraiser

13 months agoCI Flatpak - Add required permission
Justin Zobel [Sun, 10 Nov 2024 12:37:05 +0000 (23:07 +1030)]
CI Flatpak - Add required permission

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 14 Nov 2024 01:36:14 +0000 (01:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoFoldersTabsSettingsPage: Remove double cast, remove unnecessary variable
Akseli Lahtinen [Wed, 13 Nov 2024 09:46:32 +0000 (11:46 +0200)]
FoldersTabsSettingsPage: Remove double cast, remove unnecessary variable

This uses only qobject_cast here, having static_cast after it is
redundant.

Also remove the topLevelWidgets variable, since we can just
call the method instead.

13 months agogeneralviewsettingspage: Use qobject_cast instead of static_cast
Akseli Lahtinen [Wed, 13 Nov 2024 09:41:45 +0000 (11:41 +0200)]
generalviewsettingspage: Use qobject_cast instead of static_cast

In generalViewSettingsPage, ActiveWindow is not necessarily a
mainWindow, which can cause dolphin to crash. For example when user
opens folder properties and then dolphin settings, this part thinks
the folder settings is mainWindow.

Instead of static_cast, use qobject_cast, since it will return nullptr
if the DolphinMainWindow is not found.

BUG:492741

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 13 Nov 2024 01:34:40 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoAvoid flickering of space info on startup
Felix Ernst [Sun, 10 Nov 2024 15:47:19 +0000 (16:47 +0100)]
Avoid flickering of space info on startup

Prior to this commit, when Dolphin was opening in a directory for
which the free space information cannot be retrieved, the free
space info in the status bar would still briefly be visible before
hiding for good.

This commit avoids this flickering by keeping the space info hidden
until space info has been successfully retrieved. There is no use
showing an empty/wrong space info before that anyway.

I assume the error in the previous code was that it assumed that
one could prevent a widget from being shown by overriding
QWidget::showEvent(). This does not work because this method is
only called to notify QWidgets of their state change.

This commit was primarily written because the brief showing of an
empty space info was messing with automatic tests.

13 months agoTest that each object has distinguishable accessible info
Felix Ernst [Tue, 12 Nov 2024 10:52:16 +0000 (10:52 +0000)]
Test that each object has distinguishable accessible info

This commit extends the dolphinmainwindowtest for the accessible tree
to test that each object a user can reach through the Tab key or the
Shift+Tab key combination is distinguishable by its accessible info
from the previous object.

Objects are considered distinguishable if they have different
accessible names or their first ancestor with an accessible name is
different.

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 12 Nov 2024 01:38:00 +0000 (01:38 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 11 Nov 2024 01:42:38 +0000 (01:42 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 11 Nov 2024 01:26:29 +0000 (01:26 +0000)]
SVN_SILENT made messages (.desktop file) - always resolve ours

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"

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 10 Nov 2024 01:43:19 +0000 (01:43 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoGIT_SILENT Upgrade release service version to 25.03.70.
Albert Astals Cid [Fri, 8 Nov 2024 18:13:13 +0000 (19:13 +0100)]
GIT_SILENT Upgrade release service version to 25.03.70.

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 7 Nov 2024 01:35:36 +0000 (01:35 +0000)]
GIT_SILENT Sync po/docbooks with svn

13 months agoSkip splitter in Tab order
Felix Ernst [Mon, 4 Nov 2024 01:06:29 +0000 (02:06 +0100)]
Skip splitter in Tab order

When moving through Dolphin by repeatedly pressing the Tab key,
there is one seemingly invisible object that catches keyboard
focus. On a default toolbar it receives keyboard focus between the
"Details View Mode" button and the first button of the location
bar. That object is the splitter of the location bar itself, which
never requires manipulation by keyboard. This commit skips this
object by setting its focusProxy to the primaryUrlNavigator()
instead.

13 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 6 Nov 2024 01:35:02 +0000 (01:35 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 5 Nov 2024 01:34:25 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agowhen splitting view, use selected folder as url
Méven Car [Sat, 2 Nov 2024 12:59:45 +0000 (13:59 +0100)]
when splitting view, use selected folder as url

BUG: 483937

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 2 Nov 2024 01:33:56 +0000 (01:33 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 1 Nov 2024 01:33:24 +0000 (01:33 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoMake Escape move focus from location bar to view
Felix Ernst [Mon, 28 Oct 2024 02:58:45 +0000 (03:58 +0100)]
Make Escape move focus from location bar to view

Pressing Escape on the location bar while in breadcrumb mode has no
effect at all. This commit changes this to instead move the focus
to the active view. This is more logical because a user pressing
escape while having focus on the location bar is no longer
interested in interacting and changing the location in the location
bar. They most likely want to act on the current location instead.

14 months agoHave "Replace Location" toggle focus of the view
Felix Ernst [Mon, 28 Oct 2024 02:22:05 +0000 (03:22 +0100)]
Have "Replace Location" toggle focus of the view

The "Replace Location" action moves focus to the location bar and
selects the full path there so it can easily be replaced with a
different path.

When the full path is already selected, triggering "Replace
Location" will toggle the editable state of the location bar.
This commit makes it, that this also moves the focus to the view.
This way, pressing Ctrl+L multiple times will switch back and forth
between focusing and selecting the location bar path and focusing
the view. This seems more sensible than only partially resetting
the state when the "Replace Location" keyboard shortcut is pressed
twice.

14 months agorefactor: replace QString() with QStringLiteral() for better performance
Zhangzhi Hu [Tue, 29 Oct 2024 16:18:57 +0000 (00:18 +0800)]
refactor: replace QString() with QStringLiteral() for better performance

14 months agoCMakeLists: make KFileMetadata a required dependency
Méven Car [Thu, 31 Oct 2024 09:36:15 +0000 (10:36 +0100)]
CMakeLists: make KFileMetadata a required dependency

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 31 Oct 2024 01:34:42 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoGIT_SILENT Update Appstream for new release
Heiko Becker [Wed, 30 Oct 2024 23:24:00 +0000 (00:24 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 0fb381a7edef8b3c60f1c01fb7cc9d9335556fb4)

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 30 Oct 2024 01:33:36 +0000 (01:33 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 29 Oct 2024 01:33:29 +0000 (01:33 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 29 Oct 2024 01:24:40 +0000 (01:24 +0000)]
SVN_SILENT made messages (.desktop file) - always resolve ours

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"

14 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 29 Oct 2024 00:42:16 +0000 (00:42 +0000)]
GIT_SILENT made messages (after extraction)