Commit graph

7734 commits

Author SHA1 Message Date
Jakob Petsovits b5b6762b15 Bring back the "Create New" menu in the menu bar
This commit is the result of a three-way diff that
combines my own initial patch with related changes from
Felix Ernst's MR !545 and further suggestions by Méven Car.

Fixes DolphinMainWindowTest::testNewFileMenuEnabled().
Tests are now passing again for my build.

"Create New" was broken by commit c64059bd which switched to the
new, non-deprecated KNewFileMenu constructor (kio commit 89bc6bad)
that doesn't add itself to the passed KActionCollection parameter.
After the switch, hamburger menu and context menu was still working
as intended but the menu bar was missing the "Create New" menu.

This commit adds the addAction("new_menu") call to the File menu
setup that would have previously been called by the deprecated
KNewFileMenu constructor. The corresponding test can now find
the QObject for the menu's named action again, verifying its
existence and enabled-ness like it did before.

The DolphinNewFileMenu constructor's unused actionCollection
parameter serves no use anymore except to confuse people.
We replace it with a single QAction* parameter, createDirAction,
which gets passed to setNewFolderShortcutAction().

2 out of 3 constructor call sites have access to this action,
while the remaining call site in dolphinmainwindow.cpp must wait
until after it has been initialized by DolphinViewActionHandler.
In this case, setNewFolderShortcutAction() is still called manually
at a later time.
2023-05-16 11:11:51 -04:00
l10n daemon script d4897767bf GIT_SILENT Sync po/docbooks with svn 2023-05-16 02:04:05 +00:00
l10n daemon script db98dabc70 GIT_SILENT Sync po/docbooks with svn 2023-05-14 02:14:44 +00:00
Jakob Petsovits 1b0caf69a8 Remove deprecated, ifdef'd code for old KIO versions 2023-05-12 16:56:36 -04:00
l10n daemon script 8f01673728 GIT_SILENT Sync po/docbooks with svn 2023-05-11 01:53:24 +00:00
Méven Car 629a5d44dd
Add a TODO KF6 to solve bug 464722
CCBUG: 464722
2023-05-10 16:41:30 +02:00
Méven Car ac1f8131f9 Fix a typo, take 2 2023-05-09 12:11:21 +02:00
Méven Car 2b877de270 Fix a typo 2023-05-09 11:20:34 +02:00
Heiko Becker c3fb0dc15b Fix build without KF5Activities 2023-05-09 08:49:28 +00:00
Méven Car b82789f519
Disable Qt6 CI build in master, use kf6 branch for Qt6 2023-05-09 10:46:26 +02:00
Méven Car 5887d1d852 Fix a bunch of Qt6/Kf6 warnings 2023-05-09 10:30:14 +02:00
Méven Car d6da4a903f Fix dolphinvcs_export.h export path 2023-05-09 10:11:54 +02:00
Méven Car d2092ed444 Fix for KUserFeedbackQt6 includes 2023-05-09 09:34:38 +02:00
Méven Car 468df35149 Fix for KUserFeedbackQt6 includes 2023-05-09 09:24:46 +02:00
Méven Car 0a581f97be Ensure good export of dolphinvcs headers 2023-05-09 09:24:19 +02:00
Méven Car 863ee3a87c Merge branch 'master' into kf6 2023-05-08 17:46:51 +02:00
Méven Car 69f6b9b78b Revert "partially Improve kuserfeedback import"
This reverts commit 047bf33d90.
2023-05-08 17:43:48 +02:00
Méven Car 047bf33d90 Improve kuserfeedback import 2023-05-08 16:23:15 +02:00
Méven Car e42873374c Fix baloo-widgets import take 3 2023-05-08 16:14:11 +02:00
Méven Car 7397f28108 Fix baloo-widgets import take 2 2023-05-08 16:13:15 +02:00
Méven Car 967b33572b Fix baloo-widgets imports 2023-05-08 16:10:08 +02:00
Méven Car ca533f6a9d Update libraries versions to latest-kf6 2023-05-08 15:57:56 +02:00
Méven Car 53d277a9bf Fix kuserfeedback version 2023-05-08 15:49:05 +02:00
Méven Car ed93133538 Clean a debug message 2023-05-08 15:44:33 +02:00
Méven Car 7c0b3959ab Fix typo 2023-05-08 15:35:41 +02:00
Méven Car cb43e1a1dc Fix libraries versions 2023-05-08 15:32:55 +02:00
Méven Car 2d09024571
Correct baloo-widgets version used 2023-05-08 15:04:49 +02:00
Méven Car 8126eae784
Fix baloo-widgets dep 2023-05-08 11:35:35 +02:00
Méven Car 8a668a3a11
Fetch latest baloo-widgets 2023-05-08 09:19:05 +02:00
Méven Car 50f1e8914a
Build CI only on Qt6 2023-05-08 09:17:23 +02:00
Méven Car 904fc9426d
Improve CI 2023-05-08 08:22:22 +02:00
Méven Car 76e3eab6ea
Port to Qt6 2023-05-07 18:32:17 +02:00
Heiko Becker 26808a188c GIT_SILENT Update Appstream for new release
(cherry picked from commit 3fb0380fd4)
2023-05-06 10:10:17 +02:00
l10n daemon script 8e85fbb70c GIT_SILENT Sync po/docbooks with svn 2023-05-04 02:08:28 +00:00
l10n daemon script 7e394dc093 GIT_SILENT Sync po/docbooks with svn 2023-04-30 03:09:25 +00:00
Méven Car 47e4c64e6a KFileItemModelRolesUpdater: test isSlow in startDirectorySizeCounting
NO_CHANGELOG
2023-04-29 10:47:40 +00:00
l10n daemon script bd40f21a0a GIT_SILENT Sync po/docbooks with svn 2023-04-29 02:07:31 +00:00
l10n daemon script af0cb733cd GIT_SILENT Sync po/docbooks with svn 2023-04-26 02:05:15 +00:00
Méven Car 4e6939e1f5 Fix test regression in DolphinMainWindowTest::testGoActions 2023-04-25 16:14:29 +00:00
Felix Ernst 64ae87f402 Revert "Adapt autotest to new expected "Space" key behaviour"
This reverts commit df5cf6fe85.

