Commit graph

8015 commits

Author SHA1 Message Date
Felix Ernst 65eefdce67 Avoid sorting too frequently
d98037745f changed the time from 500 ms to
50 ms. This commit changes it to 100 ms.

Information relevant for sorting might change repeatedly. Prior to this
commit here we would resort within 50 ms of sorting being requested. If a
lot of resorts would be requested in a short time frame, this could lead
to the item order changing within the view up to 20 times a second which
would lead to a lot of unnecessary movement and make it impossible to
read even file names during the repeated sorting.

100 ms is half as bad in that regard. Bigger values might be even better
    but it is a trade-off.
2024-01-22 13:45:01 +00:00
l10n daemon script 7a28bed8ee GIT_SILENT Sync po/docbooks with svn 2024-01-22 01:40:05 +00:00
Yifan Zhu acc5e739ce dolphintabbar: only open tab on double left click
A new tab should be opened only if the double click comes from the left
button.

BUG: 480098
FIXED-IN: 24.02
2024-01-21 08:18:38 +00:00
l10n daemon script 3202f8e310 GIT_SILENT Sync po/docbooks with svn 2024-01-21 01:21:11 +00:00
Méven Car 52559a3a01 rolesupdater: set isExpandable to false when dir is empty
Signed-off-by: Méven Car <meven@kde.org>
2024-01-20 11:33:31 +01:00
l10n daemon script 5dbea4a227 GIT_SILENT Sync po/docbooks with svn 2024-01-20 01:20:45 +00:00
l10n daemon script 2bf60e41e9 GIT_SILENT Sync po/docbooks with svn 2024-01-19 01:24:45 +00:00
Loren Burkholder 438131a3d3 Fix memory leak 2024-01-18 23:29:23 +00:00
Loren Burkholder 5d6bdce2d6 Resize the split button when the menu is removed 2024-01-18 23:29:23 +00:00
Loren Burkholder 084cf94a31 Remove the menu from the split button when splitscreen is closed 2024-01-18 23:29:23 +00:00
Loren Burkholder aaa95d5278 Remove popout action from toolbar when split screen is closed
It's pointless to show the popout action when splitscreen is closed,
so we'll remove it as a child of the splitscreen action whenever the
screen is not split.
2024-01-18 23:29:23 +00:00
Joshua Goins 830dd0148a Use a separate menu action for split view action
Now that it's a KMenuAction, it becomes impossible to trigger the root
action when it's in a menu. To work around this, we create a new action
that mirrors the state of the original. It also takes the default
shortcut.
2024-01-18 23:29:23 +00:00
Loren Burkholder 31fc08fe7f Move popout action into split action dropdown 2024-01-18 23:29:23 +00:00
Loren Burkholder 20dafcb101 Follow the setting for which view to close 2024-01-18 23:29:23 +00:00
Loren Burkholder d4df55c6bf Always update the split view button 2024-01-18 23:29:23 +00:00
Loren Burkholder 2c564cc1f9 Use better description for pop out action 2024-01-18 23:29:23 +00:00
Loren Burkholder f7e2c51198 Allow popping out a split view
If you have a split view open, you can now pop the active half out into a new window by clicking the "Pop out" button in the toolbar or by activating "View > Pop out".

