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

15 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

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

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

16 months ago[terminal] Don't try to change dir into an empty URL
Nicolas Fella [Sun, 1 Sep 2024 16:24:05 +0000 (18:24 +0200)]
[terminal] Don't try to change dir into an empty URL

SENTRY: DOLPHIN-2Q4

16 months agoDon't crash when there is no view container yet
Nicolas Fella [Sun, 1 Sep 2024 16:21:53 +0000 (18:21 +0200)]
Don't crash when there is no view container yet

SENTRY: DOLPHIN-2Q3

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

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 31 Aug 2024 01:32:03 +0000 (01:32 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agosettings: Fix the Use Current Location button
Akseli Lahtinen [Fri, 30 Aug 2024 10:54:56 +0000 (10:54 +0000)]
settings: Fix the Use Current Location button

During the Dolphin settings revamp
(https://invent.kde.org/system/dolphin/-/commit/489b56b68bb29e81337e115c490eea4403001b71?)
this QUrl had been forgot to add back so that the
FoldersTabsSettingsPage knows what is the current url.

This change checks for the main window of dolphin, then gets
the URL of it whenever useCurrentLocation is called.

However, when this is used as KCM, the button is not
created, since there it doesn't make sense.

BUG:491753

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 30 Aug 2024 01:39:39 +0000 (01:39 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 29 Aug 2024 01:31:58 +0000 (01:31 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoMake settings tabbar expanding
Carl Schwan [Tue, 27 Aug 2024 22:16:59 +0000 (00:16 +0200)]
Make settings tabbar expanding

Allow to use https://invent.kde.org/plasma/breeze/-/merge_requests/478
but even without the breeze MR, it look better and similar to what we do
with other settings page.

16 months agoKItemListRoleEditor: minimize resize() occurences
Méven Car [Sun, 25 Aug 2024 09:50:21 +0000 (11:50 +0200)]
KItemListRoleEditor: minimize resize() occurences

Adjust document width to match its widget width.

BUG: 479695

16 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 28 Aug 2024 01:32:24 +0000 (01:32 +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"

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 27 Aug 2024 01:34:55 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 27 Aug 2024 01:22:38 +0000 (01:22 +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"

16 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 27 Aug 2024 00:41:51 +0000 (00:41 +0000)]
GIT_SILENT made messages (after extraction)

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

16 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 26 Aug 2024 01:23:13 +0000 (01:23 +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"

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 25 Aug 2024 01:31:52 +0000 (01:31 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 24 Aug 2024 01:32:00 +0000 (01:32 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoUse QLocale to display localized time role group
Jérôme Lécuyer [Wed, 21 Aug 2024 23:27:07 +0000 (01:27 +0200)]
Use QLocale to display localized time role group

Use QLocale to format the QDateTime displayed as the role/label of a group.
`QDateTime::toString` format the date and month names in English.
`QLocale::toString` returns them localized.
See the note about day and month names at https://doc.qt.io/qt-6/qdatetime.html#toString

BUG: 488088

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 22 Aug 2024 01:38:26 +0000 (01:38 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 21 Aug 2024 01:42:38 +0000 (01:42 +0000)]
GIT_SILENT Sync po/docbooks with svn

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

16 months agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 20 Aug 2024 01:25:27 +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"

16 months agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 20 Aug 2024 00:43:00 +0000 (00:43 +0000)]
GIT_SILENT made messages (after extraction)

16 months agoFix middle-click not following the "Open archives as folder" setting
Jin Liu [Mon, 19 Aug 2024 11:15:23 +0000 (11:15 +0000)]
Fix middle-click not following the "Open archives as folder" setting

Previous to this commit middle-clicking an archive would always open it
in a new tab. This contradicts the recent change
d27ee07de7558470ef7b497fbe3d3504ce7cad07 which made it so middle-click
would open an item in the second application that is available to open
a file.

With this commit, middle-clicking will treat the archive like a folder
only when GeneralSettings::browseThroughArchives is enabled or when
there is no second application available. Otherwise middle-click will
open the archive in the second available application.

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 19 Aug 2024 01:34:22 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoImplement "Focus Places Panel"
Felix Ernst [Sun, 18 Aug 2024 21:41:34 +0000 (21:41 +0000)]
Implement "Focus Places Panel"

This commit implements an action to move focus to the Places panel
analogous to "Focus Terminal Panel" functionality-wise.
The implementation of the "Focus Terminal Panel" and "Focus Places
Panel" actions is streamlined while improving their code quality.

The "Focus Terminal Panel" action is moved into the "Show Panels"
sub-menu because it makes more sense to be there considering that its
previous location (the "Tools" menu) is meant for external applications
and not for functionality internal to Dolphin.

This commit also makes it so the keyboard focus is moved to and from
the Places panel whenever it is toggled visible or invisible. This is
now consistent with the focus handling when the Terminal panel is shown
or hidden.

The "Focus Places Panel" is one of the actions which was wished for in
KDE's accessibility chat room because people relying on keyboard
controls might need to press the Tab key a lot to move from the view to
the Places panel.

The new default shortcut is Ctrl+P.

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 18 Aug 2024 01:34:41 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoKStandardItemListWidget: remove obselete comment
Yifan Zhu [Sat, 17 Aug 2024 17:50:09 +0000 (10:50 -0700)]
KStandardItemListWidget: remove obselete comment

16 months agoMake FoldersTabsSettingsPage fully usable for blind users
Felix Ernst [Thu, 15 Aug 2024 20:46:39 +0000 (22:46 +0200)]
Make FoldersTabsSettingsPage fully usable for blind users

This commit fixes keyboard navigation for the "Folders & Tabs" page
in Dolphin's settings dialog. It also makes sure that the Orca
screen reader reads out sufficient information for every widget
that can get keyboard focus. These two groups of fixes together
should allow basic usage of this settings page for users relying
on keyboard controls and screen readers.

One weirdness prior to this commit was that for checkboxes with
a short group label in front and the full description behind
screen readers would only read out the label and skip the
explanation what the checkbox actually does. This commit fixes this
by explicitly setting the accessible text for the label. In
practice only reading out the explanation and skipping the label
seemed sufficient and is implemented here, but more specific text
could be provided using this mechanism if needed.

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 17 Aug 2024 01:29:16 +0000 (01:29 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoContextMenuSettingsPage: Stop forcing focus onto search field
Felix Ernst [Thu, 15 Aug 2024 18:40:02 +0000 (20:40 +0200)]
ContextMenuSettingsPage: Stop forcing focus onto search field

Prior to this commit when switching between categories in Dolphin's
settings dialog by keyboard, the focus would suddenly switch away
from the category chooser when going over the "Context Menu"
category. This meant that one couldn't move to the Trash category
in a straightforward way but had to fight the focus change forced
by Dolphin.

This commit removes that forced focus change so the category can
now be changed by keyboard as expected.

16 months agoDolphinSettingsDialog: Move focus to Okay button last
Felix Ernst [Thu, 15 Aug 2024 17:56:39 +0000 (19:56 +0200)]
DolphinSettingsDialog: Move focus to Okay button last

This commit changes the Tab order in Dolphin's Configure dialog
so that the items which are visually at the end of the dialog are
also last in the keyboard focus order when cycling through the
interface using the Tab key.

Previously, the "Cancel", "Defaults", "Okay", and "Apply" buttons
received focus prior to the actual contents of the pages which
does not make sense from a workflow perspective.

This change should also make navigating this dialog easier when
relying on screen readers because reading those buttons out prior
to users even having a chance to change any setting did not make
any sense.

16 months agoFix display of filename ampersands in actions
John Veness [Fri, 16 Aug 2024 07:35:27 +0000 (07:35 +0000)]
Fix display of filename ampersands in actions

If you added the "Actions for..." button to the toolbar, filenames that contain "&" would not appear correctly in that button. This MR fixes that, and also the button that appears when using "Delete" with selection mode.

BUG: 491684

16 months agoOnly accept left mouse button for double click actions
Méven Car [Tue, 13 Aug 2024 09:01:43 +0000 (11:01 +0200)]
Only accept left mouse button for double click actions

Such
 * double click background

BUG: 485295

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 16 Aug 2024 01:32:00 +0000 (01:32 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoGIT_SILENT Update Appstream for new release
Heiko Becker [Thu, 15 Aug 2024 21:39:48 +0000 (23:39 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit d80d4647c96d19b1926fc5edb9b84224cee462c4)

16 months agoKStandardItemListWidget: select by number of unicode chars
Yifan Zhu [Fri, 9 Aug 2024 03:21:08 +0000 (20:21 -0700)]
KStandardItemListWidget: select by number of unicode chars

Previously during rename, the number of QChar is used for selection,
which might be different from number of unicode characters.

Test plan:
- create the file zz❤️❤️.txt
- rename the file
- verify that the first 4 characters are correctly selected, which
  didn't work before the patch.

BUG: 466814

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 13 Aug 2024 01:31:11 +0000 (01:31 +0000)]
GIT_SILENT Sync po/docbooks with svn

16 months agoSet up KCrash after KAboutData::setApplicationData()
Laurent Montel [Mon, 12 Aug 2024 21:13:02 +0000 (23:13 +0200)]
Set up KCrash after KAboutData::setApplicationData()

16 months agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 11 Aug 2024 01:34:02 +0000 (01:34 +0000)]
GIT_SILENT Sync po/docbooks with svn