]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
5 years agoFix the docs according to the current double-click option place (take two)
Yuri Chornoivan [Thu, 3 Dec 2020 21:04:30 +0000 (23:04 +0200)]
Fix the docs according to the current double-click option place (take two)

5 years agoDolphinView: set the parent of layout in the ctor
Ahmad Samir [Thu, 3 Dec 2020 18:06:11 +0000 (20:06 +0200)]
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.

5 years agoFix the docs according to the current double-click option place
Yuri Chornoivan [Thu, 3 Dec 2020 19:35:53 +0000 (21:35 +0200)]
Fix the docs according to the current double-click option place

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Wed, 2 Dec 2020 22:01:21 +0000 (23:01 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 9b8ac3ef3f73a79896160fee7e92d4bc6a18c71d)

5 years agoToolbar: move and rename filter to edit menu above Search
Méven Car [Wed, 2 Dec 2020 07:07:41 +0000 (07:07 +0000)]
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.

5 years agoMerge branch 'release/20.12'
Nate Graham [Tue, 1 Dec 2020 00:08:46 +0000 (17:08 -0700)]
Merge branch 'release/20.12'

5 years agoRe-allow to paste files via context menu
Méven Car [Mon, 30 Nov 2020 08:01:27 +0000 (09:01 +0100)]
Re-allow to paste files via context menu

BUG: 429762

5 years agoUtilize KFileItemActions::addActionsTo method from KIO
Alexander Lohnau [Sat, 28 Nov 2020 22:35:43 +0000 (23:35 +0100)]
Utilize KFileItemActions::addActionsTo method from KIO

5 years agoRemove unused includes
Nicolas Fella [Sun, 29 Nov 2020 14:03:27 +0000 (15:03 +0100)]
Remove unused includes

5 years ago[kitemlistview]: Animate rubberband fading out
Carson Black [Wed, 21 Oct 2020 02:04:44 +0000 (22:04 -0400)]
[kitemlistview]: Animate rubberband fading out

5 years agoAdd placeholder text for empty views
Nate Graham [Tue, 17 Nov 2020 23:15:57 +0000 (16:15 -0700)]
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

5 years agoui.rc files: consistenly use <gui> instead of deprecated <kpartgui>
Friedrich W. H. Kossebau [Sat, 28 Nov 2020 09:28:53 +0000 (10:28 +0100)]
ui.rc files: consistenly use <gui> instead of deprecated <kpartgui>

5 years agoGIT_SILENT Upgrade release service version to 20.11.90.
Christoph Feck [Wed, 25 Nov 2020 01:02:03 +0000 (02:02 +0100)]
GIT_SILENT Upgrade release service version to 20.11.90.

5 years agoMerge branch 'release/20.12'
Nate Graham [Tue, 24 Nov 2020 20:53:33 +0000 (13:53 -0700)]
Merge branch 'release/20.12'

5 years agoAllow the openURLJob to run executables
Nate Graham [Tue, 24 Nov 2020 20:47:48 +0000 (13:47 -0700)]
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

5 years agoFix typo in gitlab-ci filename
Elvis Angelaccio [Mon, 23 Nov 2020 23:06:02 +0000 (00:06 +0100)]
Fix typo in gitlab-ci filename

5 years agoAdd .gitlab-ci.yml
Elvis Angelaccio [Mon, 23 Nov 2020 23:02:14 +0000 (00:02 +0100)]
Add .gitlab-ci.yml

This should enable basic CI support for dolphin MRs.

5 years agoFix delete action switching via 'Shift' when sub-context-menu is open
Derek Christ [Thu, 15 Oct 2020 21:11:17 +0000 (23:11 +0200)]
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

5 years agoMove repetitive contextmenu related logic in one place
Alexander Lohnau [Sun, 22 Nov 2020 21:19:21 +0000 (22:19 +0100)]
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.

5 years agoMerge branch 'release/20.12'
Felix Ernst [Mon, 23 Nov 2020 12:38:22 +0000 (13:38 +0100)]
Merge branch 'release/20.12'

