Commit graph

6987 commits

Author SHA1 Message Date
Ahmad Samir 2c8adb10ec Port away from deprecated KNewStuff API 2022-05-31 14:25:13 +00:00
Ahmad Samir 397b496470 Merge two relevant ifdef blocks
GIT_SILENT
2022-05-31 14:25:13 +00:00
Ahmad Samir d661bb1a33 Fix building kfileitemmodeltest with KF6
- Fix kio_version.h include
- Explicitly create a QSet for QCOMPARE
2022-05-31 14:25:13 +00:00
Ahmad Samir 49560f921d Port away from copying QEvent when building with Qt6
Copying QEvent in Qt6 isn't allowed, instead use clone().
2022-05-31 14:25:13 +00:00
Ahmad Samir 5d3774aa17 Kdelibs4ConfigMigrator is deprecated in KF6 2022-05-31 14:25:13 +00:00
Ahmad Samir e58f0c085c Port away from deprecated ThumbCreator API
Configurability of individual preview plugins has been deprecated since KIO
5.87.
2022-05-31 14:25:13 +00:00
Ahmad Samir 5cbe6b5302 Migrate old custom view font config entries 2022-05-31 14:25:13 +00:00
Ahmad Samir 802ecc92d2 Simplify custom font settings
Instead of having 3 separate config keys, use the KConfig QFont
de/serilaization.
2022-05-31 14:25:13 +00:00
Méven Car 573abcaf25 kfileitemmodel: sortRoleCompare: allow to sort by access time.
We had all sorts of weird behavior when sorting by access time.
The comparison was simply missing in sortRoleCompare.
2022-05-31 12:21:04 +00:00
l10n daemon script 7b48a8b6e4 GIT_SILENT made messages (after extraction) 2022-05-31 00:55:26 +00:00
Méven Car ca26d35f54 Allow OpenTerminalHere to work for recentlyused:/ and recentdocuments:/ 2022-05-29 12:11:08 +02:00
l10n daemon script 1fc3108f14 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"
2022-05-29 01:46:43 +00:00
l10n daemon script 734df72e90 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"
2022-05-28 02:27:04 +00:00
l10n daemon script 4cd1b6f9ff GIT_SILENT made messages (after extraction) 2022-05-28 01:06:47 +00:00
Felix Ernst f7365aa9ca Remove hover highlight before opening view context menu
If one was fast to open the right-click context menu on the row of
an item in details view mode, the hover highlight would persist
while the context menu for the view was open.

This one-liner makes it so the highlight on the row is always
removed before the right-click context menu for the view is opened
so it is as clear as possible that the newly opened context menu
has no relation to the fileItem.
2022-05-27 10:00:05 +00:00
Felix Ernst b2f18e411a Fix paste on row while in details view mode
Before this change, right-clicking the row of an unselected item
in details view mode would be in a weird state:
- It didn't really count as a click on the item because the item
    didn't get selected by this click before opening the context
    menu.
- It didn't really count as a click on the view background either
    because the actions that showed up depended on the item in
    that row.

This commit fixes this by considering a right-click in the same row
as an unselected item as a click on the view background.
The behaviour of right-clicking the icon or name of a file directly
is unchanged.

This fixes the following bugs:
- The Paste action that shows up when right-clicking in the
    unselected row of a folder now works (instead of doing
    nothing). It now pastes the clipboard contents onto the view
    background.
- When right-clicking the unselected row of a file (not a folder)
    a Paste action once again shows up.
2022-05-27 10:00:05 +00:00
Travis Burrows 58622f431b Extend selection rectangle to left edge
This commit changes it so the sizes of selection rectangles and hover
highlights in compact and details view mode is identical for all items.

Before this commit, selection rectangles in lists would have varying
indentation of the left edge of the selection rectangle depending on
the preview image's width-to-height ratio. This would cause a sort of
"ragged edge" in both compact and details list view when multiple items
were selected.

This commit doesn't change anything about icon view mode.

BUG: 453046
2022-05-26 12:38:22 +00:00
Jin Liu ca0d0bb322 Change wording "Leading Column Padding" to "Side Padding"
Since it actually adds padding on both left and right sides,
"Side Padding" might be more accurate.

This change is also propagated to variable and method names.

