Commit graph

6667 commits

Author SHA1 Message Date
Ilia Kats
acc42f9189 fix display of folder sizes for empty folders
also fixes 1 byte error in size calculation for all folders
2020-12-17 13:04:01 +01:00
Ahmad Samir
d74853ef85 Merge branch 'release/20.12' 2020-12-16 23:53:57 +02:00
Ahmad Samir
c03b43b4a1 Use setShowOpenOrExecuteDialog(true) with OpenUrlJob
It makes more sense for a file manager to always ask the user:
 - whether to execute binaries
 - whether to open an executable script as text or execute it

The openOrExecute dialog from KIOWidgets has a "don't ask again" checkbox,
and that setting is also accessible from Dolphin's settings dialog.

See the discussion at https://bugs.kde.org/show_bug.cgi?id=429839#c10
2020-12-16 23:51:06 +02:00
Elvis Angelaccio
1b192c67f9 Merge branch 'release/20.12' 2020-12-15 23:28:15 +01:00
Elvis Angelaccio
aeea98837d DolphinContextMenu: drop wrong assert
`m_context` can also be `SearchContext` or `TimelineContext`, so this
assert has been wrong since 8b0c12a59c.
2020-12-15 22:56:06 +01:00
Anthony Fieroni
c95d7fae79 Fix access url navigator while creating new tab in filename search view
BUG: 429628
BUG: 430434

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-12-15 21:44:10 +00:00
David Faure
42cd439af8 Merge remote-tracking branch 'origin/release/20.12' 2020-12-15 18:48:11 +01:00
David Faure
da636bf513 Fix KIO warning when URL is empty 2020-12-15 18:45:20 +01:00
Alexander Lohnau
20370b4c9f Do not create instance of GeneralSettings just to access static members 2020-12-11 20:06:51 +01:00
l10n daemon script
784586672d GIT_SILENT made messages (after extraction) 2020-12-10 02:44:34 +01:00
Laurent Montel
d2f044b32d operator+/- is disabled for QFlags in qt6 2020-12-09 07:55:44 +01:00
Méven Car
ce3c243525 ContextMenu: Allow plugins submenus to react to Shift modifiers
In 9e4642d435 support was added for the
NewFileMenu.
This adds support for the Plugins submenu provided they relay their
parentWidget to their own menus.

BUG: 425997
2020-12-07 22:13:29 +00:00
Alexander Lohnau
a4a7b5e8af servicemenuinstaller: Remove file if it already exists
This is the case when you update an entry.
2020-12-07 22:10:37 +00:00
Friedrich W. H. Kossebau
ac97d98866 dolphinpart: fix broken part icon name 2020-12-07 22:09:58 +00:00
Friedrich W. H. Kossebau
9826d81034 dolphinpart: port to new KPluginMetaData-based KParts API 2020-12-07 22:09:58 +00:00
Friedrich W. H. Kossebau
07b7f76f7c dolphinpart: add JSON metadata to plugin, install into kf5/parts subdir 2020-12-07 22:09:58 +00:00
l10n daemon script
476fe42624 GIT_SILENT made messages (after extraction) 2020-12-06 08:14:05 +01:00
l10n daemon script
3c6f1e6881 GIT_SILENT made messages (after extraction) 2020-12-06 02:38:12 +01:00
Elvis Angelaccio
2274db954a Merge branch 'release/20.12' 2020-12-05 19:24:56 +01:00
Elvis Angelaccio
c453393d35 Fix PlacesItemModelTest, 2nd try
This partly reverts 15a5189b11

The KDE CI does not have KDE_FULL_SESSION set, which means that KIO
doesn't add the recentlyused:// urls to the model, but defaults to the
old timeline:// urls instead.

In both cases KIO adds 2 places, so it is safe to always assume that the
expected model count is 14.
2020-12-05 19:15:51 +01:00
Elvis Angelaccio
bc3e77d2ef Drop obsolete KF5 version check
We depend on 5.77 now.
2020-12-05 18:39:45 +01:00
Elvis Angelaccio
c4a1903dd1 Add missing const 2020-12-05 16:58:04 +01:00
Yuri Chornoivan
e06d6b2c8a Fix the docs according to the current double-click option place (take two) 2020-12-03 23:04:30 +02:00
Ahmad Samir
1d64b9bb10 DolphinView: set the parent of layout in the ctor
This silences a runtime warning:
QLayout: Attempting to add QLayout "" to DolphinView "", which already
has a layout