BUG: 270604
2024-01-18 23:29:23 +00:00
l10n daemon script 2cee764ff7 GIT_SILENT Sync po/docbooks with svn 2024-01-18 01:21:46 +00:00
l10n daemon script bc2bb4ac62 GIT_SILENT Sync po/docbooks with svn 2024-01-17 01:23:06 +00:00
l10n daemon script 18cd42837f 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"
2024-01-17 01:13:46 +00:00
l10n daemon script 3a25f7628c GIT_SILENT made messages (after extraction) 2024-01-17 00:39:27 +00:00
Jin Liu c984badee3 Fix: "empty folder" placeholder text eating mouse events
BUG: 441070
2024-01-16 12:37:45 +00:00
l10n daemon script b2915767c8 GIT_SILENT Sync po/docbooks with svn 2024-01-16 01:23:19 +00:00
l10n daemon script 520632f9c0 GIT_SILENT Sync po/docbooks with svn 2024-01-15 01:22:50 +00:00
Stefano Crocco 0d01cb09c9 Never emit the fileMiddleClickActivated signal if isTabsForFilesEnabled is true
Commit d27ee07d makes it impossible for applications embedding Dolphin part (for example, Konqueror) to react to middle mouse click on a file. If I understand correctly (I'm not familiar with Dolphin code) the `fileMiddleClickActivated` signal is connected with a slot in `DolphinViewContainer`, which is only used by Dolphin itself and not by `DolphinPart`. The result is that middle clicking on a file (except archives) from a Dolphin part has no effect.

To avoid this situation, I removed the check for `!archiveProtocolIsEmpty()` in the `else if` condition. This way, if `isTabsForFilesEnabled()` is `true`, which should be true if and only if the view is inside a `DolphinPart`, the `activeTabRequested` or `tabRequested` signal will be emitted, allowing the embedding application to respond however it wants. When the view is inside the Dolphin application, instead, `isTabsForFilesEnabled()` will always be `false`, so the new behavior will be used.
2024-01-14 09:36:32 +00:00
Amol Godbole 0d2aa8a1be DolphinMainWindowTest: Add unit test for autosave session feature
Adds a simple test to check if session is autosaved when a new tab is
opened.
2024-01-14 08:34:58 +00:00
Amol Godbole 5a8bd47296 DolphinView: Use SingleShot and Queued Connections
A minor refactor where Qt::SingleShotConnection has been utilized.
Also, signal delay using QTimer has been replaced with a
Qt::QueuedConnection.
2024-01-14 08:34:58 +00:00
Amol Godbole c035e95e1d DolphinMainWindow: autosave session
Currently, the session is saved only when the app quits normally. Save
the session after a fixed time interval from the last state change i.e.
anytime the url is changed, or a tab is opened or closed, or the active
view is changed.

BUG: 425627
2024-01-14 08:34:58 +00:00
l10n daemon script f15c8d9238 GIT_SILENT Sync po/docbooks with svn 2024-01-14 01:41:04 +00:00
Méven Car 9691afbc50 Add setting also hide application/x-trash files when hiding hidden files
BUG: 475805
2024-01-13 09:07:33 +00:00
Eugene Popov c8dffc433c Always automatically choose a new file name while duplicating
Since now when duplicating items we automatically generate a name for the new item, we can do the same if an item with that name already exists.

BUG: 475410
2024-01-13 08:28:52 +00:00
Jin Liu 3619e74eb1 Fix: closing split view doesn't update tab name
BUG: 469316
2024-01-13 01:47:15 +00:00
l10n daemon script 348a36439e GIT_SILENT Sync po/docbooks with svn 2024-01-13 01:29:58 +00:00
Felix Ernst 83988f5e5b Explain free space button usage in tooltip
This is to make sure that users do not have to guess why they would
want to press the button.
2024-01-12 17:24:23 +00:00
Albert Astals Cid d4d6f88344 GIT_SILENT Upgrade release service version to 24.04.70. 2024-01-11 21:13:22 +01:00
l10n daemon script 0e9d45fed3 GIT_SILENT Sync po/docbooks with svn 2024-01-11 01:21:04 +00:00
Akseli Lahtinen c5e9a28bef KItemListRoleEditor: Disable spellchecking
No need for spellchecking when renaming folders/filenames.

BUG:477897
2024-01-10 14:12:54 +00:00
Akseli Lahtinen 1a59905027 terminalpanel.cpp: Set m_konsolePart to nullptr during exit signal
If Dolphin terminal is open, and one types `exit` there and then closes Dolphin, Dolphin crashes due to a dangling pointer.

Konsole KPart is deleting itself when Konsole session exits, but Dolphin tracks it as a child of the Terminal Panel. 
The Terminal Panel doesn't get destroyed when Konsole KPart does, and it tries to double free during children clean up.
(Thanks @sitter !) 

Setting `m_konsolePart` to `nullptr` during exit signal fixes this, since there is already check in place for that in the destructor.

BUG:479596
2024-01-10 09:22:46 +00:00
l10n daemon script 7e02110c64 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"
2024-01-10 02:08:59 +00:00
Albert Astals Cid b625a44a69 GIT_SILENT Upgrade release service version to 24.01.90. 2024-01-09 00:22:40 +01:00
l10n daemon script 800078b591 GIT_SILENT Sync po/docbooks with svn 2024-01-08 02:19:29 +00:00
l10n daemon script 718d418dd5 GIT_SILENT Sync po/docbooks with svn 2024-01-07 02:52:57 +00:00
Méven Car 5186f09cab DolphinView: merge update functions into set functions
NO_CHANGELOG
2024-01-06 11:13:22 +01:00
l10n daemon script 9904740f6d GIT_SILENT Sync po/docbooks with svn 2024-01-06 02:15:33 +00:00
l10n daemon script fc0cdddddd GIT_SILENT Sync po/docbooks with svn 2024-01-05 02:17:23 +00:00
l10n daemon script e13a47f01f 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"
2024-01-05 02:08:48 +00:00
l10n daemon script 74cad37242 GIT_SILENT made messages (after extraction) 2024-01-05 01:36:14 +00:00
l10n daemon script 3a6ad7583f GIT_SILENT Sync po/docbooks with svn 2024-01-04 02:22:51 +00:00
Sune Vuorela 458fa9c5b3 Remove setUpdate KBookmarkManager call
It is related to receiving updates from dbus; but that's removed.

Also, it defaults to true
2024-01-03 15:20:59 +01:00
l10n daemon script 0ac787f562 GIT_SILENT Sync po/docbooks with svn 2024-01-03 02:19:40 +00:00