]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
2 years agoMerge branch 'master' into kf6
Nicolas Fella [Thu, 10 Aug 2023 12:42:08 +0000 (14:42 +0200)]
Merge branch 'master' into kf6

2 years agoSet Notify flag on close running terminal app prompt
Kai Uwe Broulik [Thu, 10 Aug 2023 12:13:13 +0000 (14:13 +0200)]
Set Notify flag on close running terminal app prompt

Ensures the warning sound is played.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 10 Aug 2023 01:49:21 +0000 (01:49 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 9 Aug 2023 01:53:13 +0000 (01:53 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 8 Aug 2023 01:54:49 +0000 (01:54 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 6 Aug 2023 01:54:04 +0000 (01:54 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 5 Aug 2023 01:50:07 +0000 (01:50 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 4 Aug 2023 01:49:59 +0000 (01:49 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoAdjust to changes in KToolBarPopupAction
Kai Uwe Broulik [Thu, 3 Aug 2023 11:25:05 +0000 (13:25 +0200)]
Adjust to changes in KToolBarPopupAction

`menu()` will be null, instead use the provided `popupMenu()`.
Use `KToolBarPopupAction`'s mode enum instead of `QToolBar`'s

2 years agoAdd alternate shortcut for replaceLocation action
Amol Godbole [Thu, 3 Aug 2023 11:00:51 +0000 (11:00 +0000)]
Add alternate shortcut for replaceLocation action

Alt + D is a common shortcut for replacing location. Add this as an alternate shortcut.

BUG: 468445

2 years agoDolphinView: initialize m_controlWheelAccumulatedDelta
Amol Godbole [Thu, 3 Aug 2023 10:44:20 +0000 (10:44 +0000)]
DolphinView: initialize m_controlWheelAccumulatedDelta

Ctrl + scroll wheel zoom was not working as designed after Dolphin is launched. Initialize m_controlWheelAccumulatedDelta in DolphinView's constructor.

BUG: 469354

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 3 Aug 2023 02:21:45 +0000 (02:21 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 2 Aug 2023 01:58:30 +0000 (01:58 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoEnter selection mode by tap-and-holding an already selected item
Steffen Hartleib [Tue, 1 Aug 2023 10:10:28 +0000 (10:10 +0000)]
Enter selection mode by tap-and-holding an already selected item

Allow entering selection mode by touching an already selected item.

BUG: 462778

2 years agoFix incorrect file selection after file rename
Amol Godbole [Tue, 1 Aug 2023 09:59:57 +0000 (09:59 +0000)]
Fix incorrect file selection after file rename

forceUrlsSelection() needs to be called only when new name of renamed
file does not exist.

BUG: 417930

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 31 Jul 2023 02:22:22 +0000 (02:22 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoDon't request kio-extras on FreeBSD
Nicolas Fella [Sun, 30 Jul 2023 11:48:19 +0000 (13:48 +0200)]
Don't request kio-extras on FreeBSD

It's not available on freebsd-qt6

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 28 Jul 2023 01:57:51 +0000 (01:57 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 28 Jul 2023 01:43:52 +0000 (01:43 +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"

2 years agoAvoid unwanted drag and drop action
Steffen Hartleib [Thu, 27 Jul 2023 09:23:07 +0000 (09:23 +0000)]
Avoid unwanted drag and drop action

Use the screen position for a touch event to calculate the start drag distance.

BUG: 464594

2 years agoMinor code improvement
Méven Car [Thu, 27 Jul 2023 07:50:28 +0000 (09:50 +0200)]
Minor code improvement

NO_CHANGELOG

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 27 Jul 2023 01:49:46 +0000 (01:49 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoUpdate following removing of KIO::FileSystemFreeSpaceJob::result overload
Méven Car [Wed, 26 Jul 2023 08:13:50 +0000 (10:13 +0200)]
Update following removing of KIO::FileSystemFreeSpaceJob::result overload

NO_CHANGELOG

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 25 Jul 2023 01:50:24 +0000 (01:50 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoKF6 Dolphin depends on kio-extras, for kcm_trash embedded in settings
Jakob Petsovits [Mon, 24 Jul 2023 17:43:18 +0000 (13:43 -0400)]
KF6 Dolphin depends on kio-extras, for kcm_trash embedded in settings

When kio-extras is not installed (or kcm_trash.so exists, but
is outdated) then opening the "Configure Dolphin..." settings dialog
will crash. It tries to load kcm_trash with its old KCModule plugin
construction signature and gets a fatal symbol mismatch.

kcm_trash was recently moved from kio to kio-extras and is
unconditionally loaded in non-Windows environments, so that
dependency should be required in the metadata for kdesrc-build.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 24 Jul 2023 09:17:09 +0000 (09:17 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 21 Jul 2023 02:08:58 +0000 (02:08 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 19 Jul 2023 03:00:30 +0000 (03:00 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoAdd contribute link to AppStream metadata
Nate Graham [Tue, 18 Jul 2023 13:05:18 +0000 (16:05 +0300)]
Add contribute link to AppStream metadata

Pointing to the readme file is reasonable enough.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 18 Jul 2023 01:59:19 +0000 (01:59 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Upgrade release service version to 23.11.70.
Albert Astals Cid [Mon, 17 Jul 2023 09:44:58 +0000 (11:44 +0200)]
GIT_SILENT Upgrade release service version to 23.11.70.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 17 Jul 2023 02:00:27 +0000 (02:00 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 14 Jul 2023 02:07:13 +0000 (02:07 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 13 Jul 2023 02:00:01 +0000 (02:00 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 11 Jul 2023 01:53:10 +0000 (01:53 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoMerge branch 'master' into kf6
Nicolas Fella [Mon, 10 Jul 2023 18:38:32 +0000 (20:38 +0200)]
Merge branch 'master' into kf6

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 10 Jul 2023 02:00:42 +0000 (02:00 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoReplace ServiceItemDelegate with standard Qt item delegate
Nicolas Fella [Sat, 8 Jul 2023 21:46:29 +0000 (23:46 +0200)]
Replace ServiceItemDelegate with standard Qt item delegate

We don't need a custom delegate here

Using the standard one from Qt also slightly improves margins

2 years agoFix usage of Qt::CheckStateRole in preview model
Nicolas Fella [Sat, 8 Jul 2023 20:34:08 +0000 (22:34 +0200)]
Fix usage of Qt::CheckStateRole in preview model

Qt::CheckStateRole expects an enum, not a bool

Also set the flag that the item it user checkable, otherwise it can't be changed

BUG: 471999

2 years agoFix plugin query
Nicolas Fella [Sat, 8 Jul 2023 20:42:32 +0000 (22:42 +0200)]
Fix plugin query

QT_MAJOR_VERSION is undefined, the proper thing is QT_VERSION_MAJOR

This causes the plugin query to not find any plugins

Since we only target KF6 we might as well hardcode that

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 8 Jul 2023 02:23:50 +0000 (02:23 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoFix konsolepart lookup
Nicolas Fella [Wed, 5 Jul 2023 21:24:50 +0000 (23:24 +0200)]
Fix konsolepart lookup

The location changed for KF6

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 7 Jul 2023 01:57:18 +0000 (01:57 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 6 Jul 2023 02:34:36 +0000 (02:34 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoAlways enable panel dockwidget actions
Nicolas Fella [Wed, 5 Jul 2023 21:14:43 +0000 (23:14 +0200)]
Always enable panel dockwidget actions

Otherwise they are disabled when the docks are locked and panels can't be toggled

BUG: 471974

2 years agoMerge branch 'master' into kf6
Nicolas Fella [Wed, 5 Jul 2023 20:44:40 +0000 (22:44 +0200)]
Merge branch 'master' into kf6

2 years agoAdd explicit moc includes to sources for moc-covered headers
Friedrich W. H. Kossebau [Tue, 4 Jul 2023 20:07:48 +0000 (22:07 +0200)]
Add explicit moc includes to sources for moc-covered headers

* speeds up incremental builds as changes to a header will not always
  need the full mocs_compilation.cpp for all the target's headers rebuild,
  while having a moc file sourced into a source file only adds minor
  extra costs, due to small own code and the used headers usually
  already covered by the source file, being for the same class/struct
* seems to not slow down clean builds, due to empty mocs_compilation.cpp
  resulting in those quickly processed, while the minor extra cost of the
  sourced moc files does not outweigh that in summary.
  Measured times actually improved by some percent points.
  (ideally CMake would just skip empty mocs_compilation.cpp & its object
  file one day)
* enables compiler to see all methods of a class in same compilation unit
  to do some sanity checks
* potentially more inlining in general, due to more in the compilation unit
* allows to keep using more forward declarations in the header, as with the
  moc code being sourced into the cpp file there definitions can be ensured
  and often are already for the needs of the normal class methods

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 5 Jul 2023 02:36:53 +0000 (02:36 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 4 Jul 2023 02:55:49 +0000 (02:55 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 3 Jul 2023 02:19:10 +0000 (02:19 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 2 Jul 2023 02:24:53 +0000 (02:24 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 1 Jul 2023 01:56:51 +0000 (01:56 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 30 Jun 2023 01:58:56 +0000 (01:58 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoUse ellipsis everywhere instead of three dots
Tem PQD [Thu, 29 Jun 2023 22:42:34 +0000 (22:42 +0000)]
Use ellipsis everywhere instead of three dots

Better for screen readers etc.

2 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Thu, 29 Jun 2023 22:10:20 +0000 (00:10 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit e3ad78194c4464f1cfa90d42eb7cc9dcfbc8a87e)

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 29 Jun 2023 01:56:38 +0000 (01:56 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoMove focus from hiding selection mode bars to view
Felix Ernst [Fri, 23 Jun 2023 17:07:10 +0000 (19:07 +0200)]
Move focus from hiding selection mode bars to view

When a user exits selection mode for example by clicking the "Exit
Selection Mode" button, the bar is closed but the focus doesn't return
to the view which would be expected. This commit actively moves the
focus to the view in such a scenario.

BUG: 469621

2 years agoMerge branch 'master' into kf6
Méven Car [Wed, 28 Jun 2023 07:49:46 +0000 (09:49 +0200)]
Merge branch 'master' into kf6

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 28 Jun 2023 01:59:10 +0000 (01:59 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 27 Jun 2023 02:05:13 +0000 (02:05 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoFix Refresh tooltip text and add Refresh whatsThis text
Tem PQD [Sun, 25 Jun 2023 00:31:07 +0000 (00:31 +0000)]
Fix Refresh tooltip text and add Refresh whatsThis text

BUG: 469263

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 25 Jun 2023 02:19:34 +0000 (02:19 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 25 Jun 2023 00:55:37 +0000 (00:55 +0000)]
GIT_SILENT made messages (after extraction)

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 24 Jun 2023 02:19:29 +0000 (02:19 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 23 Jun 2023 02:05:16 +0000 (02:05 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoUse non-deprecated Phonon includes
Volker Krause [Tue, 20 Jun 2023 17:44:19 +0000 (19:44 +0200)]
Use non-deprecated Phonon includes

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 20 Jun 2023 02:42:56 +0000 (02:42 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 20 Jun 2023 00:56:01 +0000 (00:56 +0000)]
GIT_SILENT made messages (after extraction)

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 19 Jun 2023 02:09:33 +0000 (02:09 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 18 Jun 2023 03:03:47 +0000 (03:03 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoHide application/x-trash files following showHidenFiles
Méven Car [Thu, 15 Jun 2023 10:32:00 +0000 (12:32 +0200)]
Hide application/x-trash files following showHidenFiles

BUG: 3212

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 16 Jun 2023 01:53:45 +0000 (01:53 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 16 Jun 2023 01:40:55 +0000 (01:40 +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"

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 15 Jun 2023 02:01:19 +0000 (02:01 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 14 Jun 2023 01:55:48 +0000 (01:55 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoTabbar: duplicate tab when double clicking on it
Méven Car [Mon, 29 May 2023 07:56:50 +0000 (09:56 +0200)]
Tabbar: duplicate tab when double clicking on it

BUG: 470388

2 years agoSettings Add ViewModes > Content display
Méven Car [Tue, 13 Jun 2023 09:40:27 +0000 (09:40 +0000)]
Settings Add ViewModes > Content display

This does not move the settings location in files though.

baby step for https://invent.kde.org/system/dolphin/-/issues/36

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 12 Jun 2023 02:21:47 +0000 (02:21 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoAdjust KCMs to no longer do cast manually
Alexander Lohnau [Sat, 10 Jun 2023 08:26:58 +0000 (10:26 +0200)]
Adjust KCMs to no longer do cast manually

KCModule::widget returns the widget that should be a parent for widgets the KCM creates

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 6 Jun 2023 01:57:27 +0000 (01:57 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoUpdate my eMail to the KDE-provided one
Felix Ernst [Sun, 4 Jun 2023 16:09:42 +0000 (18:09 +0200)]
Update my eMail to the KDE-provided one

GIT_SILENT
NO_CHANGELOG

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 4 Jun 2023 02:03:48 +0000 (02:03 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 2 Jun 2023 18:44:05 +0000 (20:44 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit db3c01a34ab927f0ef2401c03d175cd253656950)

2 years agoOnly use KStartupInfo on X11
Nicolas Fella [Wed, 31 May 2023 12:13:19 +0000 (14:13 +0200)]
Only use KStartupInfo on X11

2 years ago[CI] Fix baloo-widgets branch
Nicolas Fella [Wed, 31 May 2023 12:37:06 +0000 (14:37 +0200)]
[CI] Fix baloo-widgets branch

@same pulls in the kf6 branch, but we want master

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 31 May 2023 02:47:41 +0000 (02:47 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 30 May 2023 02:25:27 +0000 (02:25 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 29 May 2023 01:54:29 +0000 (01:54 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 28 May 2023 02:06:04 +0000 (02:06 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 27 May 2023 01:52:48 +0000 (01:52 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoExpand or collapse all selected folders on Key Right/Left
Méven Car [Fri, 26 May 2023 16:10:38 +0000 (16:10 +0000)]
Expand or collapse all selected folders on Key Right/Left

CCBUG: 196772

2 years agoKDirectoryContentsCounter: show intermediate dir size counting results, improve stopp...
Méven Car [Fri, 26 May 2023 15:10:09 +0000 (15:10 +0000)]
KDirectoryContentsCounter: show intermediate dir size counting results, improve stopping, improve data caching

Two user visible changes:
 * we can see the dir size changing as it is updated.
 * This makes the file counting a lot more reactive, when changing directories for instance.

`KDirectoryContentsCounterWorker::walkDir` is not recursive anymore.

The cache is now shared and only a single thread is used to count size recursively.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 26 May 2023 01:49:22 +0000 (01:49 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 25 May 2023 01:51:49 +0000 (01:51 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoRevert "Restrict attaching instances to those on the same activity or same virtual...
Méven Car [Wed, 24 May 2023 08:52:59 +0000 (10:52 +0200)]
Revert "Restrict attaching instances to those on the same activity or same virtual desktop"

This reverts commit b99f6f50eef395a3ceb88fb3d4b7357cbbc13c85.

BUG: 408919

Reintroduces:
CCBUG: 408919

2 years agoRevert "global.cpp: Ensure qApp does not emit signal because of local QEventLoop"
Méven Car [Wed, 24 May 2023 08:50:11 +0000 (10:50 +0200)]
Revert "global.cpp: Ensure qApp does not emit signal because of local QEventLoop"

This reverts commit dec80fb0f940ff4e71032c2d3544f0d60a05c4ce.

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 24 May 2023 01:57:02 +0000 (01:57 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Tue, 23 May 2023 02:50:21 +0000 (02:50 +0000)]
GIT_SILENT Sync po/docbooks with svn

2 years agoglobal.cpp: Ensure qApp does not emit signal because of local QEventLoop
Méven Car [Thu, 18 May 2023 08:07:50 +0000 (10:07 +0200)]
global.cpp: Ensure qApp does not emit signal because of local QEventLoop

BUG: 469656

2 years agoBring back the "Create New" menu in the menu bar
Jakob Petsovits [Fri, 12 May 2023 22:13:39 +0000 (18:13 -0400)]
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.