]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
3 years agoGIT_SILENT Upgrade release service version to 22.03.90.
Heiko Becker [Tue, 5 Apr 2022 19:19:50 +0000 (21:19 +0200)]
GIT_SILENT Upgrade release service version to 22.03.90.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 5 Apr 2022 02:58:27 +0000 (02:58 +0000)]
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"

3 years agoImprove details mode ctrl-press rubberband creation
Felix Ernst [Mon, 4 Apr 2022 12:39:37 +0000 (12:39 +0000)]
Improve details mode ctrl-press rubberband creation

Since d3839617193e92463806580699caa595c892b8a6 dragging the
highlighted row of already selected items in the details view mode
will begin a drag operation of all selected items.

As a unintended side-effect of this change, dragging the row of a
previously unselected item while holding the control key would also
begin a drag operation.

After this commit, dragging the row of a previously unselected item
while holding the control key in details view mode will instead
create a rubberband. Ctrl-dragging the item's icon or text directly will drag the item as expected.

With this change, using multiple rubberbands to select scattered
items among a list of items should be as convenient as it was
previously.

BUG: 452181

3 years agoRevert "KStandardItemListWidget: handle RtL drawing properly"
Felix Ernst [Mon, 4 Apr 2022 10:54:42 +0000 (10:54 +0000)]
Revert "KStandardItemListWidget: handle RtL drawing properly"

This reverts commit 3ce9d1d19e081fbb9acf020f15652175673bcf5c.
This reverts commit ddba4f5fd88c4fa855e3f2eb0d9d95a6290d150a.

Aside from the two bugs mentioned below, this also fixes another
regression: The spacing on the left of the view does now once again
follow the size of its column header.

BUG: 451704
BUG: 451341

3 years agoFix tooltip closing while mouse moves over item
George Florea Bănuș [Fri, 1 Apr 2022 10:12:05 +0000 (10:12 +0000)]
Fix tooltip closing while mouse moves over item

The itemHovered signal is emitted whenever the mouses moves causing the
tooltip to close.

3 years agoDon't crash when mountpoint is not found
Nicolas Fella [Thu, 31 Mar 2022 21:24:59 +0000 (23:24 +0200)]
Don't crash when mountpoint is not found

findByPath may return a nullptr, in that case don't access it

BUG: 452100

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 29 Mar 2022 03:51:20 +0000 (03:51 +0000)]
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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 29 Mar 2022 03:00:38 +0000 (03:00 +0000)]
GIT_SILENT made messages (after extraction)

3 years ago[ViewProperties] Apply better default roles for special views
Kai Uwe Broulik [Fri, 25 Mar 2022 17:42:13 +0000 (18:42 +0100)]
[ViewProperties] Apply better default roles for special views

This adds the following additional special view modes (some of them were
already there but broken because they weren't applied, or were
changed to have better defaults now that they are actually used):

* Recent Files and Recent Documents, timeline:
  Details view with grouped sorting enabled and Name, Path, Modified
* Search For Images:
  Icon view with Name, Dimensions, Date Time of the Picture
* Search For Audio:
  Details view with Name, Artist, Album, Duration
* Search For Videos:
  Icon view with just Name
* Search For everything else, including Documents:
  Details view with Name, Path, Modified
* Trash:
  Details view with Name, (Original) Path, Deletion Time

BUG: 400969
BUG: 340393
BUG: 186376
FIXED-IN: 22.04.0

3 years ago[ViewProperties] Consider existing roles in convertAdditionalInfo
Kai Uwe Broulik [Fri, 25 Mar 2022 17:28:54 +0000 (18:28 +0100)]
[ViewProperties] Consider existing roles in convertAdditionalInfo

Otherwise all default overrides for roles we perform in this class are moot.

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 23 Mar 2022 02:46:59 +0000 (02:46 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoPort to target-based ecm_add_app_icon
Nicolas Fella [Sun, 20 Mar 2022 19:16:04 +0000 (20:16 +0100)]
Port to target-based ecm_add_app_icon

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 20 Mar 2022 03:39:12 +0000 (03:39 +0000)]
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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 20 Mar 2022 02:49:46 +0000 (02:49 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoGIT_SILENT Upgrade release service version to 22.03.80.
Albert Astals Cid [Sat, 12 Mar 2022 11:20:04 +0000 (12:20 +0100)]
GIT_SILENT Upgrade release service version to 22.03.80.

3 years agoPass dolphin view as parent widget to plugins
Anthony Fieroni [Thu, 10 Mar 2022 06:11:17 +0000 (08:11 +0200)]
Pass dolphin view as parent widget to plugins

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 11 Mar 2022 00:51:19 +0000 (00:51 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 7 Mar 2022 01:44:55 +0000 (01:44 +0000)]
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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 5 Mar 2022 01:48:28 +0000 (01:48 +0000)]
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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 5 Mar 2022 00:47:08 +0000 (00:47 +0000)]
GIT_SILENT made messages (after extraction)

