]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
3 years agoMerge branch 'release/22.04'
Felix Ernst [Sun, 1 May 2022 10:10:02 +0000 (12:10 +0200)]
Merge branch 'release/22.04'

3 years agoFix icon resize animation
Eugene Popov [Sat, 23 Apr 2022 15:28:22 +0000 (18:28 +0300)]
Fix icon resize animation

This MR fixes an issue where, under certain conditions, an icon resize animation is performed that shouldn't be there.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 1 May 2022 03:11:08 +0000 (03:11 +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, 1 May 2022 02:30:23 +0000 (02:30 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 1 May 2022 01:55:50 +0000 (01:55 +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, 1 May 2022 00:54:47 +0000 (00:54 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 30 Apr 2022 01:42:27 +0000 (01:42 +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, 29 Apr 2022 01:44:43 +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 agoMerge branch 'release/22.04'
Felix Ernst [Wed, 27 Apr 2022 11:08:09 +0000 (13:08 +0200)]
Merge branch 'release/22.04'

3 years agoFix terminal panel not keeping up with dir changes
Felix Ernst [Wed, 27 Apr 2022 10:40:40 +0000 (10:40 +0000)]
Fix terminal panel not keeping up with dir changes

The terminal panel is supposed to show the same location as the
currently active Dolphin view at all times.

However there was an issue when the terminal is supposed to
quickly switch to a new location and then back again to the old
one. The terminal ignored the switch to the old location unless it
had already fully switched to the new location. Because it isn't
particularly fast at fully switching to the new location, it would
never do the expected thing of switching back to the old location.

This commit makes it so the switch to the old location is only
ignored if there are no in-progress switches to a different
location.

BUG: 391380

BUG: 416690

FIXED-IN: 22.04.2

