Commit graph

6887 commits

Author SHA1 Message Date
l10n daemon script 2f0369b333 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"
2023-07-28 01:43:52 +00:00
Steffen Hartleib 3123c086a7 Avoid unwanted drag and drop action
Use the screen position for a touch event to calculate the start drag distance.

BUG: 464594
2023-07-27 09:23:07 +00:00
Nate Graham 6ae9e38a55 Add contribute link to AppStream metadata
Pointing to the readme file is reasonable enough.
2023-07-18 16:05:18 +03:00
Friedrich W. H. Kossebau ed2d352c42 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
2023-07-05 07:59:18 +00:00
Tem PQD 4d930992c4 Use ellipsis everywhere instead of three dots
Better for screen readers etc.
2023-06-29 22:42:34 +00:00
Heiko Becker cf3a570afc GIT_SILENT Update Appstream for new release
(cherry picked from commit e3ad78194c)
2023-06-30 00:10:33 +02:00
Felix Ernst 0bf439833c 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
2023-06-28 16:35:56 +00:00
Tem PQD b92bb43e9d Fix Refresh tooltip text and add Refresh whatsThis text
BUG: 469263
2023-06-26 19:32:00 +00:00
l10n daemon script 7458d21bb7 GIT_SILENT made messages (after extraction) 2023-06-25 00:55:37 +00:00
l10n daemon script 2fb1fc1d5c GIT_SILENT made messages (after extraction) 2023-06-20 00:56:01 +00:00
Méven Car 7f3967cf38 Hide application/x-trash files following showHidenFiles
BUG: 3212
2023-06-17 07:09:50 +00:00
l10n daemon script 51fcd600a8 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"
2023-06-16 01:40:55 +00:00
Méven Car cf14a888ce Tabbar: duplicate tab when double clicking on it
BUG: 470388
2023-06-13 09:48:55 +00:00
Méven Car 3338c2834a 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
2023-06-13 09:40:27 +00:00
Felix Ernst e5abe2c67b Update my eMail to the KDE-provided one
GIT_SILENT
NO_CHANGELOG
2023-06-04 18:09:42 +02:00
Heiko Becker 05e99b3dd1 GIT_SILENT Update Appstream for new release
(cherry picked from commit db3c01a34a)
2023-06-02 20:44:17 +02:00
Méven Car c17e6c8d2b Expand or collapse all selected folders on Key Right/Left
CCBUG: 196772
2023-05-26 16:10:38 +00:00
Méven Car a1c5c5cf81 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.
2023-05-26 15:10:09 +00:00
Méven Car ee8b71e556 Revert "Restrict attaching instances to those on the same activity or same virtual desktop"
This reverts commit b99f6f50ee.

BUG: 408919

Reintroduces:
CCBUG: 408919
2023-05-24 10:11:41 +00:00
Méven Car b01329bf36 Revert "global.cpp: Ensure qApp does not emit signal because of local QEventLoop"
This reverts commit dec80fb0f9.
2023-05-24 10:11:41 +00:00
Méven Car dec80fb0f9 global.cpp: Ensure qApp does not emit signal because of local QEventLoop
BUG: 469656
2023-05-19 15:31:42 +00:00
Méven Car 629a5d44dd
Add a TODO KF6 to solve bug 464722
CCBUG: 464722
2023-05-10 16:41:30 +02:00
Heiko Becker c3fb0dc15b Fix build without KF5Activities 2023-05-09 08:49:28 +00:00
Heiko Becker 26808a188c GIT_SILENT Update Appstream for new release
(cherry picked from commit 3fb0380fd4)
2023-05-06 10:10:17 +02:00
Méven Car 47e4c64e6a KFileItemModelRolesUpdater: test isSlow in startDirectorySizeCounting
NO_CHANGELOG
2023-04-29 10:47:40 +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
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
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
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
Méven Car 040e2afcfa DolphinView: allow selectUrls to be considered for selection in more cases
* when there is some selection already (some files were created previously)
 * when the model has not yet insert all the selectedUrls