3 years ago[Places Panel] Reject drops on unwritable locations
Kai Uwe Broulik [Mon, 7 Feb 2022 12:10:53 +0000 (13:10 +0100)]
[Places Panel] Reject drops on unwritable locations

Indicate that you cannot drop here.

Avoids a "Cannot drop file" or "not supported" error when
dropping files ontop of a search or timeline URL.

It is done in Dolphin rather than the library as there we cannot
assume what a consumer might be doing with the drop.

3 years agoFix issue where newly inserted items end up in the wrong directory
David Edmundson [Fri, 7 Jan 2022 17:05:30 +0000 (17:05 +0000)]
Fix issue where newly inserted items end up in the wrong directory

If we have directory "a" and "a/b" and expand both, then collapse "a" we
tell KDirWatcher to stop watching both these directories.

However, KDirWatcher keeps them in the listersCurrentlyHolding list as
well as the listersCurrentlyListing list and will still notify of
changes. If a new file appears in "a/b/" we will still get change
notifications.

When dolphin processes these changes we cannot find the relevant parent
node. It then gets confused and inserts the item into the root directory
from the POV of the model notifications. When we then open the relevant
folder the model knows a node with that URL exists and fails to add it
correctly.

This can also be reproduced by continually downloading files into a
subdirectory tree and rapidly expanding and collapsing folders a few
levels deep.

3 years agoAlways select items on activation
Felix Ernst [Fri, 4 Mar 2022 10:41:50 +0000 (10:41 +0000)]
Always select items on activation

There is an unintended side-effect in
d3839617193e92463806580699caa595c892b8a6 which this MR fixes.

Normally in Dolphin, when clicking on an item to open/activate it,
it is both selected by the click and opened/activated.

Prior to this MR, the item wasn't selected when all of these
conditions were met:
- Use ActivateItemOnSingleClick also knwon as single-click mode
- Have more than one item selected already
- Click on an item that was previously not selected

Prior to this MR, the click would deselect all items and
activate the clicked item but not select it.

With this MR, the click will deselect all items, activate
the clicked item and also select it and move the anchor there.

When testing this with folders, make sure to navigate back after activating the folder. The folder should then still be selected.

This is then consistent with the behaviour when the specific
conditions mentioned above are not met.

3 years agoKItemListHeaderWidget: don't crash if widget == nullptr
Janet Blackquill [Thu, 3 Mar 2022 15:57:53 +0000 (10:57 -0500)]
KItemListHeaderWidget: don't crash if widget == nullptr

BUG: 449238

3 years agoDisplay Apply button in KCMs
Stefano Crocco [Tue, 1 Mar 2022 10:59:42 +0000 (11:59 +0100)]
Display Apply button in KCMs

When displaying the KCMs in another application's configuration dialog
(for example, in Konqueror), the Apply, Ok and Reset buttons aren't
shown. This issue is caused by a missing Apply flag in the call to
setButtons in the KCModule constructor.

the fact that in the call to setButtons
from the KCModule constructor, the Apply flag is missing.