5 years agoPlaces panel: highlight place only when it is displayed
Méven Car [Tue, 17 Nov 2020 20:11:03 +0000 (21:11 +0100)]
Places panel: highlight place only when it is displayed

BUG: 156678
FIXED-IN: 20.12

5 years agoPlacesItemModelTest: consider also Pictures/Music/Videos folders
Elvis Angelaccio [Sun, 22 Nov 2020 23:25:07 +0000 (00:25 +0100)]
PlacesItemModelTest: consider also Pictures/Music/Videos folders

See a371e23b2b667bc85c311d04549f3d7348d00af5 in kio.

5 years agoPlacesItemModelTest: use helper method to increase indexes
Elvis Angelaccio [Sun, 22 Nov 2020 23:36:50 +0000 (00:36 +0100)]
PlacesItemModelTest: use helper method to increase indexes

Instead of duplicating the logic all over the place.

5 years agoRename 'Url Navigator' to 'Location Bar'
Mufeed Ali [Sun, 22 Nov 2020 12:36:37 +0000 (18:06 +0530)]
Rename 'Url Navigator' to 'Location Bar'

5 years agoRemove unneeded version check
Alexander Lohnau [Sun, 22 Nov 2020 07:42:18 +0000 (08:42 +0100)]
Remove unneeded version check

5 years agoAdd 'Open Terminal Here' action from dolphin to menu
Alexander Lohnau [Tue, 10 Nov 2020 18:59:15 +0000 (19:59 +0100)]
Add 'Open Terminal Here' action from dolphin to menu

5 years agoSelect last visited folder when going up/back
Felix Ernst [Fri, 20 Nov 2020 15:17:08 +0000 (16:17 +0100)]
Select last visited folder when going up/back

This commit fixes a regression introduced by
ad5d3367c7fef4c3c11188a768f21a2ee2b3c025. A lot of connections were
changed there and at least one of them was wrong. The connections can
be separated into GUI connections and internal ones. This commit makes
it so the GUI stuff is connected to m_urlNavigatorConnected and
everything else to m_urlNavigator.