Remove redudant setLayout() calls, passing a parent widget to the
Q*BoxLayout ctor sets that layout as the top-level layout for that widget.
2020-12-03 19:50:04 +00:00
Yuri Chornoivan
1344641775 Fix the docs according to the current double-click option place 2020-12-03 21:35:53 +02:00
Christoph Feck
9b8ac3ef3f GIT_SILENT Update Appstream for new release 2020-12-02 23:01:21 +01:00
Christoph Feck
16ec949f35 GIT_SILENT Update Appstream for new release
(cherry picked from commit 9b8ac3ef3f)
2020-12-02 23:01:21 +01:00
Christoph Feck
ef08c4c067 GIT_SILENT Upgrade release service version to 20.12.0. 2020-12-02 22:48:44 +01:00
Méven Car
60b9eaa4c1 Toolbar: move and rename filter to edit menu above Search
This is to expose more filter.
Also rename "Show Filter Bar" to simply "Filter", keep "Show Filter Bar" as tooltip

Adds a toggle filter bar action.
2020-12-02 07:07:41 +00:00
Nate Graham
ce11325115 Merge branch 'release/20.12' 2020-11-30 17:08:46 -07:00
Méven Car
c2a7bde383 Re-allow to paste files via context menu
BUG: 429762
2020-11-30 22:18:48 +01:00
Alexander Lohnau
dbf0f645d2 Utilize KFileItemActions::addActionsTo method from KIO 2020-11-29 14:34:07 +00:00
Nicolas Fella
94c1fe6299 Remove unused includes 2020-11-29 15:03:27 +01:00
Carson Black
ad9c955835 [kitemlistview]: Animate rubberband fading out 2020-11-28 21:11:44 +00:00
Nate Graham
78c7429a35 Add placeholder text for empty views
Throughout our QML-based software, we now display placeholder text for
empty views so that the user knows that the view is actually empty, and
it's not that the software is just broken.

This commit introduces the same thing for Dolphin's main view.

BUG: 429248
BUG: 426354
FIXED-IN: 21.04
2020-11-28 19:06:28 +00:00
Friedrich W. H. Kossebau
ac862c8e2d ui.rc files: consistenly use <gui> instead of deprecated <kpartgui> 2020-11-28 10:28:53 +01:00
Christoph Feck
81c9422df5 GIT_SILENT Upgrade release service version to 20.11.90. 2020-11-25 02:02:03 +01:00
Nate Graham
31528188c1 Merge branch 'release/20.12' 2020-11-24 13:53:33 -07:00
Nate Graham
bcdb1957af Allow the openURLJob to run executables
Otherwise, excecutable files like AppImages won't be allowed to launch
even if they are correctly marked as executable.

BUG: 429603
FIXED-IN: 20.12
2020-11-24 13:47:48 -07:00
Elvis Angelaccio
d3689ba153 Fix typo in gitlab-ci filename 2020-11-24 00:06:02 +01:00
Elvis Angelaccio
201b8d4110 Add .gitlab-ci.yml
This should enable basic CI support for dolphin MRs.
2020-11-24 00:03:39 +01:00
Derek Christ
9e4642d435 Fix delete action switching via 'Shift' when sub-context-menu is open
Switching the 'Move to Trash' action to 'Delete' using the shift key
does not work when the mouse hovers a submenu. This fix resolves the
issue by using an event filter instead of the key event functions.

BUG: 425997
2020-11-23 22:07:31 +00:00
Alexander Lohnau
c3b238bbe9 Move repetitive contextmenu related logic in one place
This makes a bit easier to handle the stuff.
Also we don't need the `addVersionControlPluginActions` utility method
and we can put it in the new utility method instead.
2020-11-23 21:58:36 +00:00
Felix Ernst
b62095950a Merge branch 'release/20.12' 2020-11-23 13:38:22 +01:00
Méven Car
2cd1c07cad Places panel: highlight place only when it is displayed
BUG: 156678
FIXED-IN: 20.12
2020-11-23 00:02:59 +00:00
Elvis Angelaccio
d5a4835f01 PlacesItemModelTest: consider also Pictures/Music/Videos folders
See a371e23b2b667bc85c311d04549f3d7348d00af5 in kio.
2020-11-23 00:40:53 +01:00
Elvis Angelaccio
a218b2ce51 PlacesItemModelTest: use helper method to increase indexes
Instead of duplicating the logic all over the place.
2020-11-23 00:36:50 +01:00
Mufeed Ali
4f8c8955b9
Rename 'Url Navigator' to 'Location Bar' 2020-11-22 18:06:37 +05:30
Alexander Lohnau
3b74e4a3ab Remove unneeded version check 2020-11-22 08:42:18 +01:00
Alexander Lohnau
48fec6c9ec Add 'Open Terminal Here' action from dolphin to menu 2020-11-21 20:22:16 +00:00