]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
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)

14 months agoOverhaul main view accessibility
Felix Ernst [Mon, 28 Oct 2024 13:25:10 +0000 (13:25 +0000)]
Overhaul main view accessibility

This commit brings the main view of Dolphin into a usable state
accessibility-wise. Users of screen readers should have a way better
experience while browsing files and folders and navigating along the
file system hierarchy.

This commit fixes most of the remaining already-identified
accessibility issues listed in
https://invent.kde.org/teams/accessibility/collaboration/-/issues/28,
but not all. Namely, these should now be fixed:

1. Orca should read the element type in dolphin (file, folder, device,
link to folder, link to file)
2. Orca should read complete label in icon and compact view mode,
currently it only speaks the name, but there could be additional
information like the number of elements or the file size.
3. Orca is not able to announce Selecting / Unselecting files in
Dolphin. It also never announces how many items are selected in total.
(Announcing the total selection can be done by reading out the view
element or by pressing the Tab key to get to the status bar with the
relevant information.)
4. Dolphin opens on the home directory, but Orca doesn't tell you so.
Consider enclosing the area in a frame/panel which updates its
accessible name each time you modify the current path by entering or
leaving a directory.
5. I don't know what the folder presentation widget is, but it should
be presented as a grid view. Currently, we have a terrible experience
because the entire row of folders is read at once, with no indication
that we can move left and right with the arrows to go between the
elements of a row. When I found that out, however, I discovered that
when you're on the last icon of the first row and press right arrow,
you get to the first icon of the next row, but that's not announced,
instead, the whole row is announced at once
6. Orca should announce the current elements instead of "layered pane"
when the Folder / File view gets the focus in dolphin
7. Orca reads only name in Table View only of Dolphin
8. Items are sometimes confusingly announced as "collapsed" in contexts
in which there is no concept of collapsing/expanding e.g. in icon view
mode.

A lot of code was moved around and renamed. The three accessibility
classes, which all used to be in the same file, are moved into separate
files.