Not totally sure if this fixes everything but it seems like an improvement.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 27 Apr 2022 01:46:00 +0000 (01:46 +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 agoRevert "Combine modificationtime, creationtime and accesstime roles into one group"
Eugene Popov [Tue, 26 Apr 2022 10:26:35 +0000 (13:26 +0300)]
Revert "Combine modificationtime, creationtime and accesstime roles into one group"

This reverts commit b6640f4a135dce194242644d9d0622c0964e8f1d.

3 years agoEliminate remarks
Eugene Popov [Mon, 25 Apr 2022 21:08:00 +0000 (00:08 +0300)]
Eliminate remarks

3 years agoCombine modificationtime, creationtime and accesstime roles into one group
Eugene Popov [Mon, 25 Apr 2022 09:44:32 +0000 (12:44 +0300)]
Combine modificationtime, creationtime and accesstime roles into one group

3 years agoAdd the ability to sort by file extension
Eugene Popov [Wed, 20 Apr 2022 14:30:46 +0000 (17:30 +0300)]
Add the ability to sort by file extension

Currently, Dolphin doesn't have the ability to sort by file extension (sorting by type means that files will be sorted by mimetype but not by extension). This MR fixes this shortcoming.

BUG: 429579

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 26 Apr 2022 01:43:17 +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"

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 25 Apr 2022 01:52:30 +0000 (01:52 +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 agoDefine MODULE type for KCM libraries
Alexander Lohnau [Sat, 16 Apr 2022 11:05:02 +0000 (13:05 +0200)]
Define MODULE type for KCM libraries

Otherwise, they will have the "lib" prefix

3 years agoConvert desktop files of plugins to json
Alexander Lohnau [Sat, 16 Apr 2022 11:03:38 +0000 (13:03 +0200)]
Convert desktop files of plugins to json

Task: https://phabricator.kde.org/T14564

3 years agoDon't deselect on Ctrl+Right-Click
Felix Ernst [Wed, 20 Apr 2022 21:44:05 +0000 (21:44 +0000)]
Don't deselect on Ctrl+Right-Click

(Part of my work towards !273)

Currently, when items are selected and a user right-clicks a selected item
while having the Ctrl key pressed down, the item is first
deselected and then a context menu is opened that doesn't involve
the item that was just deselected.

This is slightly confusing because normally one right-clicks an
item to see its context menu. Right-click being able to deselect
an item seems like unintended functionality in the first place but
in this scenario it also means that the intended opening of a
context menu for the pressed item doesn't even happen.

There is a good chance that nobody is even aware of this behaviour
because the normal way to deselect an item would be to
Ctrl+Left-Click if anything. Why would someone choose to open a
context menu and deselect items in a single step? Why would they
have selected an item they don't want to open a context menu for in
the first place?

Because of a discussion in this merge request deselecting on Ctrl+Middle-Click was also
removed for consistency with Ctrl+Right-Click and
Ctrl+Shift+Middle-Click.

This commit also makes a later implementation of a selection mode
more straightforward.

3 years agoAdd additional Document role for "Author"
Kai Uwe Broulik [Tue, 19 Apr 2022 19:31:53 +0000 (21:31 +0200)]
Add additional Document role for "Author"

It comes in handy when organizing your books collection

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 19 Apr 2022 01:48:03 +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 agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 18 Apr 2022 02:45:08 +0000 (02: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 [Sun, 17 Apr 2022 00:50:15 +0000 (00:50 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Tue, 12 Apr 2022 21:17:49 +0000 (23:17 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 06bd5b2ee9324e268da2e5c0cf54bc8d8d725ae9)

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Tue, 12 Apr 2022 21:17:49 +0000 (23:17 +0200)]
GIT_SILENT Update Appstream for new release

3 years agoGIT_SILENT Upgrade release service version to 22.04.0.
Heiko Becker [Tue, 12 Apr 2022 21:09:27 +0000 (23:09 +0200)]
GIT_SILENT Upgrade release service version to 22.04.0.

3 years agoMerge branch 'release/22.04'
Kai Uwe Broulik [Tue, 12 Apr 2022 13:47:42 +0000 (15:47 +0200)]
Merge branch 'release/22.04'

3 years ago[Places Panel] Support drag and drop from Ark
Kai Uwe Broulik [Thu, 7 Apr 2022 19:41:43 +0000 (21:41 +0200)]
[Places Panel] Support drag and drop from Ark

Accepts Ark's special dnd mime types so that archive contents can
be dragged onto a place to extract and/or (mount and) switch to the
hovered location.

3 years agoGIT_SILENT: Add window CI support
Laurent Montel [Sun, 10 Apr 2022 11:30:39 +0000 (13:30 +0200)]
GIT_SILENT: Add window CI support

3 years agoMerge branch 'release/22.04'
Felix Ernst [Sat, 9 Apr 2022 09:27:42 +0000 (11:27 +0200)]
Merge branch 'release/22.04'

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 9 Apr 2022 01:51:05 +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 agoAdd symmetric padding on right side of details view
Felix Ernst [Fri, 8 Apr 2022 09:07:23 +0000 (11:07 +0200)]
Add symmetric padding on right side of details view

There have been some reports that users were unable to figure out
that the padding on the left of the left-most "name" column can be
used for deselecting or for dropping file items. All of these
reports were by people using a Dolphin version in which that
padding was way too narrow because of a regression (that has since
been fixed). Nonetheless this highlights the potential problem that
some users might be unable to notice/figure out the usefulness of
the left padding.

This commit adds a similar area on the right side of the view when
the column widths are set automatically by Dolphin. The width of
the right padding column mirrors the width of the left padding
column when sized automatically. Both can manually be hidden or
resized similarly to resizing other columns.

There are various usability advantages to having this padding by
default on both sides of the view and not only on the left:
- The right margin is more discoverable since the item highlight
    ends right before the padding column
- Less mouse travel time to reach either of the areas
- More than double the likelihood of users figuring out the
    advantages of these padding areas for deselecting or dropping
- More visual symmetry

I had suggested also having this kind of right padding even before
the initial implementation of the left padding. The contributor
implementing it was in favour of it. It only wasn't implemented
because the contributor said it was impossible without a lot of
work. Turns out adding two characters at the right position seems
to suffice in most ways.

This commit does not contain the string change of renaming "Leading
Column Padding" to "Column Padding" (since it changes two paddings
now) to not infringe on the string freeze.

BUG: 452273

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 7 Apr 2022 02:58:35 +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 agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 7 Apr 2022 01:45:45 +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 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 agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 5 Apr 2022 01:51:00 +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 agoMerge branch 'release/22.04'
Felix Ernst [Mon, 4 Apr 2022 12:42:02 +0000 (14:42 +0200)]
Merge branch 'release/22.04'

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 agoMerge branch 'release/22.04'
Felix Ernst [Mon, 4 Apr 2022 10:59:29 +0000 (12:59 +0200)]
Merge branch 'release/22.04'

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 agoBaloo is available on Linux/FreeBSD only
Ben Cooksley [Sun, 3 Apr 2022 08:09:57 +0000 (20:09 +1200)]
Baloo is available on Linux/FreeBSD only

3 years agoRefactor DolphinContextMenu so its actions are retrievable
Felix Ernst [Sat, 2 Apr 2022 17:00:58 +0000 (17:00 +0000)]
Refactor DolphinContextMenu so its actions are retrievable

This mostly red MR should have no visible effect. It is part of my work towards !273.

There are two calls necessary to open the DolphinContextMenu:
One to construct it and one to execute/show it.

Before this commit, the actual populating of the ContextMenu was
done on execute. This meant that the actions of the ContextMenu
couldn't be looked at or changed without first showing the Menu
to the user. It also meant that the construction itself didn't
actually do much constructing/populating at all which might seem
a bit unintuitive.

This commit changes this behaviour so the DolphinContextMenu is
actually populated fully on construction. The executing/showing of
the ContextMenu now does just that and nothing more.

Previously, some actions in the context menu were actually not
wired up to anything and instead the DolphinContextMenu or the
DolphinMainWindow executed some code after the user had clicked
such a dummy action from the ContextMenu. Now all the actions are
properly constructed beforehand and no special handling is
necessary when the ContextMenu hides itself.

This commit removes the pos parameter from the DolphinContextMenu
constructor. This parameter contained the position where the Menu
would be shown later. This information isn't necessary to have on
construction and was already part of the exec(pos) call in the
first place. The variable m_pos that stored the value is removed.

This commit also removes a "customActions" functionality that can
supposedly be used to add further custom actions to the
DolphinContextMenu but this functionality isn't ever used
anywhere so its usefulness is questionable. It also wouldn't be
difficult to re-add this functionality if it was ever required for
something.

This commit also addresses an old TODO in dolphinpart.cpp that
asked for the calls for opening the DolphinContextMenu to actually
contain the information for which items the DolphinContextMenu is
supposed to be constructed. Before this, only the item that was
directly clicked was transmitted and then DolphinContextMenu
retrieved the currently selected set of items by itself.
It makes more sense that DolphinContextMenu would be informed on
construction which items it is supposed to show context actions
for.

Most of this is necessary so we are able to show the contextual
actions anywhere else than in the ContextMenu in the future.

I am targeting 22.08 with this MR because it makes no sense to merge a refactor for the upcoming release already.

3 years agoInstall servicemenus in new install location
Alexander Lohnau [Tue, 15 Mar 2022 19:01:55 +0000 (20:01 +0100)]
Install servicemenus in new install location

Since KIO 5.85, this new file location is preferred over the
KServiceTypeTrader results.

With this change, single desktop files from the KDE store are installed
in the correct location. If however a custom install script is used,
developers need to adjust their scripts.

Because the "kio/servicemenus" locations is different than the one
KAuthorized allows by default, we have to mark the file as executable.

Task: https://phabricator.kde.org/T14543

3 years agoMerge branch 'release/22.04'
Felix Ernst [Fri, 1 Apr 2022 10:17:25 +0000 (12:17 +0200)]
Merge branch 'release/22.04'

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 agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 1 Apr 2022 02:03:03 +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"

3 years agoMerge branch 'release/22.04'
Nicolas Fella [Thu, 31 Mar 2022 22:13:19 +0000 (00:13 +0200)]
Merge branch 'release/22.04'

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 ago[ToolTipManager] Create DolphinFileMetaDataWidget on-demand again
Kai Uwe Broulik [Tue, 29 Mar 2022 07:36:30 +0000 (09:36 +0200)]
[ToolTipManager] Create DolphinFileMetaDataWidget on-demand again

This reverts b7fbd19a7660424e6839df37f12b33111408b1fc but creates the
widget only once and then reuses it.

However, ownership of a parent-less widget is transferred to the
`KToolTipWidget` but since we first request metadata, then show the
tooltip (or won't if the mouse moved on since), we cannot rely on
the `KToolTipWidget` exclusively.

Instead, when we still delete the widget ourself until we have
shown the `KToolTipWidget` once at which point it will handle the
life time for us.

This fixes parenting the widget to `DolphinView` which would make
it appear as a broken line in the top left of the window.

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 agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 29 Mar 2022 02:21:23 +0000 (02:21 +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 00:58:32 +0000 (00:58 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoMerge branch 'release/22.04'
Kai Uwe Broulik [Mon, 28 Mar 2022 15:09:52 +0000 (17:09 +0200)]
Merge branch 'release/22.04'

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 agoReuse metadata widget when creating tooltips
Nicolas Fella [Fri, 25 Mar 2022 01:36:21 +0000 (02:36 +0100)]
Reuse metadata widget when creating tooltips

Currently any time we hover the mouse over a file we create a new DolphinFileMetaDataWidget (even when we don't actually show a tooltip).

That is quite wasteful

Instead we can reuse the existing instance and only change the URL

3 years agoUsing the gesture recognizer from KWidgetsAddons
Steffen Hartleib [Wed, 23 Mar 2022 22:00:31 +0000 (22:00 +0000)]
Using the gesture recognizer from KWidgetsAddons

Using the gesture recognizer from KWidgetsAddons, so that the source code for the gestures is only in one place

3 years agoAllow for more explicit button labels
Felix Ernst [Wed, 23 Mar 2022 15:03:32 +0000 (15:03 +0000)]
Allow for more explicit button labels

This commit allows us to very explicitly refer to any set of items
in text. This way buttons don't need to be labeled generically
like "Permanently Delete" but can be enriched to be labeled
"Permanently Delete "FileName"" or "Copy 7 Selected Folders" or
"Copy 6 Files" or "Rename "file1", "file2", "file3", "file4" and
"folder5"".

This commit tries to save translators a lot of work by using a
translation puzzle. This might be problematic for some languages.
The alternative on the other hand would mean that any label which
wants to be explicit would need to have over 10 translations just
for one label which seems quite bad as well.

A fallback is to be implemented for languages that can't really
accommodate for any specific word puzzle. This is explained in the
documentation.

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 agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 23 Mar 2022 00:58:56 +0000 (00:58 +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 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 agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 20 Mar 2022 02:14:36 +0000 (02:14 +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 00:55:37 +0000 (00:55 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoPrettify labels in back/forward button menu
Kai Uwe Broulik [Fri, 18 Mar 2022 18:56:20 +0000 (19:56 +0100)]
Prettify labels in back/forward button menu

Adds a compact label based on the closes place similar to the
address bar (e.g. instead of /home/user/Pictures/Holidays it will
show Pictures/Holidays), unless "show full path in address bar"
is enabled.

Also, add the folder icon

3 years agoFix some compile error against qt6
Laurent Montel [Tue, 15 Mar 2022 12:30:13 +0000 (13:30 +0100)]
Fix some compile error against qt6

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

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"