BUG: 448352

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Sun, 27 Feb 2022 18:01:00 +0000 (19:01 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 3ac70fe65b4808e235f27072b2b28b4be5f10a3f)

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 27 Feb 2022 00:52:17 +0000 (00:52 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoKStandardItemListWidget: don't double up the expansion offset
Jan Blackquill [Sat, 26 Feb 2022 05:48:00 +0000 (00:48 -0500)]
KStandardItemListWidget: don't double up the expansion offset

3 years agoMerge branch 'release/21.12'
Kai Uwe Broulik [Fri, 25 Feb 2022 20:03:36 +0000 (21:03 +0100)]
Merge branch 'release/21.12'

3 years ago[CompactView] Remove animation on file rename
Eugene Popov [Fri, 25 Feb 2022 19:37:01 +0000 (19:37 +0000)]
[CompactView] Remove animation on file rename

This MR fixes an issue where the label is cut off when renaming in Compact View mode.

BUG: 449179
FIXED-IN: 22.04

3 years ago[DolphinQueryTest] Fix class name duplication
Ismael Asensio [Wed, 23 Feb 2022 23:49:10 +0000 (00:49 +0100)]
[DolphinQueryTest] Fix class name duplication

3 years agoKStandardItemListWidget: handle RtL drawing properly
Janet Blackquill [Fri, 25 Feb 2022 16:35:05 +0000 (16:35 +0000)]
KStandardItemListWidget: handle RtL drawing properly

BUG: 449211

3 years agoFix rating pixmap alignment on high-dpi screens
Kai Uwe Broulik [Wed, 23 Feb 2022 19:44:22 +0000 (20:44 +0100)]
Fix rating pixmap alignment on high-dpi screens

When calculating layout geometry based on the pixmap size,
one needs to divide by `devicePixelRatio`

3 years agoIgnore empty roles for textRect calculation
Kai Uwe Broulik [Wed, 23 Feb 2022 19:27:33 +0000 (20:27 +0100)]
Ignore empty roles for textRect calculation

Avoids a text rect taller than the area that actually contains text,
as can be seen by hovering files in a folder with "additional roles"
that a given file does not contain.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 20 Feb 2022 01:50:36 +0000 (01:50 +0000)]
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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 18 Feb 2022 01:51:42 +0000 (01:51 +0000)]
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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 16 Feb 2022 02:18:21 +0000 (02:18 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 16 Feb 2022 00:48:33 +0000 (00:48 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoFix zooming animation
Eugene Popov [Sun, 13 Feb 2022 12:16:34 +0000 (12:16 +0000)]
Fix zooming animation

Current implementation of the zooming animation is a bit buggy.
This MR fixes the following issues:
* in the Icon view mode, the icons sometimes "jump"
* in the Compact view mode, the labels sometimes are cut off

BUG: 449179

3 years ago[Places Panel] Make use of KFilePlacesView::dragAutoActivationDelay
Kai Uwe Broulik [Thu, 3 Feb 2022 20:37:30 +0000 (21:37 +0100)]
[Places Panel] Make use of KFilePlacesView::dragAutoActivationDelay

Code moved to KIO

3 years agoUse the CDN based endpoint rather than the legacy endpoint which hits our download...
Ben Cooksley [Wed, 29 Dec 2021 18:31:41 +0000 (07:31 +1300)]
Use the CDN based endpoint rather than the legacy endpoint which hits our download redirector.

CCMAIL: distributions@kde.org

(cherry picked from commit 694e4e24526c5f55e162ad9288782e7c82cac38f)

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 6 Feb 2022 01:58:24 +0000 (01:58 +0000)]
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"

3 years agoHide "Places" section header when panels are unlocked
Kai Uwe Broulik [Fri, 28 Jan 2022 18:40:11 +0000 (19:40 +0100)]
Hide "Places" section header when panels are unlocked

Avoids showing "Places" twice.

3 years agoStore model as a DolphinPlacesModel
Kai Uwe Broulik [Fri, 28 Jan 2022 18:39:07 +0000 (19:39 +0100)]
Store model as a DolphinPlacesModel

Because that's what it is. It's a subclass anyway but saves us some
casts in the future.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 5 Feb 2022 01:47:47 +0000 (01:47 +0000)]
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"

3 years agoMerge branch 'release/21.12'
Nicolas Fella [Fri, 4 Feb 2022 11:58:29 +0000 (12:58 +0100)]
Merge branch 'release/21.12'

3 years agoFix opening FTP files in their preferred app
Nicolas Fella [Thu, 3 Feb 2022 23:18:00 +0000 (00:18 +0100)]
Fix opening FTP files in their preferred app

When passing an URL like ftp://foo/bar.txt OpenUrlJob opens it in the default handler for ftp urls, not the one for txt files, which would be more appropriate here

By passing along the mimetype we can change that behavior to what we want

BUG: 443253

3 years agoInformationPanel: Improve video arrow overlay appearance
Méven Car [Wed, 2 Feb 2022 14:45:19 +0000 (15:45 +0100)]
InformationPanel: Improve video arrow overlay appearance

