Commit graph

7743 commits

Author SHA1 Message Date
Nicolas Fella ef59e42c40 Process correct model when applying service menu changes
The listview's model is a filter model, we must iterate through the source,
otherwise we get incorrect results

BUG: 475547
2023-10-24 20:30:21 +00:00
Yifan Zhu 8ef3c7bc42 Display newline in filename as Unicode line break
BUG: 422998
CCBUG: 444747
2023-10-23 10:09:22 -07:00
Kai Uwe Broulik 8b91acf05b DolphinViewContainer: Use Auto*Warning*HandlingEnabled
Errors are put in a KMessageWidget by us in slotOpenUrlFinished.
Fixes regression from 40cc5f665d.
2023-10-23 17:29:15 +02:00
Felix Ernst 5c7887a763 Fix rubberband selection on icon in icon view mode
As an unintended side-effect of d9a18b04ea
items would no longer be selected in icon view mode when the selection
rectangle intersected with the item's icon. This commit fixes this.
2023-10-23 14:26:52 +00:00
Kai Uwe Broulik 2de810e6c3 Mention invalid protocol name
Especially when clicking on an archive which redirects to a special
KIO worker, it can be handy to see the actual protocol name.
2023-10-22 09:11:56 +00:00
l10n daemon script 263935f9ed GIT_SILENT Sync po/docbooks with svn 2023-10-22 01:50:16 +00:00
Nicolas Fella 7379cf59f6 Remove unused include 2023-10-22 00:13:46 +02:00
Alexander Lohnau c907ef92c1 Port away from KDesktopFileActions::userDefinedServices
This is planned to go away since the only real user being kdesvn and that is ported to a C++ plugin
2023-10-21 07:10:42 +02:00
Nicolas Fella 064b2539de Adapt to KBookmarkManager API change 2023-10-20 16:37:53 +02:00
Felix Ernst c90afc3e88 Replace a deprecated qAsConst with std::as_const 2023-10-19 11:44:59 +02:00
Felix Ernst f38d788a97 Never show status bar context menu away from status bar
The status bar context menu was hard-coded to always appear at the
cursor position. However, context menus can also be triggered by
keyboard, for example with the Menu key, in which case it makes no
sense to show the context menu at whatever random position the
mouse cursor currently is.

Instead invoke the context menu in the middle of the status bar
when it is opened by keyboard.
2023-10-18 08:27:27 +00:00
l10n daemon script dfbd432d3f GIT_SILENT Sync po/docbooks with svn 2023-10-18 01:31:13 +00:00
Amol Godbole a59d9f85fa KItemListView: add view position in scrollToItem()
An item, on being scrolled to, is always located at the nearest edge of
the view. This is not always convenient. Allow specifying where the item
should be positioned with respect to the view in scrollToItem().

BUG: 423884
2023-10-17 15:47:34 +00:00
l10n daemon script d1035e7f09 GIT_SILENT Sync po/docbooks with svn 2023-10-17 01:28:53 +00:00
Felix Ernst 6271ee8a5a Remove new tab shortcut Ctrl+Shift+N
Since https://commits.kde.org/kconfig/782e43f8076e5f4a10111a6b4d2cc6b1741c9798
Ctrl+Shift+N is the standard shortcut for creating a new folder
which leads to a shortcut conflict when this key combination is
invoked in Dolphin.

"New Tab" already has the more popular shortcut Ctrl+T assigned to
it, so Ctrl+Shift+N can simply be removed.
2023-10-16 15:05:23 +00:00
l10n daemon script 7f32bee674 GIT_SILENT Sync po/docbooks with svn 2023-10-14 01:37:12 +00:00
l10n daemon script a74172c766 GIT_SILENT Sync po/docbooks with svn 2023-10-13 01:32:23 +00:00
Amol Godbole 2f39eb51b6 DolphinView: get rid of writeStateChanged signal in setActive()
The signal writeStateChanged() was not working because it is not connected
to slotWriteStateChanged() slots when the active view changes. Replace the
signal with direct calls to the slots.

Also, do not delay openRequest signal in DolphinSearchBox::slotSearchTextChanged.
It's no longer required.

BUG: 440366
2023-10-12 09:43:37 +00:00
l10n daemon script 9e6891deaa GIT_SILENT Sync po/docbooks with svn 2023-10-12 01:31:27 +00:00
l10n daemon script cb74344d9b GIT_SILENT Sync po/docbooks with svn 2023-10-11 01:51:53 +00:00
l10n daemon script c4ea40f2be GIT_SILENT Sync po/docbooks with svn 2023-10-10 01:35:05 +00:00
l10n daemon script 4b3923b809 GIT_SILENT Sync po/docbooks with svn 2023-10-09 01:34:00 +00:00
l10n daemon script 236c970379 GIT_SILENT Sync po/docbooks with svn 2023-10-08 01:28:34 +00:00
Nicolas Fella 4199e7ef20 Adapt to new KBookmarksWidgets library 2023-10-07 16:56:15 +00:00
Heiko Becker c4b95a7798 GIT_SILENT Update Appstream for new release
(cherry picked from commit 825804a8a6)
2023-10-07 17:15:56 +02:00
l10n daemon script c3f75fa6fb GIT_SILENT Sync po/docbooks with svn 2023-10-06 01:29:56 +00:00
Nate Graham 30a807e44a Merge branch 'master' into kf6 2023-10-05 09:15:35 -06:00
Felix Ernst b58fead9be Add test for accessibility ancestor tree
This is to make sure that all items that can be tabbed to and their
accessible children have the main window somewhere in their
ancestry/ancestor tree.
2023-10-05 12:09:25 +00:00
Felix Ernst 549fad2dae Fix accessibility ancestor tree
Before this commit, KItemListViewAccessible would always return
nullptr as its parent. This meant that accessibility software would
have to guess to which window/hierarchy the KItemListView belongs
to. Guessing shouldn't be necessary here.

