]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
5 years agoMerge branch 'release/20.08' into master
Nate Graham [Mon, 5 Oct 2020 21:19:04 +0000 (15:19 -0600)]
Merge branch 'release/20.08' into master

5 years agoWhen an invalid protocol is used, reset the navigator location to the previous url
Jan Paul Batrina [Sat, 3 Oct 2020 13:15:34 +0000 (13:15 +0000)]
When an invalid protocol is used, reset the navigator location to the previous url

BUG: 413478

5 years agoDon't trigger rubberband with back/foward mouse buttons
Ahmad Samir [Thu, 1 Oct 2020 16:21:18 +0000 (18:21 +0200)]
Don't trigger rubberband with back/foward mouse buttons

Right now the back/foward mouse buttons work, but also if you hold either
of them and move the mouse the rubberband selection is triggered.

This is the correct fix (instead of commit d0c71a1435bc9d), to match the
original code before the touch events patches,  we need to check the
back/foward buttons after mouseButtonPressed is emitted and before
triggering the rubberbad selection.

5 years agoDon't warn when closing multiple tabs if restoring window state
Nate Graham [Sat, 3 Oct 2020 15:39:16 +0000 (09:39 -0600)]
Don't warn when closing multiple tabs if restoring window state

When we're using the "restore window state" feature, there's no need to
warn when closing multiple tabs, because they're saved and you can just
re-open the window.

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Sat, 3 Oct 2020 12:10:19 +0000 (14:10 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 38f32d52326bc39b9e27319e9f4e89f94a09bb77)

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Sat, 3 Oct 2020 12:10:19 +0000 (14:10 +0200)]
GIT_SILENT Update Appstream for new release

5 years agoGIT_SILENT Upgrade release service version to 20.08.2.
Christoph Feck [Sat, 3 Oct 2020 10:47:40 +0000 (12:47 +0200)]
GIT_SILENT Upgrade release service version to 20.08.2.

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 2 Oct 2020 06:21:10 +0000 (08:21 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 2 Oct 2020 00:29:19 +0000 (02:29 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoFix build failure after last commit
Elvis Angelaccio [Sat, 26 Sep 2020 15:12:39 +0000 (17:12 +0200)]
Fix build failure after last commit

5 years agoAllow interaction with folder/files with the stylus again
Steffen Hartleib [Sat, 26 Sep 2020 14:53:57 +0000 (14:53 +0000)]
Allow interaction with folder/files with the stylus again

This Patch works for Wayland and X.

BUG: 426582

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 24 Sep 2020 08:10:10 +0000 (10:10 +0200)]
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 agoSelect/Unselect dialogue: Retain a history of entries made there
Jonathan Marten [Wed, 23 Sep 2020 11:07:29 +0000 (11:07 +0000)]
Select/Unselect dialogue: Retain a history of entries made there

It's a very useful facilitity, and having a history of entries and being
able to recall earlier ones makes it even more useful for repetitive
operations.

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 23 Sep 2020 04:39:00 +0000 (06:39 +0200)]
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 agoMake "Show hidden files" action follow HIG
Nate Graham [Fri, 18 Sep 2020 00:34:11 +0000 (18:34 -0600)]
Make "Show hidden files" action follow HIG

The action is a toggle action, for which the HIG prescribes that the
text should describe the action's checked state, and neither the text
nor the icon should change when the action is checked. Other toggle
actions in Dolphin follow these rules, but this one does not.

This commit makes the action follow those rules.

5 years agoCheck protocol Class before creating a StatJob
Ahmad Samir [Mon, 14 Sep 2020 14:01:47 +0000 (16:01 +0200)]
Check protocol Class before creating a StatJob

StatJob::mostLocalUrl only works with ":local" protocols, adjust the code
accordingly.

Make the code async.

Remove activeContainerLocalPath() method as it isn't needed anymore.

Drive-by change: minimum required version of Qt should be 5.12 because
that's what KF >= 5.73 already requires.

5 years agoFix mouse back/forward buttons
Ahmad Samir [Sun, 20 Sep 2020 16:38:29 +0000 (18:38 +0200)]
Fix mouse back/forward buttons