BUG: 429097

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 21 Nov 2020 07:23:19 +0000 (08:23 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoMerge branch 'release/20.12'
Nate Graham [Fri, 20 Nov 2020 18:32:49 +0000 (11:32 -0700)]
Merge branch 'release/20.12'

5 years agoRe-allow icons that are not theme icon
Méven Car [Sun, 15 Nov 2020 21:12:52 +0000 (22:12 +0100)]
Re-allow icons that are not theme icon

Particularly concerned are .desktop files.

See also:
15baa93640bbb49162f26d439e006729ee9c3441

BUG: 429113

5 years agoAllow having the UrlNavigators below the tab bar
Felix Ernst [Thu, 19 Nov 2020 21:22:27 +0000 (21:22 +0000)]
Allow having the UrlNavigators below the tab bar

This commit restores the possibility to have the UrlNavigators below
the tab bar. This will happen automatically whenever the UrlNavigator
is removed from the toolbar.

It is also now again possible to have the toolbar on the side. This
option is disabled while the toolbar contains the UrlNavigators.

This commit makes no changes to the new default which is having the
UrlNavigators in the toolbar but makes sure that upgrading users won't
be affected.

5 years agoD-Bus activation systemd service
Henri Chain [Wed, 21 Oct 2020 10:20:56 +0000 (10:20 +0000)]
D-Bus activation systemd service

Correctly scopes dolphin in systemd service `app-org.kde.dolphin.service` when dbus-activated (while still working if systemd is not present), as per https://systemd.io/DESKTOP_ENVIRONMENTS/

uses new ECM modules:
- https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/5 to simplify the systemd service templating + install
- https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/17 to generate the dbus service file automatically

needs https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/25

5 years agoDifferent icon to launch Konsole terminal
Alexander Lohnau [Tue, 17 Nov 2020 19:23:02 +0000 (20:23 +0100)]
Different icon to launch Konsole terminal

5 years agoSeparate Delete/Move To Trash menu items in context menu
Nate Graham [Tue, 17 Nov 2020 19:13:30 +0000 (12:13 -0700)]
Separate Delete/Move To Trash menu items in context menu

Right now these actions are in a visual group with "Rename" and "Add to
Places" which is silly as those actions have no logical connection
whatsoever to deletion.

This commits moves those items into the section above, putting them in a
more logical place and leaving the Delete/Move To Trash item in its own
section.

BUG: 429256
FIXED-IN: 21.04

5 years agoAdd missing kconfig_version.h include
Elvis Angelaccio [Tue, 17 Nov 2020 21:54:22 +0000 (22:54 +0100)]
Add missing kconfig_version.h include

This should have been part of edced8460b.

5 years agoCorrect indentation and whitespace in prior commit
Nate Graham [Tue, 17 Nov 2020 16:40:05 +0000 (09:40 -0700)]
Correct indentation and whitespace in prior commit

5 years agoAllow folder creation on desktop via F10 shortcut
Domenico Panella [Sat, 29 Aug 2020 14:12:47 +0000 (16:12 +0200)]
Allow folder creation on desktop via F10 shortcut

5 years agoMerge branch 'release/20.12'
Nate Graham [Mon, 16 Nov 2020 17:26:04 +0000 (10:26 -0700)]
Merge branch 'release/20.12'

5 years agoPlacesPanel: tooltip, use toLocalFile instead of path
Méven Car [Sat, 14 Nov 2020 07:59:35 +0000 (08:59 +0100)]
PlacesPanel: tooltip, use toLocalFile instead of path

To avoid Windows compatiblity issues.

5 years agoMerge branch 'release/20.12'
Elvis Angelaccio [Sun, 15 Nov 2020 21:46:34 +0000 (22:46 +0100)]
Merge branch 'release/20.12'

5 years agoIncrement kpartgui version
Felix Ernst [Sun, 15 Nov 2020 14:21:44 +0000 (15:21 +0100)]
Increment kpartgui version

The defaults changed in 37327c9b0aae112c5890703cba1f0157043007e0 but
I forgot to also bump the kpartgui version so this commit rectifies
that.

5 years agoContext Menu: Only add paste action to folders
Méven Car [Sat, 14 Nov 2020 06:58:24 +0000 (07:58 +0100)]
Context Menu: Only add paste action to folders

Either the viewport, or the selected folder is used as destination.
The paste action is only added when enabled.

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 14 Nov 2020 01:37:30 +0000 (02:37 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoMerge branch 'release/20.12'
Felix Ernst [Fri, 13 Nov 2020 10:41:17 +0000 (11:41 +0100)]
Merge branch 'release/20.12'

5 years agoFix navigator alignment for right-to-left localizations
Felix Ernst [Wed, 11 Nov 2020 14:40:14 +0000 (15:40 +0100)]
Fix navigator alignment for right-to-left localizations

5 years agoMerge branch 'release/20.12'
Nate Graham [Thu, 12 Nov 2020 17:38:14 +0000 (10:38 -0700)]
Merge branch 'release/20.12'

5 years agoFix qrc icon
Alexander Lohnau [Thu, 12 Nov 2020 09:01:08 +0000 (10:01 +0100)]
Fix qrc icon

Apparently the icon was not null, because the mimetype was known.
But there was no icon associated with it and we got an
icon which is not null, but has a null pixmap.

5 years agoSet empty value for packagekit transaction flags
Alexander Lohnau [Thu, 12 Nov 2020 08:38:22 +0000 (09:38 +0100)]
Set empty value for packagekit transaction flags

Otherwise the value would be Trusted Only, which will
forbid installing local packages

5 years agoSet empty value for packagekit transaction flags
Alexander Lohnau [Thu, 12 Nov 2020 08:38:22 +0000 (09:38 +0100)]
Set empty value for packagekit transaction flags

Otherwise the value would be Trusted Only, which will
forbid installing local packages

5 years agoMerge branch 'release/20.12'
Nate Graham [Tue, 10 Nov 2020 17:39:15 +0000 (10:39 -0700)]
Merge branch 'release/20.12'

5 years agoPlaces panel: show a tooltip after 500 ms
Méven Car [Sat, 7 Nov 2020 18:45:56 +0000 (19:45 +0100)]
Places panel: show a tooltip after 500 ms

BUG: 426455
FIXED-IN: 20.12

5 years agoMerge branch 'release/20.12'
Elvis Angelaccio [Mon, 9 Nov 2020 23:05:27 +0000 (00:05 +0100)]
Merge branch 'release/20.12'

5 years agoAdress the third round of Angelaccio's review comments
Felix Ernst [Mon, 9 Nov 2020 13:25:15 +0000 (14:25 +0100)]
Adress the third round of Angelaccio's review comments

Additionally remove some redundant code concerning UrlNavigator visuals.

5 years agoAdress most of the second round of Angelaccio's review comments
Felix Ernst [Thu, 5 Nov 2020 22:30:07 +0000 (23:30 +0100)]
Adress most of the second round of Angelaccio's review comments

This commit applies most suggestions which were made on the MR.
Most notably the DolphinUrlNavigator class is split up which leads to
the creation of a DolphinUrlNavigatorsController class.

Additionally some minor coding style and const correctness changes are
included.

The error value of cached integers is changed from -1 to INT_MIN
because situations could come up in which -1 would be a valid value.

5 years agoApply Méven Car's suggestions
Felix Ernst [Thu, 5 Nov 2020 15:28:13 +0000 (16:28 +0100)]
Apply Méven Car's suggestions

5 years agoFix a crash and extract unrelated changes
Felix Ernst [Wed, 28 Oct 2020 16:52:29 +0000 (17:52 +0100)]
Fix a crash and extract unrelated changes

The secondary UrlNavigator is now created when and only when:
- split view mode is activated for the active tab
OR
- switching to a tab that has split view already enabled.
This fixes a crash that occurs when the setting to always start in
split view mode is enabled.

An animation for activating split view is also removed from this and
moved into a separate MR. Another unrelated name change left over from
a previous commit (viewContainers() -> activeViewContainers()) is
dropped.

5 years agoMake UrlNavigators in the toolbar the only option
Felix Ernst [Sun, 20 Sep 2020 16:53:59 +0000 (18:53 +0200)]
Make UrlNavigators in the toolbar the only option

The UrlNavigators will be automatically added to the toolbar. The Sort By
action is removed from the default toolbar to make space.

Remove all options to have UrlNavigators outside the toolbar and remove
those code paths.

Make it so the new NavigatorsWidgetAction contains two UrlNavigators when
in split view mode. Spacing was also added to align these UrlNavigators
with the ViewContainers when enough space is available.

Force the toolbar to be either at the top or bottom of the window.

Set a sane sizeHint for DolphinUrlNavigator. It would be better to do this
in KUrlNavigator in the future.

This commit also contains a changes which should be moved to a separate
merge requests before this gets merged:
- Add an expansion animation when split view is enabled by the user

5 years agoAdd the UrlNavigator to the toolbar automatically if needed
Felix Ernst [Thu, 27 Aug 2020 16:55:18 +0000 (18:55 +0200)]
Add the UrlNavigator to the toolbar automatically if needed

This commit adds the DolphinUrlNavigatorWidgetAction::addToToolbarAndSave()
method which changes the users toolbar configuration to contain an
Url Navigator. This way the user doesn't need to do anything manually.

Aside from that a bunch of minor fixes like renaming and reordering

5 years agoAdress the first round of Angelaccio's review comments
Felix Ernst [Wed, 12 Aug 2020 18:45:17 +0000 (20:45 +0200)]
Adress the first round of Angelaccio's review comments

- Split the viewContainers(bool includeInActive) into two methods
    without parameters
- Prevent users from accidently hiding all Url Navigators by
    preventing the dangerous action and then displaying a helpful
    message instead
Unrelated to review comments: Remove a useless line of code

5 years agotrailing whitespaces
Felix Ernst [Sun, 14 Jun 2020 21:08:48 +0000 (23:08 +0200)]
trailing whitespaces

5 years agoAdd an option to use an UrlNavigator in the toolbar instead
Felix Ernst [Sun, 14 Jun 2020 14:20:02 +0000 (16:20 +0200)]
Add an option to use an UrlNavigator in the toolbar instead

This commit adds a locationInToolbar KToggleAction to switch between
using a location bar to navigate or using a new custom QWidgetAction
in the toolbar.

A big portion of this MR is refactoring because until now the
UrlNavigator was tightly intertwined with the DolphinViewContainer.
With this MR an UrlNavigator for controlling a View can be freely
connected or disconnected with a single method call.

A DolphinUrlNavigator class is created in the process which contains all
Dolphin-specific UrlNavigator code which did previously reside in the
DolphinViewContainer class. Other application parts that belong to
UrlNavigator-management are also moved here.

5 years agoPlacesItemListWidget: Use Solid to check if device is a network share
Méven Car [Mon, 9 Nov 2020 12:30:43 +0000 (12:30 +0000)]
PlacesItemListWidget: Use Solid to check if device is a network share

5 years agoMerge branch 'release/20.12'
Elvis Angelaccio [Sun, 8 Nov 2020 22:24:12 +0000 (23:24 +0100)]
Merge branch 'release/20.12'

5 years agoAdd missing reference
Elvis Angelaccio [Sun, 8 Nov 2020 22:23:07 +0000 (23:23 +0100)]
Add missing reference

5 years agoIterate over a const copy list of containers
Ismael Asensio [Fri, 6 Nov 2020 20:22:14 +0000 (21:22 +0100)]
Iterate over a const copy list of containers

This effectively reverts the mutable iterations approach on
2448f88c5f42d7a2040fcf3bcd3c5f2a2f62cd03, and fix crashes
and ghost items when using the filter bar

BUG: 428374

5 years agoGIT_SILENT Upgrade release service version to 21.03.70.
Albert Astals Cid [Sun, 8 Nov 2020 17:33:53 +0000 (18:33 +0100)]
GIT_SILENT Upgrade release service version to 21.03.70.

5 years agoGIT_SILENT Upgrade release service version to 20.11.80.
Albert Astals Cid [Sun, 8 Nov 2020 16:46:54 +0000 (17:46 +0100)]
GIT_SILENT Upgrade release service version to 20.11.80.

5 years agoDo not expose KCMs in application launchers
Alexander Lohnau [Fri, 6 Nov 2020 21:57:47 +0000 (22:57 +0100)]
Do not expose KCMs in application launchers

We still need to build them, because they
are also loaded on konqueror.

5 years agoKDirectoryContentsCounter: fix support of symlinks dir
Méven Car [Thu, 5 Nov 2020 06:58:24 +0000 (07:58 +0100)]
KDirectoryContentsCounter: fix support of symlinks dir

BUG: 428712
FIXED-IN: 20.12

5 years agoAdd support for KUserFeedback
Elvis Angelaccio [Tue, 18 Aug 2020 21:47:53 +0000 (23:47 +0200)]
Add support for KUserFeedback

This commit introduces KUserFeedback in dolphin with some basic data
sources and with a settings page to configure the telemetry values.

There are also a couple custom data sources as proof of concept: a bunch
of settings and the count of available network shares as listed by Solid.

The settings page is shown only if the user feedback framework is
enabled, but currently in Plasma we don't have a global kill switch to
disable it.

At the moment we never show an encouragement message. We need to connect
to the `Provider::showEncouragementMessage()` signal, but first we
should agree to a common way to show a non-annoying message to the users.

5 years agoDetails view: display empty text instead of unknown for sizeless dirs
Méven Car [Thu, 5 Nov 2020 07:50:55 +0000 (08:50 +0100)]
Details view: display empty text instead of unknown for sizeless dirs

BUG: 420037
BUG: 420040
FIXED-IN: 20.12

5 years agoMove m_textInfo to fix ctor warning, and document why it's protected.
Chris Holland [Wed, 4 Nov 2020 21:57:47 +0000 (16:57 -0500)]
Move m_textInfo to fix ctor warning, and document why it's protected.

5 years agoUse QDeadlineTimer instead of QDateTime.
Chris Holland [Sat, 17 Oct 2020 18:37:54 +0000 (14:37 -0400)]
Use QDeadlineTimer instead of QDateTime.
Use early returns instead of deeply nested if/else.

5 years agoCleanup imports
Chris Holland [Sat, 17 Oct 2020 18:31:06 +0000 (14:31 -0400)]
Cleanup imports

5 years agoRemove wip debugging
Chris Holland [Fri, 11 Sep 2020 00:06:52 +0000 (20:06 -0400)]
Remove wip debugging

5 years agoFix freeSpaceInfo cache not being reset.
Chris Holland [Fri, 11 Sep 2020 00:05:37 +0000 (20:05 -0400)]
Fix freeSpaceInfo cache not being reset.

5 years agoUse KDE GitLab url instead of the GitHub mirror
Chris Holland [Sun, 5 Jul 2020 17:46:05 +0000 (13:46 -0400)]
Use KDE GitLab url instead of the GitHub mirror

5 years agoCleanup unused colors. Use const. Use KColorScheme danger.
Chris Holland [Sun, 5 Jul 2020 17:42:17 +0000 (13:42 -0400)]
Cleanup unused colors. Use const. Use KColorScheme danger.

The draw code is more like the last state of D21312 now.

5 years agoRefactor capacity by to use async KIO FreeSpaceJob.
Chris Holland [Fri, 12 Jun 2020 20:06:59 +0000 (16:06 -0400)]
Refactor capacity by to use async KIO FreeSpaceJob.

Based on this kio filepicker patch:
https://github.com/KDE/kio/commit/933887dc334f3498505af7a86d25db7faae91019

5 years agoOnly show capacity bar for devices (has a udi).
Chris Holland [Fri, 1 Nov 2019 22:45:52 +0000 (18:45 -0400)]
Only show capacity bar for devices (has a udi).

5 years agoOnly check if place url is mount point once during polish event.
Chris Holland [Thu, 1 Aug 2019 01:46:53 +0000 (21:46 -0400)]
Only check if place url is mount point once during polish event.

The capacity bars will no longer update when capacity changes. It only
checks the size on init.

Updating during polish event is only a temporarily solution just to
draft code flow for seperating logic from painting. Eventually this
logic update should be in a worker thread detached from blocking the
rendering thread that blocks launching the dolphin window.

5 years agoDraw 2 Rectangles below mount points to represent a disk capacity bar
Chris Holland [Mon, 20 May 2019 17:47:48 +0000 (13:47 -0400)]
Draw 2 Rectangles below mount points to represent a disk capacity bar

Draws overtop text that's goes below the baseline like a 'j'. It's
fairly difficult to add extra space below the text as the places view
is a "details" view, so the text is vertically centered in the
widget's "row" as you'd desire it to in the main file view.

We can make the widget 8px taller, adding 4px above and below so
there's adequate room for the capacitybar, but that wastes 4px for
each mount point.

Ideally we'd use the "compact" view, which displays the text/size in a
column beside the icon. However the compact view was not designed to
take up the entire width of the viewport. It's also designed to
overflow with a horizontal scrollbar.

5 years agoImprove padding in the Places View
Ezike Ebuka [Wed, 4 Nov 2020 21:54:10 +0000 (21:54 +0000)]
Improve padding in the Places View

5 years agoRevert "D-Bus activation systemd service"
Elvis Angelaccio [Wed, 4 Nov 2020 00:12:48 +0000 (01:12 +0100)]
Revert "D-Bus activation systemd service"

This reverts commit eb441b11885fc44dcba1bef693b95819657ed753.

We'll push it again after we branch 20.12. We don't want to push a too
recent version of KF5 on distros.

!27

5 years agoCompute text width taking into account the zoom level
Méven Car [Tue, 3 Nov 2020 10:03:45 +0000 (10:03 +0000)]
Compute text width taking into account the zoom level

This makes the icon view less crowded.

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 3 Nov 2020 05:20:03 +0000 (06:20 +0100)]
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"

5 years agoFolderPanel: prevents scanning directory tree recursively
Méven Car [Sat, 31 Oct 2020 11:40:57 +0000 (12:40 +0100)]
FolderPanel: prevents scanning directory tree recursively

KFileItemListView contents are periodically scanned by KFileItemModelRolesUpdater.
It uses then KDirectoryContentsCounter to scan directories to determine their size possibly recursively.

Introduce a scanDirectories setting to disable directory scanning by KFileItemModelRolesUpdater.

BUG: 426617
FIXED-IN: 20.08.3

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 3 Nov 2020 01:35:33 +0000 (02:35 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoFix PlacesItemModelTest
Elvis Angelaccio [Mon, 2 Nov 2020 00:09:55 +0000 (01:09 +0100)]
Fix PlacesItemModelTest

Since 3dfa0c1c2f87bf1e6bc9 in kio timeline:// is no longer in the places
model.

5 years agoservicemenuinstaller: use Q_GLOBAL_STATIC
Elvis Angelaccio [Sun, 1 Nov 2020 23:03:20 +0000 (00:03 +0100)]
servicemenuinstaller: use Q_GLOBAL_STATIC

Global statics should be avoided when possible.
This fixes a clazy warning.

5 years agoPort away from deprecated QWheelEvent::delta()
Elvis Angelaccio [Sun, 1 Nov 2020 22:42:46 +0000 (23:42 +0100)]
Port away from deprecated QWheelEvent::delta()

QWheelEvent::angleDelta() returns a QPoint instead of int, so we need to
use its y() value to get the number of steps.

5 years agoUse QString::rightRef() as suggested by clazy
Elvis Angelaccio [Sun, 1 Nov 2020 22:31:58 +0000 (23:31 +0100)]
Use QString::rightRef() as suggested by clazy

5 years agomake sure we use valid icons
Martin T. H. Sandsmark [Fri, 25 Sep 2020 16:40:20 +0000 (18:40 +0200)]
make sure we use valid icons

5 years agoFix warnings about scaling pixmaps
Martin T. H. Sandsmark [Fri, 25 Sep 2020 14:33:25 +0000 (16:33 +0200)]
Fix warnings about scaling pixmaps

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Sat, 31 Oct 2020 16:58:54 +0000 (17:58 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 92d41a743399f6f38ff55b9cb59657f5c5a5a510)

5 years agoPort from QStandardPaths::DataLocation to QStandardPaths::AppDataLocation
David Faure [Sat, 31 Oct 2020 13:31:22 +0000 (14:31 +0100)]
Port from QStandardPaths::DataLocation to QStandardPaths::AppDataLocation

They are the same on Linux (but DataLocation is deprecated). On Windows this enables the use of the roaming path.

NO_CHANGELOG

5 years agoDisable session management for daemon
Nate Graham [Thu, 29 Oct 2020 21:00:39 +0000 (15:00 -0600)]
Disable session management for daemon

We don't need to autostart the daemon if it was running at logout.

BUG: 417219
FIXED-IN: 20.12

5 years agoFix wrong parameter in function call
Lothar Paltins [Tue, 27 Oct 2020 14:54:03 +0000 (15:54 +0100)]
Fix wrong parameter in function call

In KDirectoryContentsCounterWorker::CountResult, the first parameter in
the call of walkDir was wrong. It should be path without conversion,
because the conversion is done in the called function.

BUG: 428282

5 years agoUse mutable iterators where required
Alexander Lohnau [Sat, 24 Oct 2020 14:46:34 +0000 (16:46 +0200)]
Use mutable iterators where required

5 years agoCompile with QT_NO_KEYWORDS
Alexander Lohnau [Fri, 23 Oct 2020 17:51:33 +0000 (19:51 +0200)]
Compile with QT_NO_KEYWORDS