*Acknowledgement*
Thanks to Christian Hempfling and bgt lover for testing as well as
originally identifying a lot of the pain points being addressed here.

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.
https://kde.org/announcements/2024_ngi_openletter/

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 28 Oct 2024 01:38:39 +0000 (01:38 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoViewProperties: Store view properties in extended file attributes
Méven Car [Sun, 27 Oct 2024 17:20:40 +0000 (17:20 +0000)]
ViewProperties: Store view properties in extended file attributes

Existing settings are converted.

Works on most FS except FAT/exFAT which fallback to .directory files.

If the extended file attributes (in ADS in Windows) can't be saved, they are saved to file as before.

BUG: 322922

You can see file xattr using for instance for Unix filesystems:

getfattr -d /home/meven

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

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 21 Oct 2024 01:35:11 +0000 (01:35 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoAdd a sort by duration option for videos
Somsubhra Bairi [Fri, 18 Oct 2024 02:42:06 +0000 (08:12 +0530)]
Add a sort by duration option for videos

BUG: 482508

Signed-off-by: Somsubhra Bairi <somsubhra.bairi@gmail.com>
14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 18 Oct 2024 01:32:27 +0000 (01:32 +0000)]
GIT_SILENT Sync po/docbooks with svn

14 months agoAdd test to avoid accidental divergence of desktop and phone ui
Felix Ernst [Mon, 23 Sep 2024 15:34:20 +0000 (17:34 +0200)]
Add test to avoid accidental divergence of desktop and phone ui

The dolphinui.rc and dolphinuiforphones.rc file describe parts of
the desktop and phone user interfaces for Dolphin. They are meant
to be different in specific ways, but identical in many others.

This test makes sure that the two ui files stay mostly identical by
requiring any differences between them need to be explicitly
stated/registered as an exception in the test. This way no
accidental divergence of user interfaces can happen.

14 months agoMove settings category switcher to the top on mobile
Felix Ernst [Tue, 17 Sep 2024 09:34:30 +0000 (11:34 +0200)]
Move settings category switcher to the top on mobile

There is not enough horizontal space to show the full Dolphin
settings window on the average phone. This commit saves some
horizontal space by moving the category switcher in Dolphin
settings from being a list on the left to being tabs on the top.

14 months agoDisable inline renaming for phones by default
Felix Ernst [Mon, 16 Sep 2024 14:52:59 +0000 (16:52 +0200)]
Disable inline renaming for phones by default

It currently does not seem to work together with virtual keyboards.

14 months agoAdd phone UI
Felix Ernst [Sun, 15 Sep 2024 16:52:49 +0000 (18:52 +0200)]
Add phone UI

Previous to this commit launching Dolphin on phones (e.g. those
running Plasma Mobile) would show Dolphin with its default user
interface optimised for desktop usage. This commit changes this so
instead a phone form factor optimised user interface is used.

The differences to the default UI configuration are:
-Toolbar at bottom
-Icon-only toolbar
-Different actions on the toolbar
-Places panel hidden
-Location bar at the top with a button to show places
-Zoom slider hidden (pinch gestures to zoom still work)

Through these changes Dolphin actually has a good user experience
on phones by default. All the features were already there.
Especially Steffen Hartleib's work to trigger selection mode on
long press leads to great UX when dealing with multiple files.

Still, this might be considered just a start towards making Dolphin
great on phone form factors. Secondary windows that Dolphin might
spawn are not yet adapted, but are usable on Plasma Mobile as they
are anyway.

14 months agokitemlistcontroller: process forward/back buttons when double-clicking
Wolfgang Müller [Mon, 14 Oct 2024 16:43:28 +0000 (18:43 +0200)]
kitemlistcontroller: process forward/back buttons when double-clicking

Tapping the forward or back mouse buttons quickly enough makes Dolphin
interpret the action as a double-click of the button in question and
handle it in mouseDoubleClickEvent() instead of its normal button
handler. This means that certain button presses might seem delayed or
"swallowed" when quickly navigating forwards or backwards through the
history.

Since a double-click of the forward or back button is currently
meaningless, fix this by emitting a normal mouseButtonPressed event for
those buttons in the double-click handler and skipping any further event
processing.

Co-authored-by: Felix Ernst <felixernst@zohomail.eu>
CCBUG: 485295

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

14 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 16 Oct 2024 00:43:36 +0000 (00:43 +0000)]
GIT_SILENT made messages (after extraction)

14 months agoFix double-click view background feature
Felix Ernst [Mon, 14 Oct 2024 12:44:47 +0000 (14:44 +0200)]
Fix double-click view background feature

c934e803647674b4692668f047b6ffa18121982a was meant to change the
double-click view background feature to only allow double-clicks
with the left mouse button. However, it mistakenly did the exact
opposite and allowed every double-click except ones with the left
mouse button to trigger the feature. This one-liner fixes this.

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

14 months agoAdd context menu items to Trash view and items
Eren Karakas [Mon, 14 Oct 2024 15:52:36 +0000 (15:52 +0000)]
Add context menu items to Trash view and items

Sort by and View mode are already available through hamburger menu; cut and copy are already available through shortcuts
BUG: 493808
BUG: 476955

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

14 months agodolphinview: when rename dialog finishes, immediately update the model and the selection
Jin Liu [Fri, 11 Oct 2024 08:21:14 +0000 (16:21 +0800)]
dolphinview: when rename dialog finishes, immediately update the model and the selection

On sucessful return of the rename dialog, we update
the model and the selection immediately to reflect
the new name. This is to avoid the short duration
after the rename during which the selection is lost.

Currently, after the rename dialog finishes, the selection
is briefly lost for about 1 second until the view
automatically refreshes.

This patch updates the model and selection immediately
after the dialog finishes, so the renamed file is still
selected.

BUG: 481717