We need to emit mouseButtonPressed (now in the onPress method) before the
check needed to not select items on back/foward mouse button press events.

5 years agoExclude trash settings from windows
Alexander Lohnau [Sun, 20 Sep 2020 08:11:37 +0000 (10:11 +0200)]
Exclude trash settings from windows

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 20 Sep 2020 07:20:49 +0000 (09:20 +0200)]
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 agoFix unused variable warning
Ayushmaan jangid [Fri, 18 Sep 2020 17:21:37 +0000 (17:21 +0000)]
Fix unused variable warning

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 14 Sep 2020 07:58:23 +0000 (09:58 +0200)]
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 agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 14 Sep 2020 04:15:19 +0000 (06:15 +0200)]
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 agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 14 Sep 2020 00:33:22 +0000 (02:33 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoFix style, not space between method name and (; improve wording
Ahmad Samir [Sun, 13 Sep 2020 20:14:34 +0000 (22:14 +0200)]
Fix style, not space between method name and (; improve wording

GIT_SILENT

5 years agoImprove Touch support
Steffen Hartleib [Sun, 13 Sep 2020 18:53:32 +0000 (18:53 +0000)]
Improve Touch support

With this patch dolphin now supports the following touch gestures:

* Tap gesture to interact/open with directories, files and so on
* TapAndHold and release gesture for access to the context menu (main window, panel folder, places and information)
* TapAndHold and moving gesture for drag and drop action (main windows, panel folder and places)
* pinch gesture for zoom in main window
* kinetic scrolling (QScroller) for main window, panel folder, panel places, panel information, setting preview and service
* two fingers swipe gesture to left, right and up as shortcut to navigate back, forward and up
* two finger tap gesture to toggle item selection, similar to Ctrl and left mouse click

FEATURE: 385066
FIXED-IN: 20.11.80

 You are currently rebasing branch 'touch' on '85241a924'.

5 years agoFix wreorder warning
Ayushmaan jangid [Sun, 13 Sep 2020 17:52:09 +0000 (17:52 +0000)]
Fix wreorder warning

5 years agoTerminalPanel: StatJob::mostLocalUrl only works with ":local" protocols
Ahmad Samir [Sun, 13 Sep 2020 13:28:33 +0000 (15:28 +0200)]
TerminalPanel: StatJob::mostLocalUrl only works with ":local" protocols

StatJob::mostLocalUrl was changed to cancel the job automatically if the
protocol Class isn't ":local", mostLocalUrl only makes sense with ioslaves
that actually set UDS_LOCAL_PATH (which should have calss ":local").

I tested that kio-fuse still works, when having the terminal panel open and
changing direcotries in Dolphin, with an sftp:// server.

5 years agoUpdate org.kde.dolphin.appdata.xml homepage url
Carl Schwan [Sun, 13 Sep 2020 06:53:44 +0000 (06:53 +0000)]
Update org.kde.dolphin.appdata.xml homepage url

5 years agoDo not build KCMs on windows
Alexander Lohnau [Wed, 9 Sep 2020 08:39:52 +0000 (10:39 +0200)]
Do not build KCMs on windows

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 10 Sep 2020 08:12:36 +0000 (10:12 +0200)]
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 agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 10 Sep 2020 06:53:28 +0000 (08:53 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 10 Sep 2020 04:35:50 +0000 (06:35 +0200)]
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 agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 10 Sep 2020 00:35:51 +0000 (02:35 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoPort to modern SPDX identifier
Carl Schwan [Wed, 9 Sep 2020 21:39:03 +0000 (21:39 +0000)]
Port to modern SPDX identifier

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 9 Sep 2020 04:36:13 +0000 (06:36 +0200)]
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 agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 9 Sep 2020 00:44:30 +0000 (02:44 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoMerge branch 'release/20.08' into master
Nate Graham [Tue, 8 Sep 2020 19:38:38 +0000 (13:38 -0600)]
Merge branch 'release/20.08' into master

5 years agoFix untranslated spinbox suffix strings
Nate Graham [Mon, 7 Sep 2020 22:07:41 +0000 (16:07 -0600)]
Fix untranslated spinbox suffix strings

BUG: 426286
FIXED-IN: 20.08.2

5 years agoMerge branch 'release/20.08' into master
Elvis Angelaccio [Sat, 5 Sep 2020 20:55:59 +0000 (22:55 +0200)]
Merge branch 'release/20.08' into master

5 years agoRevert "Set a better defaultDropAction for dragging"
Elvis Angelaccio [Sat, 5 Sep 2020 20:50:48 +0000 (22:50 +0200)]
Revert "Set a better defaultDropAction for dragging"

This reverts commit 4440e961a07aaee5b5da7c8967ff05de14808ad4.

BUG: 425757
BUG: 426196
FIXED-IN: 20.08.2

5 years agoClear services model after KNS entries changed
Alexander Lohnau [Sat, 5 Sep 2020 17:32:48 +0000 (17:32 +0000)]
Clear services model after KNS entries changed

We can not know if a service got deleted, so we clear
the model and reload the services. The issue that the entries are
not uninstalled has already been solved, this is just a patch to
fix the state of the UI.

CCBUG: 420312

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 3 Sep 2020 04:10:45 +0000 (06:10 +0200)]
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 agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 3 Sep 2020 00:33:12 +0000 (02:33 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 2 Sep 2020 00:39:58 +0000 (02:39 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 1 Sep 2020 08:13:23 +0000 (10:13 +0200)]
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 agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 1 Sep 2020 06:46:02 +0000 (08:46 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 1 Sep 2020 04:25:15 +0000 (06:25 +0200)]
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 agoPort away from deprecated Qt::MidButton
Laurent Montel [Mon, 31 Aug 2020 19:24:03 +0000 (21:24 +0200)]
Port away from deprecated Qt::MidButton

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Mon, 31 Aug 2020 18:52:32 +0000 (20:52 +0200)]
GIT_SILENT Update Appstream for new release

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Mon, 31 Aug 2020 18:52:32 +0000 (20:52 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 6ffa7f460e397b48af7dc1651351e29f23883a58)

5 years agoGIT_SILENT Upgrade release service version to 20.08.1.
Christoph Feck [Mon, 31 Aug 2020 18:33:01 +0000 (20:33 +0200)]
GIT_SILENT Upgrade release service version to 20.08.1.

5 years agoDo not build KNS installer and KNS button on Windows
Alexander Lohnau [Wed, 26 Aug 2020 07:59:26 +0000 (09:59 +0200)]
Do not build KNS installer and KNS button on Windows

5 years agoAllow Open Terminal action on Windows
Alexander Lohnau [Wed, 26 Aug 2020 08:58:56 +0000 (10:58 +0200)]
Allow Open Terminal action on Windows

5 years agoMerge branch 'release/20.08'
Alexander Lohnau [Sun, 30 Aug 2020 16:49:22 +0000 (18:49 +0200)]
Merge branch 'release/20.08'

5 years agoFix file preview for desktop files with absolute icon paths
Alexander Lohnau [Tue, 23 Jun 2020 06:22:42 +0000 (08:22 +0200)]
Fix file preview for desktop files with absolute icon paths

BUG: 423326
FIXED-IN: 20.08.1

5 years agoText style fixes
Nikita Churaev [Wed, 26 Aug 2020 00:37:31 +0000 (03:37 +0300)]
Text style fixes

5 years agoMerge branch 'release/20.08' into master
Elvis Angelaccio [Tue, 25 Aug 2020 22:49:00 +0000 (00:49 +0200)]
Merge branch 'release/20.08' into master

5 years agoFix nullptr crash on Windows
Alexander Lohnau [Tue, 25 Aug 2020 14:15:31 +0000 (16:15 +0200)]
Fix nullptr crash on Windows

5 years agoOutput of licensedigger + manual cleanup afterwards.
Elvis Angelaccio [Tue, 25 Aug 2020 17:07:38 +0000 (17:07 +0000)]
Output of licensedigger + manual cleanup afterwards.

Unfortunately licensedigger does not strip the trailing * characters.
While at it, use a common style for all source files.

5 years agoChange group spacing from 18px to 12px
Nate Graham [Mon, 24 Aug 2020 18:35:08 +0000 (12:35 -0600)]
Change group spacing from 18px to 12px

This is the value used in QML-based software, so now Dolphin's form
layout settings dialogs look consistent.

5 years agoMerge branch 'release/20.08' into master
Elvis Angelaccio [Sun, 23 Aug 2020 21:54:23 +0000 (23:54 +0200)]
Merge branch 'release/20.08' into master

5 years agoFix 'show space' setting not being re-applied
Nazar Kalinowski [Sun, 23 Aug 2020 18:10:23 +0000 (21:10 +0300)]
Fix 'show space' setting not being re-applied

BUG: 425542

5 years agoPort KRun to OpenUrlJob
Ahmad Samir [Tue, 18 Aug 2020 08:43:58 +0000 (08:43 +0000)]
Port KRun to OpenUrlJob

In DolphinMainWindow, since KRun allows running executables by default, use
setRunExecutables(true) so as not to change the behaviour.

Remove the now redundant slotHandleUrlStatFinished, that whole StatJob
logic is now handled by OpenUrlJob.

Bump KF required version to 5.73, since that's where
OpenUrlJob::setShowOpenOrExecuteDialog was introduced.

5 years agoPort away from QWheelEvent::orientation()
Elvis Angelaccio [Thu, 28 May 2020 16:53:31 +0000 (18:53 +0200)]
Port away from QWheelEvent::orientation()

We are supposed to use QWheelEvent::angleDelta() instead. Upon an
horizontal/vertical scroll event, its `x()`/`y()` method will return a
value different from zero.

5 years agoMerge branch 'release/20.08'
Yuri Chornoivan [Sat, 8 Aug 2020 12:57:02 +0000 (15:57 +0300)]
Merge branch 'release/20.08'

5 years agoFix i18n
Yuri Chornoivan [Sat, 8 Aug 2020 12:34:17 +0000 (15:34 +0300)]
Fix i18n

5 years agoMerge branch 'master' of invent.kde.org:system/dolphin
Christoph Feck [Wed, 5 Aug 2020 07:43:32 +0000 (09:43 +0200)]
Merge branch 'master' of invent.kde.org:system/dolphin

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Wed, 5 Aug 2020 07:42:51 +0000 (09:42 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit a499df21bcf6b636a0396aeb0d911dd1b8d2229d)

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Wed, 5 Aug 2020 07:42:51 +0000 (09:42 +0200)]
GIT_SILENT Update Appstream for new release

5 years agoGIT_SILENT Upgrade release service version to 20.08.0.
Christoph Feck [Wed, 5 Aug 2020 07:14:52 +0000 (09:14 +0200)]
GIT_SILENT Upgrade release service version to 20.08.0.

5 years agoMerge branch 'release/20.08'
Ismael Asensio [Tue, 4 Aug 2020 20:39:11 +0000 (22:39 +0200)]
Merge branch 'release/20.08'

5 years ago[search] Close tags menu after click when there is only one tag
Ismael Asensio [Fri, 31 Jul 2020 21:59:21 +0000 (23:59 +0200)]
[search] Close tags menu after click when there is only one tag

It stays open otherwise to allow checking/unchecking several tags at a time

BUG: 424873
FIXED-IN: 20.08

5 years agoMerge branch 'release/20.08' into master
Antonio Rojas [Sun, 2 Aug 2020 16:51:03 +0000 (18:51 +0200)]
Merge branch 'release/20.08' into master

5 years agoRemove MaximumSize entry from kdeglobals when settings the preview file size limit...
Antonio Rojas [Sat, 1 Aug 2020 16:42:36 +0000 (18:42 +0200)]
Remove MaximumSize entry from kdeglobals when settings the preview file size limit to "No limit"

Instead of setting it to 0, which KIO's PreviewJob interprets as "No previews", breaking previews in konsole and Plasma desktop

BUG: 424403

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 2 Aug 2020 05:59:53 +0000 (07:59 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 2 Aug 2020 00:29:12 +0000 (02:29 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT Upgrade release service version to 20.07.90.
Christoph Feck [Fri, 31 Jul 2020 21:07:44 +0000 (23:07 +0200)]
GIT_SILENT Upgrade release service version to 20.07.90.

5 years agoIcon: Update with latest breeze icon
Timothée Ravier [Sat, 11 Jul 2020 11:01:30 +0000 (13:01 +0200)]
Icon: Update with latest breeze icon

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 23 Jul 2020 00:35:24 +0000 (02:35 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoMerge branch 'release/20.08'
Nate Graham [Sun, 19 Jul 2020 18:23:25 +0000 (12:23 -0600)]
Merge branch 'release/20.08'

5 years agoFix "Show folders, tabs, and window state from last time" feature
Antonio Rojas [Sun, 19 Jul 2020 14:02:02 +0000 (08:02 -0600)]
Fix "Show folders, tabs, and window state from last time" feature

We were using the DBus interface before declaring it, oops.

BUG: 422300
FIXED-IN: 20.08.0

5 years agoFix deprecated knsrc file location
Alexander Lohnau [Fri, 17 Jul 2020 17:31:03 +0000 (19:31 +0200)]
Fix deprecated knsrc file location

This fixes the `kf.newstuff.core: Using a deprecated location for the knsrc file "servicemenu.knsrc"` warning.

5 years agoFix deprecated knsrc file location
Alexander Lohnau [Fri, 17 Jul 2020 17:31:03 +0000 (19:31 +0200)]
Fix deprecated knsrc file location

This fixes the `kf.newstuff.core: Using a deprecated location for the knsrc file "servicemenu.knsrc"` warning.

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 15 Jul 2020 03:52:19 +0000 (05:52 +0200)]
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 agoUse camelcase includes (scripted)
Laurent Montel [Mon, 13 Jul 2020 12:02:48 +0000 (14:02 +0200)]
Use camelcase includes (scripted)

5 years agoFix selection rect after porting from QFontMetrics::width()
Ismael Asensio [Sun, 12 Jul 2020 21:28:02 +0000 (21:28 +0000)]
Fix selection rect after porting from QFontMetrics::width()

After porting from QFontMetrics::width() to QFontMetrics::boundigRect().width() in system/dolphin!10 we have a visual bug on selection rects, that can be seen on details and compact modes.

While from https://kdepepo.wordpress.com/2019/08/05/about-deprecation-of-qfontmetricswidth/ the use of `boundingRect()` would seem the right option to use (and I struggle to get the difference between the two methods when applied to a whole string and not a single char), in this case the `horizontalAdvance()` seems to return the value we need.

BUG: 421973
FIXED-IN: 20.07.70

5 years agoFix selection rect after porting from QFontMetrics::width()
Ismael Asensio [Sun, 12 Jul 2020 21:28:02 +0000 (21:28 +0000)]
Fix selection rect after porting from QFontMetrics::width()

After porting from QFontMetrics::width() to QFontMetrics::boundigRect().width() in system/dolphin!10 we have a visual bug on selection rects, that can be seen on details and compact modes.

While from https://kdepepo.wordpress.com/2019/08/05/about-deprecation-of-qfontmetricswidth/ the use of `boundingRect()` would seem the right option to use (and I struggle to get the difference between the two methods when applied to a whole string and not a single char), in this case the `horizontalAdvance()` seems to return the value we need.

BUG: 421973
FIXED-IN: 20.07.70

5 years agoAdd support to tags: scheme in DolphinQuery
Ismael Asensio [Sun, 14 Jun 2020 11:41:29 +0000 (13:41 +0200)]
Add support to tags: scheme in DolphinQuery

It allows to start a search from a `tags:/mytag/` view.
The use case is to refine a search on additional terms (another tags,
ratings, etc)

5 years agoGIT_SILENT Upgrade release service version to 20.11.70.
Albert Astals Cid [Sat, 11 Jul 2020 10:20:59 +0000 (12:20 +0200)]
GIT_SILENT Upgrade release service version to 20.11.70.

5 years agoGIT_SILENT Upgrade release service version to 20.07.80.
Albert Astals Cid [Sat, 11 Jul 2020 09:48:48 +0000 (11:48 +0200)]
GIT_SILENT Upgrade release service version to 20.07.80.

5 years agoPort away from QLinkedList
Elvis Angelaccio [Sun, 5 Jul 2020 16:21:20 +0000 (18:21 +0200)]
Port away from QLinkedList

`QLinkedList` has been deprecated and should not be used in new code. Port
to `std::list` instead.

5 years ago[search] Fix corner cases when using quotes in filenames
Ismael Asensio [Sat, 4 Jul 2020 14:23:24 +0000 (16:23 +0200)]
[search] Fix corner cases when using quotes in filenames

The `filename` term in a search query is enclosed into quotes.
As the user can have additional quotes in the search term, there were several
corner cases where the parsing would fail to correctly split the terms

New test cases have been added to cover this possibility
Previous tests still passes to avoid regressions

BEFORE:
```
(filename/quoted) Compared values are not the same
Actual   (query.text()): "xyz\"\""
Expected (expectedText): "\"abc xyz\""

(filename/mixed) Compared values are not the same
Actual   (query.text()): "xyz\" tuv\""
Expected (expectedText): "\"abc xyz\" tuv"

(content+filename/quoted) Compared values are not the same
Actual   (query.text()): "abc xyz xyz\"\""
Expected (expectedText): "abc xyz filename:\"\"abc xyz\"\""
```

5 years ago[search] Do not update text input when it has focus
Ismael Asensio [Sat, 4 Jul 2020 13:42:55 +0000 (15:42 +0200)]
[search] Do not update text input when it has focus

When the user is entering a search term, a delayed search will be
emmited after a few seconds. This means updating the search URL, which
in turn gets parsed and reflected back on the search input.

To avoid interrupting the user input flow and unexpectedly move the
cursor to the end, let's update the input search box only when it
doesn't have the focus.

It's still updated on other interactions such as changing the search
options or clicking a saved search on the places panel.

BUG: 423328
FIXED-IN: 20.08

5 years agoMerge branch 'release/20.04'
Elvis Angelaccio [Sun, 5 Jul 2020 15:26:52 +0000 (17:26 +0200)]
Merge branch 'release/20.04'

5 years agoWrite correct value for "Open in application" script execution setting
Wolfgang Bauer [Tue, 30 Jun 2020 18:01:39 +0000 (18:01 +0000)]
Write correct value for "Open in application" script execution setting

KIO actually uses "alwaysAsk", "execute", and "open" as possible values.

When reading the setting, map unknown values to "open" like KIO does.
That also provides compatibility with older dolphin versions.

BUG: 421294
FIXED-IN: 20.04.3

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Fri, 3 Jul 2020 20:53:42 +0000 (22:53 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit a91d1db06293f00382b88150a29594642d5217c8)

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Fri, 3 Jul 2020 20:53:42 +0000 (22:53 +0200)]
GIT_SILENT Update Appstream for new release

5 years agoGIT_SILENT Upgrade release service version to 20.04.3.
Christoph Feck [Fri, 3 Jul 2020 20:29:05 +0000 (22:29 +0200)]
GIT_SILENT Upgrade release service version to 20.04.3.

5 years ago## Summary
Yann Holme-Nielsen [Mon, 29 Jun 2020 22:27:33 +0000 (22:27 +0000)]
## Summary
* Adds a "Copy location" item, after the "Copy" Context item and Edit Menu, which will attempt to copy the path of the fist item into clipboard.

## Reasoning
Most File Managers have this option through one or another way.
Also using the default Copy option often results in different behaviour depending on the target software, Konsole will take the path. Other Programs will use the URI. Which ultimately could lead to non optimal User Experience.

## Notes
* Should the target file **not** be on a local hard drive, this fallback to using the remote URL, feedback is wanted on that matter.

FEATURE: 407004

5 years agoMerge branch 'release/20.04'
Alexander Lohnau [Tue, 23 Jun 2020 15:42:06 +0000 (17:42 +0200)]
Merge branch 'release/20.04'