BUG: 453172
2022-05-26 08:31:12 +00:00
Andrey Butirsky ff0a4938a5 fix: Dolphin right click and compress doesn't scroll
For newly created items being selected, we had updateViewState() called
twice, and the first call blocked work execution needed in the other one
2022-05-24 17:11:37 +00:00
Andrey Butirsky a4292cf068 prevent excessive tab opening
Without this, KIO::highlightInFileManager() will open additional tab
even if file to be highlighted is already present in current view
2022-05-24 17:11:37 +00:00
Albert Astals Cid 7fed7c9777 Add ki18n_install and kdoctools_install 2022-05-23 00:46:13 +02:00
l10n daemon script 30b62a1c04 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"
2022-05-22 01:44:35 +00:00
Christian Hartmann 85083b209c fix name of uninstall command (without extension)
fixing a minor typo allows using "uninstall" command (variant **without** extension) on de-installation of a service menu
2022-05-21 15:04:14 +00:00
Christian Hartmann 65413bbad2 fix: service-menu-installer ignoring symlinks on un-install
service-menu-installer ignores <package-name>.tar.gz-dir/uninstall.sh
if this is actualy just a symbolic link to install.sh in the same directory
(hardlinks and copies work)

canonicalPath() is used to get the name of the file on disk and returns install.sh
in the case of a symbolic link. install.sh without any arguments is called instead
of uninstall.sh consequently and no de-installation takes place.

replace canonicalPath() with absolutePath() as used in the rest of source file

resolves:

BUG: 452289
2022-05-21 06:21:08 +00:00
Alexander Lohnau 9bdb36abf0 Fix QDirIterator wildcard when fallback install script is searched for
Otherwise, we do not find scripts like "install-user.sh".

BUG: 453870
2022-05-20 04:26:25 +00:00
l10n daemon script 0caa638a5d GIT_SILENT made messages (after extraction) 2022-05-20 00:47:19 +00:00
Shubham 6a5ad6b0ed Add tooltip to free space info widget showing full disk capacity
BUG: 452867
FIXED-IN: 22.08
2022-05-18 18:42:51 +00:00
l10n daemon script b700c94d3e 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"
2022-05-18 01:44:40 +00:00
l10n daemon script e34eba7e0f 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"
2022-05-17 01:46:51 +00:00
l10n daemon script 0b27270bee 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"
2022-05-16 01:50:33 +00:00
l10n daemon script 2ceaa0ba1b 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"
2022-05-15 01:59:30 +00:00
Alexander Lohnau 0fc218fd26 Drop KNS3 prefix for KMoreTools includes
In KF6 KMoreTools should become it's own library and thus the KNS3 prefix should get removed.
Considering that the classes are not in any namespace, having a namespaced include is not needed and only causes noise.
2022-05-13 19:17:06 +00:00
Laurent Montel 6a727b1a7d Port to QStringView 2022-05-11 08:18:02 +02:00
Laurent Montel 421410513d Remove unused include 2022-05-11 08:18:02 +02:00
Méven Car 47014b26b8 KItemList: fix warnings
NO_CHANGELOG
2022-05-08 13:52:51 +02:00
l10n daemon script 2e333e1b97 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"
2022-05-07 01:45:00 +00:00
Ismael Asensio 2c91112c61 SearchBox: Add topMargin to balance the spacing 2022-05-06 20:10:04 +00:00
l10n daemon script 553cb880c2 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"
2022-05-06 01:46:29 +00:00
l10n daemon script ab9fcf0041 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"
2022-05-05 01:47:17 +00:00
l10n daemon script 6b46ebe648 GIT_SILENT made messages (after extraction) 2022-05-05 00:47:58 +00:00
Laurent Montel 013ca76a31 REmove duplicate header between header/file 2022-05-04 20:54:55 +02:00
l10n daemon script 506cdf329c 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"
2022-05-04 01:46:27 +00:00
l10n daemon script d958aa57d8 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"
2022-05-03 01:50:40 +00:00
oioi 555 9b5f56980b Re-add "Open Terminal Here" feature
This is equivalent to the "Open Terminal Here" feature that existed until Version 20.12.  

If the user has selected folders, replace "Open Terminal" in the context menu with "Open Terminal Here".  
When more than 5 folders are selected, a modal window will ask the user if they are sure they want to
open all 6 or more terminal windows.

In Detail View, users can also select a file, 
which will open a terminal at the location of that file.

BUG: 452637
FIXED-IN: 22.08
2022-05-02 20:25:24 +00:00
l10n daemon script e148329393 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"
2022-05-02 01:41:17 +00:00
Felix Ernst 8fda698922 Merge branch 'release/22.04' 2022-05-01 12:10:02 +02:00
Eugene Popov 94bbf13ff7 Fix icon resize animation
This MR fixes an issue where, under certain conditions, an icon resize animation is performed that shouldn't be there.
2022-05-01 10:04:24 +00:00
l10n daemon script 2834e581e0 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"
2022-05-01 03:11:08 +00:00
l10n daemon script cef7ea3be6 GIT_SILENT made messages (after extraction) 2022-05-01 02:30:23 +00:00
l10n daemon script ce720337e5 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"
2022-05-01 01:55:50 +00:00