14 months agodolphinview: after inline renaming, immediately update the selection
Jin Liu [Fri, 11 Oct 2024 08:17:04 +0000 (16:17 +0800)]
dolphinview: after inline renaming, immediately update the selection

Currently, the inline renaming updates the model and
the list of selected files (m_selectedUrls) immediately
after the user presses enter, but the selection in the
view is not immediately updated. This results in the
selection to be briefly lost for about 1 second until
the view automatically refreshes.

This patch updates the selection immediately after
the user presses enter, so the renamed file is still
selected.

BUG: 481717

14 months agoKFileItemModel: fix `setData` in the renaming usage
Jin Liu [Fri, 11 Oct 2024 08:08:31 +0000 (16:08 +0800)]
KFileItemModel: fix `setData` in the renaming usage

The `setData` function is used by inline renaming to
update the `text` role (i.e. file name) in the model
before actually do the renaming.

However, the current implementation only updates `text`
and url in KFileItem in this case, leaving the `url` role
and the `m_items` cache untouched. This makes the cache
incoherent, so `index()` won't find the renamed item. It
also makes the `url` role incoherent with the `text` role.

This also fixes the problem mentioned in bug #481561
where when inline renaming fails, it still shows the new
name. (Because `m_model->index` fails to find the new name
and rename it back on job failure.)

BUG: 481561

14 months agodolphinview: add error message when renaming failed in dialog mode
Jin Liu [Fri, 11 Oct 2024 04:45:09 +0000 (12:45 +0800)]
dolphinview: add error message when renaming failed in dialog mode

BUG: 481561

14 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 11 Oct 2024 01:40:38 +0000 (01:40 +0000)]
GIT_SILENT Sync po/docbooks with svn

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

14 months agodaemon: prevent daemon to quit on `openNewWindow`
Jin Liu [Tue, 1 Oct 2024 11:20:04 +0000 (19:20 +0800)]
daemon: prevent daemon to quit on `openNewWindow`

14 months agoAccessibility: Fix message boxes not being announced
Felix Ernst [Thu, 3 Oct 2024 09:18:59 +0000 (11:18 +0200)]
Accessibility: Fix message boxes not being announced

This commit moves the focus to the message of newly shown passive
messages when accessibility software is used. Moving focus to an
object generally means that it will be announced, so this makes
sure that users of accessibility software know when they are being
notified of a change.

14 months agoDolphinViewContainer: Delay changing the url
Amol Godbole [Sun, 15 Sep 2024 23:49:43 +0000 (18:49 -0500)]
DolphinViewContainer: Delay changing the url

KCoreDirLister::itemsDeleted() signal is being emitted twice for the
same url. This results in Dolphin displaying an incorrect location.
Delay changing the url instead of delaying
DolphinView::currentDirectoryRemoved() so that the check for current
directory being removed in KFileItemModel::slotItemsDeleted() occurs
correctly, while still ensuring that KCoreDirLister is not prematurely
modified.

BUG: 492277, BUG: 473377

14 months agoGIT_SILENT Update Appstream for new release
Heiko Becker [Sun, 6 Oct 2024 18:26:03 +0000 (20:26 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 2f8b55cd88ebaa258a04a01b7b789592bb064fe2)

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 6 Oct 2024 01:32:55 +0000 (01:32 +0000)]
GIT_SILENT Sync po/docbooks with svn

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

15 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 30 Sep 2024 00:41:36 +0000 (00:41 +0000)]
GIT_SILENT made messages (after extraction)

15 months agoAdd missing include moc
Laurent Montel [Sun, 29 Sep 2024 14:07:21 +0000 (16:07 +0200)]
Add missing include moc

