Commit graph

7315 commits

Author SHA1 Message Date
Ahmad Samir
8aa81a1dc7 Cleanup config-dolphin.h includes 2022-06-15 11:28:44 +02:00
Ahmad Samir
28a74d1780 Use cmakedefine01
This way we get a build time warning if the var isn't defined at all, e.g.
a missing check_include_files() CMake call.
2022-06-15 11:28:42 +02:00
Ahmad Samir
8a0003bfbc Use one config-dolphin.h.cmake configuration file 2022-06-15 11:27:55 +02:00
Dāvis Mosāns
fc2d181291 Fix rare ToolTipManager crash on exit
If tooltips are enabled and you hover over item
while immediately closing Dolphin sometimes it would crash
because native parent might have been destroyed before
DolphinView
2022-06-15 02:35:19 +01:00
l10n daemon script
957e6309b8 GIT_SILENT made messages (after extraction) 2022-06-14 00:52:42 +00:00
l10n daemon script
6401e69a4f 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-06-13 02:41:50 +00:00
l10n daemon script
bce1f06b26 GIT_SILENT made messages (after extraction) 2022-06-13 01:14:51 +00:00
Méven Car
460bcd533a Bump KF5_MIN_VERSION after e9bd295b make 5.92 necessary 2022-06-12 07:23:37 -06:00
Laurent Montel
a7f35a01ce Fix install/load plugins from kf<version> 2022-06-11 13:34:22 +02:00
l10n daemon script
eb4a3cb45a 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-06-09 02:11:47 +00:00
l10n daemon script
3207ed3b97 GIT_SILENT made messages (after extraction) 2022-06-09 01:00:49 +00:00
Marius P
8113af62c4 KItemListView fix valgrind issue "Conditional jump or move depends on uninitialised value"
KItemListView::setAlternateBackgrounds(bool) (kitemlistview.cpp:489)
In C++, a data member of an object is not automatically initialized to "zero".
In this case a bool had random values such as the integer 255.
2022-06-07 11:41:21 +00:00
l10n daemon script
e406bc197f 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-06-07 02:25:10 +00:00
l10n daemon script
ee76ae866e GIT_SILENT made messages (after extraction) 2022-06-07 01:02:15 +00:00
l10n daemon script
579b38050d 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-06-06 01:43:37 +00:00
Heiko Becker
29acb196ab GIT_SILENT Update Appstream for new release
(cherry picked from commit d0fc5bcd3d)
2022-06-04 10:17:29 +02:00
Heiko Becker
6cd3121c38 GIT_SILENT Update Appstream for new release
(cherry picked from commit 716d814019)
2022-06-03 22:36:05 +02:00
Laurent Montel
8df1ea3327 We depend against qt5.15 2022-06-02 07:55:08 +02:00
l10n daemon script
165448bc7f 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-06-02 01:44:29 +00:00
Laurent Montel
9bb2b0a6a8 Add Qt6 CI support 2022-06-01 06:13:27 +00:00
l10n daemon script
67a149b447 GIT_SILENT made messages (after extraction) 2022-06-01 00:56:17 +00:00
Laurent Montel
6ee1e01eb0 It's enabled by default in qt6 2022-05-31 21:13:09 +02:00
Laurent Montel
4fc25d5949 We depend against kf5.91 => remove check 2022-05-31 21:12:01 +02:00
Ahmad Samir
ad23079e1b Fix building KF6 with PackageKit-Qt 2022-05-31 14:25:13 +00:00
Ahmad Samir
0d81efae58 Fix build with Qt6 QFont::setWeight()
In Qt5 it takes an int, in Qt6 it takes a QFont::Weight.
2022-05-31 14:25:13 +00:00
Ahmad Samir
a07b9054bf Add missing includes needed to build with KF6
Apparently KPluginMetaData was implicitly included by something else.
2022-05-31 14:25:13 +00:00
Ahmad Samir
d2f8c4f064 KServiceTypeTrader has been deprecated since KService 5.90 2022-05-31 14:25:13 +00:00
Ahmad Samir
00c26fb390 Fix version macro with respect to finding "KFileItemAction/Plugin" services
GIT_SILENT
2022-05-31 14:25:13 +00:00
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