3 years agoDon't set ignoreMaximumSize on preview jobs for slow files
Bharadwaj Raju [Wed, 2 Feb 2022 09:41:10 +0000 (09:41 +0000)]
Don't set ignoreMaximumSize on preview jobs for slow files

With this change (plus https://invent.kde.org/frameworks/kio/-/merge_requests/702), slow files will be treated as remote files for generating previews. This should make browsing local mounts of remote locations smoother.

3 years agoDimension role: use × instead of x
Méven Car [Mon, 31 Jan 2022 19:35:58 +0000 (20:35 +0100)]
Dimension role: use × instead of x

3 years agoImprove placeholder message for unassigned tag
Nicolas Fella [Thu, 27 Jan 2022 23:46:13 +0000 (00:46 +0100)]
Improve placeholder message for unassigned tag

When opening tags:/ we show 'No tags' when there are no tags found.

When opening a tag that exists but doesn't have any files associated we show the same message, which isnt't appropriate.

Instead show "No files tagged with 'foo'", which makes more sense

3 years agoAdd "Unlock panels" to main window context menu
Kai Uwe Broulik [Fri, 28 Jan 2022 19:02:49 +0000 (20:02 +0100)]
Add "Unlock panels" to main window context menu

It's the Qt-provided one that shows on the menu bar
and dock widget title bars.

3 years agoSync panel action icon to built-in toggleViewAction
Kai Uwe Broulik [Fri, 28 Jan 2022 19:06:22 +0000 (20:06 +0100)]
Sync panel action icon to built-in toggleViewAction

Ensures the icon is used consistently also in Qt-provided UI

3 years agoFix my previous bad merge
Felix Ernst [Sat, 29 Jan 2022 17:47:40 +0000 (18:47 +0100)]
Fix my previous bad merge

I failed to notice that the changes didn't apply cleanly. With this
commit everything should be a-okay again.

3 years agoMerge branch 'release/21.12'
Felix Ernst [Sat, 29 Jan 2022 17:14:49 +0000 (18:14 +0100)]
Merge branch 'release/21.12'

3 years agoRevert "[DetailsView] Improve zooming"
Eugene Popov [Sat, 29 Jan 2022 16:35:47 +0000 (16:35 +0000)]
Revert "[DetailsView] Improve zooming"

This reverts commit 7908aff3b5ebe4484d391c1fc4797e9dae2300b2.

Reverting this commit will fix the issue of not being able to rename
the last file in Details View and will also make the items in Details
View and Compact View have the same height.

BUG: 447215
FIXED-IN: 21.12.2

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 28 Jan 2022 22:29:39 +0000 (23:29 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 9d08bb5b97b02843e778d84bfc1ff793cded03bf)

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 28 Jan 2022 22:29:39 +0000 (23:29 +0100)]
GIT_SILENT Update Appstream for new release

3 years agoGIT_SILENT Upgrade release service version to 21.12.2.
Heiko Becker [Fri, 28 Jan 2022 21:39:33 +0000 (22:39 +0100)]
GIT_SILENT Upgrade release service version to 21.12.2.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 28 Jan 2022 01:45:57 +0000 (01:45 +0000)]
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"

3 years agoMake group headers mirror rtl
Jan Blackquill [Fri, 21 Jan 2022 23:42:20 +0000 (18:42 -0500)]
Make group headers mirror rtl

3 years agoExpose konsolepart shortcuts in Dolphin's shortcuts view
Stephan Sahm [Tue, 25 Jan 2022 17:33:01 +0000 (17:33 +0000)]
Expose konsolepart shortcuts in Dolphin's shortcuts view

Adapt some changes from Yakuake https://invent.kde.org/utilities/yakuake/-/commit/a0b08cb1f71ef18449bfbf5852c01e323604142f

credit to Stephan Sahm @schlichtanders

BUG: 428265

3 years agoAdd "Dimensions" (width x height) role
Kai Uwe Broulik [Tue, 25 Jan 2022 12:06:17 +0000 (13:06 +0100)]
Add "Dimensions" (width x height) role

It is more convenient to use than individual width and height properties

3 years ago[Places Panel] Stop drag activation timer when dropping
Kai Uwe Broulik [Mon, 24 Jan 2022 16:44:03 +0000 (17:44 +0100)]
[Places Panel] Stop drag activation timer when dropping