The autotest was orginally changed to adapt to new behaviour when
the Space key is pressed. This change used to be implemented in
KItemListController which meant that the KItemListControllerTest
needed changing, but this is no longer the case.
Instead the new behaviour when the Space key is pressed is now
implemented further up the hierarchy, so the KItemListController
change could be reverted in
7b6a67e520 and as such we can also
revert this autotest change.
2023-04-25 15:19:09 +02:00
Eugene Popov 7b6a67e520 Fix activating the Selection Mode with a keyboard shortcut
If a spacebar is used as a keyboard shortcut to activate the Selection Mode, then allow this shortcut to be triggered only if the view has a keyboard focus.

BUG: 465489
2023-04-25 13:05:39 +00:00
l10n daemon script f186f694d4 GIT_SILENT Sync po/docbooks with svn 2023-04-25 02:15:32 +00:00
l10n daemon script 4c11fceda4 GIT_SILENT Sync po/docbooks with svn 2023-04-24 02:23:22 +00:00
Eugene Popov 215923b33f Add DolphinTabPage::inactiveViewContainer() 2023-04-23 09:33:09 +00:00
Eugene Popov 78a3cd3e4b Improve copying and moving items between panels
Currently, copying the selected items between panels is performed by the active panel, which is wrong, because the inactive panel cannot select the copied items after the operation is completed (as it happens when drag'n'dropping or copying using keyboard shortcuts).
2023-04-23 09:33:09 +00:00
l10n daemon script a9f2abeea4 GIT_SILENT Sync po/docbooks with svn 2023-04-23 03:03:48 +00:00
Eugene Popov 6fd77a96b4 FilterBar: improve keyboard behavior and tab ordering
With this MR, when the filterbar has the keyboard focus:
- pressing the Tab key moves the keyboard focus to the view
- pressing the Down, PageDown, Up and PageUp keys moves the focus to the view and emulate pressing the same key in it (you can navigate directly from the filterbar)
2023-04-22 17:09:31 +00:00
Méven Car c9217337c7 TerminalPanel: rename currentWorkingDirectoryIsParentOf to currentWorkingDirectoryIsChildOf
NO_CHANGELOG
2023-04-22 09:33:01 +02:00
l10n daemon script 1860536431 GIT_SILENT Sync po/docbooks with svn 2023-04-22 02:15:14 +00:00
Méven Car a654b8dae6 TerminalPanel: better check if terminal needs to change its currentWorkingDirectory when unmounting
CCBUG: 467403
2023-04-21 15:32:58 +02:00