Also
 * Rename DolphinView::slotCopyingDone to slotItemCreatedFromJob

BUG: 407161
2023-04-20 15:17:19 +00:00
Felix Ernst 49ea43e24f Reuse existing proxy style
Before this commit, a new QProxyStyle was created every time the
selection mode was enabled. The previously used one was
automatically deleted in the process because of the std::unique_ptr
re-assignment. This isn't really a problem in itself, but I
strongly assume that the sudden deletion of the old style shortly
before setting a new style might be the cause of the crash/bug
468548.

This commit simply re-uses the previously created proxy style which
doesn't seem to cause any behaviour change even when the
application style has been changed in the time since the proxy
style was created.

Another potential solution might be to simply use deleteLater() on
the old proxy style instead of letting std::unique_ptr delete the
old proxy style instantly while it is still in use. That seems more
involved than simply re-using the old style though.

BUG: 468548
FIXED-IN: 23.08
2023-04-20 14:42:04 +00:00
Méven Car b99f6f50ee Restrict attaching instances to those on the same activity or same virtual desktop
CCBUG: 408919
2023-04-20 08:50:40 +00:00
Heiko Becker 5f01edcfe7 GIT_SILENT Update Appstream for new release
(cherry picked from commit fb084ec1a1)
2023-04-12 18:00:19 +02:00
Nate Graham 70e20a310a Make "don't run me with sudo/kdesu" message informative
We tell users what not to do, but we don't tell then what to do instead.
At one point we told them to just use Dolphin normally and the polkit
integration would kick in, but that work ended up being reverted and
abandoned. Instead, tell them to use kio-admin, which exists as a
released product and will hopefully not get removed anytime soon.

CCBUG: 467948
2023-04-05 16:17:56 +00:00
Felix Ernst 95905ce761 Add test for openFiles()
The basic mainWindow methods openFiles(), openDirectories(),
isUrlOpen(), and isItemVisibleInAnyView() have some non-obvious
behaviours that shouldn't regress. We never want to open
directories that are already open. We only want to open new tabs
when the currently open ones don't have the file that should be
highlighted in view already. This should work even if view modes
that allow folder expansion are in play. It should also work when
the view area is split.
2023-04-03 15:34:32 +00:00
Méven Car e190977a90 PlacesPanel: clean some warnings
NO_CHANGELOG
2023-04-03 15:34:16 +02:00
Méven Car 9061b22a0d Context menu: allow to show copy to/move to inactive split view
Prevent copying/moving to same folder as origin when copying/moving to inactive split view

BUG: 356436
2023-04-02 07:22:07 +00:00
l10n daemon script 5149ede257 GIT_SILENT made messages (after extraction) 2023-03-27 00:51:23 +00:00
l10n daemon script 080572c67a 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"
2023-03-26 01:45:57 +00:00
l10n daemon script 09f25ee461 GIT_SILENT made messages (after extraction) 2023-03-26 00:50:38 +00:00
Oliver Beard 278380bf17 panels/information: Add option to not show information for hovered item
BUG: 364956
BUG: 453211
2023-03-25 10:01:52 +00:00
l10n daemon script 53eba0b14c 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"
2023-03-21 01:43:27 +00:00
Méven Car 9967a5cdee Prevent dragging on non-writable directories
KFileItemModel::supportsDroppin now returns the rootItem when -1 is passed and checks for write access.
2023-03-16 14:27:52 +00:00
Méven Car 6e5460697b Prevent a non-initialized value access
NO_CHANGELOG
2023-03-09 19:00:27 +01:00
l10n daemon script 7b2a09511d 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"
2023-03-06 01:43:29 +00:00
l10n daemon script aabacff070 GIT_SILENT made messages (after extraction) 2023-03-05 00:56:55 +00:00