Avoids switching folders after a drop while interacting with
the Copy/Move/Link menu.

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 24 Jan 2022 02:10:57 +0000 (02:10 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 24 Jan 2022 01:45:03 +0000 (01:45 +0000)]
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"

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 24 Jan 2022 00:46:18 +0000 (00:46 +0000)]
GIT_SILENT made messages (after extraction)

3 years ago[Tab Bar] Accept proposed action only ontop of a tab
Kai Uwe Broulik [Thu, 20 Jan 2022 11:38:47 +0000 (12:38 +0100)]
[Tab Bar] Accept proposed action only ontop of a tab

You cannot drop a file/folder onto the empty area of the tab bar,
so show the appropriate "not allowed" cursor.

3 years agoKItemListViewLayouter: handle grid view layouts in RtL properly
Jan Blackquill [Mon, 27 Dec 2021 21:42:37 +0000 (16:42 -0500)]
KItemListViewLayouter: handle grid view layouts in RtL properly

3 years agoSwitch to new CI tooling
Nicolás Alvarez [Mon, 10 Jan 2022 18:06:13 +0000 (15:06 -0300)]
Switch to new CI tooling

3 years agoAdd content rating
Snehit Sah [Tue, 18 Jan 2022 07:17:08 +0000 (12:47 +0530)]
Add content rating

Signed-off-by: Snehit Sah <snehitsah@protonmail.com>
3 years agoFix typo and release name
Yuri Chornoivan [Tue, 18 Jan 2022 14:41:14 +0000 (16:41 +0200)]
Fix typo and release name

3 years agoDocument the new context menu item
Yuri Chornoivan [Mon, 17 Jan 2022 06:52:38 +0000 (08:52 +0200)]
Document the new context menu item

3 years agoFull row highlight implementation
Tom Lin [Sun, 16 Jan 2022 14:01:32 +0000 (14:01 +0000)]
Full row highlight implementation

This commit implements full-row selection and hover highlights for the
details view mode.

This commit also contains fixes for 444680, 444753, both uncovered
during this change.

BUG: 181438
BUG: 444680
BUG: 444753
FIXED-IN: 22.04

3 years agoWe depend against kf5.91
Laurent Montel [Sat, 15 Jan 2022 16:44:36 +0000 (17:44 +0100)]
We depend against kf5.91

3 years agoAdapt build system for building against qt6
Laurent Montel [Fri, 14 Jan 2022 07:04:01 +0000 (08:04 +0100)]
Adapt build system for building against qt6

3 years agoUtilize ecm_set_deprecation_versions to exclude deprecated API
Alexander Lohnau [Sun, 19 Dec 2021 14:31:02 +0000 (15:31 +0100)]
Utilize ecm_set_deprecation_versions to exclude deprecated API

3 years agoPort away from deprecated I18N*_NOOP macros
Alexander Lohnau [Sun, 19 Dec 2021 14:55:33 +0000 (15:55 +0100)]
Port away from deprecated I18N*_NOOP macros

3 years agoRemove KStandardItem and KStandardItemModel
Kai Uwe Broulik [Thu, 16 Dec 2021 18:37:39 +0000 (19:37 +0100)]
Remove KStandardItem and KStandardItemModel

They were used by the custom places panel and are now unused.

3 years agoPort back to KFilePlacesView
Kai Uwe Broulik [Thu, 16 Dec 2021 18:29:22 +0000 (19:29 +0100)]
Port back to KFilePlacesView

This removes the custom-view engine version of the places panel
and replaces it with the upstream `KFilePlacesView` from KIO.

4 years agoAdd Flatpak patches to Dolphin depending on CMake definition
Claudio Cambra [Tue, 4 Jan 2022 21:53:44 +0000 (21:53 +0000)]
Add Flatpak patches to Dolphin depending on CMake definition

When Dolphin gets packaged as a flatpak, this patch gets applied:

https://invent.kde.org/packaging/flatpak-kde-applications/-/blob/master/dolphinpatch.patch

That's not really an ideal solution, so this is probably a better idea -- to upstream the patches and apply them depending on a CMake definition