This commit makes sure that the KItemListView always returns a
sensible parent in the accessible hierarchy. It does so by
explicitly setting the accessible parent for every KItemListView
after construction in the DolphinView contructor. Since
KItemListView now always knows about its accessible parent, the
accessibleInterfaceFactory can always ask the KItemListView for
that information when constructing the QAccessibleInterfaces.

Fixes https://invent.kde.org/system/dolphin/-/issues/47.
2023-10-05 12:09:25 +00:00
Méven Car 7a6cba7f51 KItemListWidget: make unfocused alternate background slightly lighter 2023-10-05 11:46:47 +00:00
Amol Godbole 4d018e1c3c DolphinViewContainer: Keep search box open when URL is changed
The search box was being automatically closed whenever the URL is changed.
Keep the search box open if no search text had been entered when the URL
was changed.

BUG: 474951
2023-10-05 09:43:23 +00:00
l10n daemon script ab92bc4049 GIT_SILENT Sync po/docbooks with svn 2023-10-05 01:29:56 +00:00
Amol Godbole e1de6c3492 DolphinRecentTabsMenu: Fix blank text for closed search tab
The recently closed menu adds a blank item when a search tab is closed.
Add the search term and path to the item text.

BUG: 474999
2023-10-03 00:44:55 -05:00
l10n daemon script 30227dbcbe GIT_SILENT Sync po/docbooks with svn 2023-10-01 01:42:00 +00:00
Méven Car cff402356e DolphinPlacesModel: remove usage of alternativeApplicationName
This is now not needed anymore since `PlacesItemModel::cleanupBookmarks` (now removed) from https://phabricator.kde.org/D9333 has run for on users systems.
2023-09-30 07:15:18 +00:00
l10n daemon script 55a0a2fac4 GIT_SILENT Sync po/docbooks with svn 2023-09-30 01:31:15 +00:00
Méven Car b6d9cb9949 TerminalPanel: Disconnect signal in destructor only when we have a konsolePart 2023-09-28 13:18:31 +02:00
l10n daemon script 46a7d683fc GIT_SILENT Sync po/docbooks with svn 2023-09-26 01:33:25 +00:00
l10n daemon script 3e68ced479 GIT_SILENT Sync po/docbooks with svn 2023-09-25 01:30:00 +00:00
Marco Savelli d9a18b04ea selection: fix rubberband vertices 2023-09-23 08:36:53 +00:00
Marco Savelli 2a4dd2aa43 selection: select-on-rubberband-on-row as new default
Sets a rectangular, non-full-width rubberband as the new default.
User selection is made wherever the rubberband intersects with the row.
2023-09-23 08:36:53 +00:00
Kai Uwe Broulik 856716e8b6 TerminalPanel: Disconnect destroyed signal in destructor
Otherwise, when QObject cleanup, which runs after our destructor,
destroys the terminalPart, it would call back into us
when we're already half-destroyed.

This trips an assert in Qt "Called object is not of the correct
type (class destructor may have already run)"
2023-09-19 22:43:14 +02:00
Nate Graham 64e40c1d93 Merge branch 'master' into kf6 2023-09-19 08:29:35 -06:00
l10n daemon script e08f6f9b58 GIT_SILENT Sync po/docbooks with svn 2023-09-19 01:45:50 +00:00
l10n daemon script c229f420ef GIT_SILENT Sync po/docbooks with svn 2023-09-18 01:48:36 +00:00
l10n daemon script 86e8c935f2 GIT_SILENT Sync po/docbooks with svn 2023-09-17 02:14:18 +00:00
Oliver Beard 38342ae820 terminalpanel: Improve Konsole missing message
It now forces the pane to fit its height, and will animate on every appearance.
2023-09-16 15:37:17 +00:00
l10n daemon script 99541a77fa GIT_SILENT Sync po/docbooks with svn 2023-09-16 01:45:46 +00:00
l10n daemon script c2ebc24e89 GIT_SILENT Sync po/docbooks with svn 2023-09-14 01:45:21 +00:00
l10n daemon script ef8d8eed5c GIT_SILENT Sync po/docbooks with svn 2023-09-13 01:55:44 +00:00