15 months agoGIT_SILENT Re-enable Windows CD
Julius Künzel [Sat, 28 Sep 2024 17:34:49 +0000 (17:34 +0000)]
GIT_SILENT Re-enable Windows CD

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 28 Sep 2024 01:33:29 +0000 (01:33 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 27 Sep 2024 01:37:32 +0000 (01:37 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 27 Sep 2024 01:25:00 +0000 (01:25 +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"

15 months agoDolphinpart: Define KPart capabilities instead of deprecated ServiceTypes
Alexander Lohnau [Mon, 16 Sep 2024 19:31:22 +0000 (21:31 +0200)]
Dolphinpart: Define KPart capabilities instead of deprecated ServiceTypes

By now, Konqueror uses the new mechanism introduced in
https://invent.kde.org/frameworks/kparts/-/merge_requests/86.
Thus, we can avoid using the deprecated SeviceTypes which are also
removed from the official KPluginMetaData API.

15 months agoMoveToNewFolderAction: Remove unneeded ServiceType definition from metadata
Alexander Lohnau [Mon, 16 Sep 2024 19:30:52 +0000 (21:30 +0200)]
MoveToNewFolderAction: Remove unneeded ServiceType definition from metadata

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 25 Sep 2024 01:34:51 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 24 Sep 2024 01:44:41 +0000 (01:44 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 22 Sep 2024 01:35:39 +0000 (01:35 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 21 Sep 2024 01:36:37 +0000 (01:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 20 Sep 2024 01:41:20 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 20 Sep 2024 00:43:57 +0000 (00:43 +0000)]
GIT_SILENT made messages (after extraction)

15 months agoIgnore trailing slashes when comparing place URLs
Wolfgang Müller [Thu, 19 Sep 2024 09:46:09 +0000 (11:46 +0200)]
Ignore trailing slashes when comparing place URLs

There's two locations where place URLs are compared in Dolphin. One
is in DolphinContextMenu::placeExists, which determines whether or not
to show an "Add to Places" context menu entry. The other one is in
DolphinViewContainer::caption, which provides the place name for use in
the window title, if applicable.

Neither of these functions correctly normalize the URL to account for
trailing slashes. Whilst placeExists() does not even attempt it,
caption() was changed in 681d8bb6c (Fix wrong window titles, 2019-09-15)
to support this using a regular expression.

However, caption() fails to escape the URL before incorporating it in
the regular expression, leading to failed matches and errors like the
following when browsing to directories that do not happen to make up a
valid regular expression:

    QString(View)::contains(): called on an invalid QRegularExpression
    object (pattern is '\A(?:file:///home/foo/[Z-A]/?)\z')

Instead of relying on complex and possibly brittle regular expressions,
use KFilePlacesModel's closestItem() function to find the closest
matching URL and then finally check whether the normalized URLs match
exactly.

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 18 Sep 2024 01:39:11 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agodolphintrash.cpp: Update trash dir on device changes
Akseli Lahtinen [Tue, 17 Sep 2024 09:28:49 +0000 (09:28 +0000)]
dolphintrash.cpp: Update trash dir on device changes

Make sure we update the trash directory when storage devices are added/changed.
This ensures that whenever a mounted device, for example
USB stick is mounted/unmounted, the contents are properly
updated in the trash folder as well.

Otherwise the trash folder and USB stick trash folder will get
out of sync, making the trash folder behavior unpredictable.

BUG:493247

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 16 Sep 2024 01:52:30 +0000 (01:52 +0000)]
GIT_SILENT Sync po/docbooks with svn

15 months agoViewProperties: sort by accesstime for recentlyused
Méven Car [Fri, 13 Sep 2024 13:59:48 +0000 (15:59 +0200)]
ViewProperties: sort by accesstime for recentlyused

By default.

Since recentlyused:/ fills only access time based on the DB data.

timeline:/ is also included.

CCBUG: 437382

15 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 14 Sep 2024 01:41:14 +0000 (01:41 +0000)]
GIT_SILENT Sync po/docbooks with svn

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

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

15 months agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 6 Sep 2024 21:59:50 +0000 (23:59 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit f8f4c5bc12fa14cfa3efb800049a3efeb9a84189)