4 years agoUtilize KIO::PreviewJob::availableThumbnailerPlugins method to fetch available previe...
Alexander Lohnau [Mon, 27 Dec 2021 16:31:17 +0000 (17:31 +0100)]
Utilize KIO::PreviewJob::availableThumbnailerPlugins method to fetch available preview plugins

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Mon, 3 Jan 2022 21:19:47 +0000 (22:19 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 306e7e24938c52e1af09bcf3e88945828cbfcb34)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Mon, 3 Jan 2022 21:19:47 +0000 (22:19 +0100)]
GIT_SILENT Update Appstream for new release

4 years agoGIT_SILENT Upgrade release service version to 21.12.1.
Heiko Becker [Mon, 3 Jan 2022 21:12:16 +0000 (22:12 +0100)]
GIT_SILENT Upgrade release service version to 21.12.1.

4 years agoLoad service menus for settings from new file location
Alexander Lohnau [Sun, 2 Jan 2022 09:04:52 +0000 (10:04 +0100)]
Load service menus for settings from new file location

This is a replacement for the KServiceTypeTrader loading.
Because third parties still use the KServiceTypeTrader file location, we need to
support both for the time being.

4 years agoVersion control plugins: Remove defunct KServiceTypeTrader query for available plugins
Alexander Lohnau [Mon, 27 Dec 2021 16:35:09 +0000 (17:35 +0100)]
Version control plugins: Remove defunct KServiceTypeTrader query for available plugins

We do not load those plugins anymore, consequently it does not make sense to find and display them in the settings

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 2 Jan 2022 02:03:50 +0000 (02:03 +0000)]
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"

4 years agoImprove sudo/kdesu error message
Nate Graham [Fri, 31 Dec 2021 17:36:31 +0000 (10:36 -0700)]
Improve sudo/kdesu error message

Now that you can get elevated privileges while using the app, we can
display a more useful and descriptive error message when people try to
run Dolphin using `sudo` or `kdesu`.

Also bump the frameworks dependency to 5.90 since that's the KIO
version that includes this change, so we can be sure that the message is
always accurate.

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 31 Dec 2021 01:44:30 +0000 (01:44 +0000)]
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"

4 years agoUse the CDN based endpoint rather than the legacy endpoint which hits our download...
Ben Cooksley [Wed, 29 Dec 2021 18:31:41 +0000 (07:31 +1300)]
Use the CDN based endpoint rather than the legacy endpoint which hits our download redirector.

4 years agokitemlistview: Port KItemListView::itemAt to std::optional
Fushan Wen [Mon, 27 Dec 2021 16:51:10 +0000 (00:51 +0800)]
kitemlistview: Port KItemListView::itemAt to std::optional

Use `value_or(-1)` for those functions that don't use `std::optional`.

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 28 Dec 2021 01:43:52 +0000 (01:43 +0000)]
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"

4 years agoAdd name-only tooltip and make logicalHeightHints a pair of qreal and bool
Leo Treloar [Sat, 25 Dec 2021 11:38:46 +0000 (22:38 +1100)]
Add name-only tooltip and make logicalHeightHints a pair of qreal and bool

4 years agoChange default value of MaximumTextLines to 3
Leo Treloar [Fri, 24 Dec 2021 06:01:36 +0000 (17:01 +1100)]
Change default value of MaximumTextLines to 3

The previous default of allowing an unlimited number of text lines to be
displayed in icon view can lead to very large, inconsistent, and
unattractive gaps between rows. Capping this by default makes things
look much neater.

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 20 Dec 2021 01:45:56 +0000 (01:45 +0000)]
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"

4 years agoGIT_SILENT Port remaining QDateTime::toTime_t usage in windows code path
Alexander Lohnau [Sun, 19 Dec 2021 13:10:13 +0000 (14:10 +0100)]
GIT_SILENT Port remaining QDateTime::toTime_t usage in windows code path

4 years agoMerge branch 'release/21.12'
Kai Uwe Broulik [Sat, 18 Dec 2021 14:17:39 +0000 (15:17 +0100)]
Merge branch 'release/21.12'

4 years agoMerge branch 'release/21.12'
Kai Uwe Broulik [Sat, 18 Dec 2021 14:16:59 +0000 (15:16 +0100)]
Merge branch 'release/21.12'

4 years agoUse QUrl::toDisplayString when presenting to the user
Kai Uwe Broulik [Fri, 17 Dec 2021 21:43:15 +0000 (22:43 +0100)]
Use QUrl::toDisplayString when presenting to the user

Strips out password information