]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
3 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Wed, 12 Oct 2022 02:06:29 +0000 (02:06 +0000)]
GIT_SILENT Sync po/docbooks with svn

3 years agoRename variable
Felix Ernst [Tue, 11 Oct 2022 14:25:39 +0000 (16:25 +0200)]
Rename variable

Based on code review feedback by Andrey Butirsky.

3 years agoAdd helper methods to tab widget for view containers
Felix Ernst [Fri, 26 Aug 2022 10:29:35 +0000 (12:29 +0200)]
Add helper methods to tab widget for view containers

This commit introduces the private getter
DolphinTabWidget::viewContainerAt(ViewIndex)
and another private method
DolphinTabWidget::activateViewContainerAt(ViewIndex).

Both methods return nullptr if there is no valid
DolphinViewContainer at the specified ViewIndex.

3 years agoFix item highlighting through DBus
Felix Ernst [Tue, 9 Aug 2022 14:02:55 +0000 (16:02 +0200)]
Fix item highlighting through DBus

Before this commit, even items that are distant children of
currently open views were considered selectable. This lead to the
bug that items meant to be highlighted through DBus would not be
highlighted if any ancestor of the item was open in any view.

This was fixed by only considering items in view if they can be
seen by scrolling. Main difficulty here was to make this also work
for the details view mode which allows expanding.

To implement this cleanly, some refactoring seemed necessary
because the logic to determine if an item is already in view
was previously intertwined with the logic to identify already open
directories.

This commit also contains the following refactorings aiming to
make the code more readable:
- A magic value (-1) is replaced using std::optional.
- A boolean trap is removed.
- A QPair is replaced by a struct with named variables.
- More and improved documentation

3 years agodon't use const'ref here (found by clazy)
Laurent Montel [Tue, 11 Oct 2022 06:59:26 +0000 (08:59 +0200)]
don't use const'ref here (found by clazy)

3 years agoRemove unused include
Laurent Montel [Tue, 11 Oct 2022 06:59:19 +0000 (08:59 +0200)]
Remove unused include

3 years agoUse std::chrono_literals
Laurent Montel [Tue, 11 Oct 2022 06:59:06 +0000 (08:59 +0200)]
Use std::chrono_literals

3 years agoUse QStringLiteral
Laurent Montel [Tue, 11 Oct 2022 06:58:50 +0000 (08:58 +0200)]
Use QStringLiteral

3 years agoUse const'ref
Laurent Montel [Tue, 11 Oct 2022 06:58:40 +0000 (08:58 +0200)]
Use const'ref

3 years agoRemove unused includes
Laurent Montel [Tue, 11 Oct 2022 06:51:12 +0000 (08:51 +0200)]
Remove unused includes

3 years agoShow all includes in qtc6
Laurent Montel [Tue, 11 Oct 2022 06:51:03 +0000 (08:51 +0200)]
Show all includes in qtc6

3 years agoport to KIO::createDefaultJobUiDelegate
Laurent Montel [Tue, 11 Oct 2022 06:46:12 +0000 (08:46 +0200)]
port to KIO::createDefaultJobUiDelegate

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Mon, 10 Oct 2022 19:48:09 +0000 (21:48 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 87d846346db042cc2dd562bbb6501c2310983066)

3 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 9 Oct 2022 02:17:53 +0000 (02:17 +0000)]
GIT_SILENT Sync po/docbooks with svn

3 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sat, 8 Oct 2022 10:59:47 +0000 (10:59 +0000)]
GIT_SILENT Sync po/docbooks with svn

3 years agoReplace context menu on long press with selection mode
Marco Martin [Tue, 4 Oct 2022 13:54:11 +0000 (15:54 +0200)]
Replace context menu on long press with selection mode

on long touch (and not on mouse press) don't pop up the context menu
anymore but enter selection mode, similar behavior to mobile applications.
the full context menu is still available from the actions toolbar
appearing in selection mode

3 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Fri, 7 Oct 2022 02:31:45 +0000 (02:31 +0000)]
GIT_SILENT Sync po/docbooks with svn

3 years agoDolphinTabBar: Open folder in new tab when dropped onto tab bar
Kai Uwe Broulik [Sun, 2 Oct 2022 11:09:21 +0000 (13:09 +0200)]
DolphinTabBar: Open folder in new tab when dropped onto tab bar

3 years agoDolphinTabWidget: Allow specifying new tab position in openNewTab
Kai Uwe Broulik [Sun, 2 Oct 2022 11:08:54 +0000 (13:08 +0200)]
DolphinTabWidget: Allow specifying new tab position in openNewTab

3 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Thu, 6 Oct 2022 02:18:44 +0000 (02:18 +0000)]
GIT_SILENT Sync po/docbooks with svn

3 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Mon, 3 Oct 2022 03:16:23 +0000 (03:16 +0000)]
GIT_SILENT Sync po/docbooks with svn

3 years agoRemove superfluous setData call
Kai Uwe Broulik [Sun, 2 Oct 2022 13:10:15 +0000 (15:10 +0200)]
Remove superfluous setData call

It's done by urlNavigatorHistoryAction already

3 years agoterminal: Clear line using escapes instead of SIGINT
John Brooks [Sat, 3 Sep 2022 22:22:15 +0000 (18:22 -0400)]
terminal: Clear line using escapes instead of SIGINT

Sending SIGINT can be destructive, for example if we interrupt the
loading of the shell init files (e.g. .bashrc) and clobber history
preservation settings. Follow the example of Kate and send a Ctrl-E
Ctrl-U to clear the prompt instead.

BUG: 279614
Signed-off-by: John Brooks <john@fastquake.com>
3 years agoGIT_SILENT Sync po/docbooks with svn
l10n daemon script [Sun, 2 Oct 2022 03:37:48 +0000 (03:37 +0000)]
GIT_SILENT Sync po/docbooks with svn

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 28 Sep 2022 02:00:06 +0000 (02:00 +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 missing include (needed for building qt6)
Laurent Montel [Mon, 26 Sep 2022 07:03:55 +0000 (09:03 +0200)]
Add missing include (needed for building qt6)

3 years agoRemove unused includes
Laurent Montel [Mon, 26 Sep 2022 06:17:13 +0000 (08:17 +0200)]
Remove unused includes

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 24 Sep 2022 00:49:05 +0000 (00:49 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoIncrease code coverage of places panel width resistance test
Felix Ernst [Fri, 23 Sep 2022 18:35:34 +0000 (20:35 +0200)]
Increase code coverage of places panel width resistance test

Improve the test by also testing the various selection mode bars.
No combination of bars should lead to a resize of the paces panel.

This commit also helps with increasing code coverage by making all
possible selection mode bars appear.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 21 Sep 2022 01:48:38 +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 [Wed, 21 Sep 2022 00:49:27 +0000 (00:49 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoTrigger "Exit Selection Mode" button on clicked and not on pressed
Felix Ernst [Thu, 15 Sep 2022 13:19:12 +0000 (15:19 +0200)]
Trigger "Exit Selection Mode" button on clicked and not on pressed

This way it works just like every other button.

This commit also removes two empty files that sneaked in by
accident.

3 years agoImprove selection action toggle code
Felix Ernst [Thu, 15 Sep 2022 13:36:05 +0000 (13:36 +0000)]
Improve selection action toggle code

@broulik noticed an issue in the code. This commit fixes it.

-------------------

Before this commit there was a `QObject::disconnect` call that did
nothing (because it had `nullptr` as the first parameter) and there was a `QObject::connect` call that created
the same connections multiple times because of this.

This had no effect on end users. However such code can lead to
issues in the future e.g. if we ever had a situation in which the selection mode could be toggled for an inactive view container.

This commit solves this by replacing the `QObject::disconnect` call
with one that works. The `QObject::connect` call is moved so
there won't be multiple connections of the same type.

3 years ago[dolphinview] Disconnect modelChanged when destructing
Felix Ernst [Thu, 15 Sep 2022 12:15:31 +0000 (14:15 +0200)]
[dolphinview] Disconnect modelChanged when destructing

Deleting DolphinView deletes KItemListContainer, which deletes
KItemListController, which emits modelChanged, which causes a
signal delivery to the already destroyed DolphinView

This is never good, and in Qt6 causes an assert
(https://codereview.qt-project.org/c/qt/qtbase/+/381860).

Co-authored-by: Nicolas Fella <nicolas.fella@gmx.de>
3 years agoChange "OpenExternallyCalledFolderInNewTab" to false by default
Eric Edlund [Fri, 2 Sep 2022 18:09:22 +0000 (14:09 -0400)]
Change "OpenExternallyCalledFolderInNewTab" to false by default

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 6 Sep 2022 00:48:29 +0000 (00:48 +0000)]
GIT_SILENT made messages (after extraction)

3 years agodoc: fix typo (Trash -> User Feedback)
Natalie Clarius [Sat, 3 Sep 2022 00:16:41 +0000 (02:16 +0200)]
doc: fix typo (Trash -> User Feedback)

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 2 Sep 2022 21:59:46 +0000 (23:59 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 4986d7c8dfab615e6ce0d7412c3b1c5bbfc08cae)

3 years agoAdd FreeBSD Qt6 CI support
Laurent Montel [Mon, 29 Aug 2022 06:13:42 +0000 (08:13 +0200)]
Add FreeBSD Qt6 CI support

3 years agoThis commit removes the ability to enter selection mode by
Felix Ernst [Sat, 27 Aug 2022 09:40:51 +0000 (09:40 +0000)]
This commit removes the ability to enter selection mode by
click-and-holding with a pointing device like a mouse.

This functionality was originally implemented because it seemed
useful to save users the effort of entering selection mode
explicitly by using its corresponding action.

However, click-and-holding to trigger anything is not really an
expected behaviour. (This contrasts with touch devices where
press-and-holding is common to trigger something.)

Aside from the above reasoning, the click-and-hold behaviour was
also buggy so that selection mode was entered in a couple of
situations that weren't strictly about click-and-holding.

So this commit removes the functionality and the bugs.

BUG: 457973
BUG: 458129
CCBUG: 457975

3 years agoDon't show error message on ERR_USER_CANCELED
Kai Uwe Broulik [Wed, 24 Aug 2022 15:00:01 +0000 (17:00 +0200)]
Don't show error message on ERR_USER_CANCELED

There's no point telling the user what they just did.

After https://invent.kde.org/frameworks/kio/-/commit/f192c133eb01bc8448d5ddd97fe20f8e6dbc467d
this error has a text associated with it, so it might
show up in the UI.

3 years agoGIT_SILENT: Terminal=false is default value. Not necessary to keep it in desktop...
Laurent Montel [Tue, 23 Aug 2022 18:46:58 +0000 (20:46 +0200)]
GIT_SILENT: Terminal=false is default value. Not necessary to keep it in desktop file

3 years agoInformationPanel: better refresh state when current dir changes
Méven Car [Sun, 21 Aug 2022 10:28:33 +0000 (12:28 +0200)]
InformationPanel: better refresh state when current dir changes

Refactor and simplify things along the way.

BUG: 457813

3 years agoPlaces Panel: Don't show error message on UserCanceled
Kai Uwe Broulik [Mon, 22 Aug 2022 17:55:30 +0000 (19:55 +0200)]
Places Panel: Don't show error message on UserCanceled

There's no point telling the user what they just did

3 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 22 Aug 2022 00:49:02 +0000 (00:49 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoFix sorting by file extension
Eugene Popov [Thu, 18 Aug 2022 11:33:44 +0000 (14:33 +0300)]
Fix sorting by file extension

Folders don't have extensions

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 21 Aug 2022 01:51:22 +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 agoClean up code that became redundant through framework changes
Felix Ernst [Thu, 9 Jun 2022 21:23:29 +0000 (23:23 +0200)]
Clean up code that became redundant through framework changes

There were two changes in framework that triggered this commit:
KHamburgerMenu and KToolTipHelper.

When the Dolphin-specific hamburger menu was replaced by
KHamburgerMenu, I didn't clean everything up correctly. Not
anymore!

Help texts also weren't updated accordingly. This commit replaces
any mention of the old hamburger menu which was called "Control"
with text that reflects the current application state.

The other framework change "KToolTipHelper" takes responsibility
for opening links in help texts. So we won't need code to do this
in Dolphin anymore. This means we can also get rid of some
duplicate help texts which only existed because links didn't work
correctly in some places.

3 years agoDon't include `iconOverlays` in rolesData if it is empty
Kai Uwe Broulik [Mon, 15 Aug 2022 13:02:13 +0000 (15:02 +0200)]
Don't include `iconOverlays` in rolesData if it is empty

If this role isn't in the model yet, it would be `QVariant::Invalid`
which is obviously a distinct type from an empty string list.

This means `KFileItemModel::setData` treats them non-equal and
potentially does expensive operations on the model, which is
called every time a role is resolved in `KFileItemModelRolesUpdater`.

With this change, the number of pointless layout calculations is
significantly reduced.

3 years agoAdd "Invert Selection" and "Select All" to bottom bar
Felix Ernst [Wed, 8 Jun 2022 12:23:32 +0000 (14:23 +0200)]
Add "Invert Selection" and "Select All" to bottom bar

In selection mode, a bottom bar with contextual actions appears
when at least one item is selected. This commit makes it so this
bottom bar also contains the "Invert Selection" and "Select All"
actions so users have more complete control over changing what is
and isn't selected while in selection mode.

3 years agoSimplify implementation of mouse long-press detection
Felix Ernst [Thu, 26 May 2022 10:56:03 +0000 (12:56 +0200)]
Simplify implementation of mouse long-press detection

Now uses the same method as for touch long-press detection.

3 years agoDon't show selection toggle areas on files while in selection mode
Felix Ernst [Wed, 18 May 2022 23:44:03 +0000 (01:44 +0200)]
Don't show selection toggle areas on files while in selection mode

3 years agoAddress Nate's UX feedback: Episode 2
Felix Ernst [Mon, 16 May 2022 13:53:18 +0000 (15:53 +0200)]
Address Nate's UX feedback: Episode 2

- Make Esc leave selection mode and have it only clear selection
    when already outside selection mode.
- Let translators know that the "More" overflow button should only
    have a short text on it.
- Fix a crash that happened when any code tried to exit selection
    mode even though selection mode had never been enabled to begin
    with.

3 years agoAddress Nate's UX feedback
Felix Ernst [Thu, 5 May 2022 10:54:36 +0000 (12:54 +0200)]
Address Nate's UX feedback

-More labels
-More icons
-"Abort" -> "Cancel"

3 years agoMake touch tap to select items work in selection mode
Felix Ernst [Sun, 1 May 2022 10:37:21 +0000 (12:37 +0200)]
Make touch tap to select items work in selection mode

Thanks to Steffen Hartleib for the help.

3 years agoImprove naming consistency and leave mode on Escape
Felix Ernst [Thu, 28 Apr 2022 20:55:28 +0000 (22:55 +0200)]
Improve naming consistency and leave mode on Escape

3 years agoImprove code quality
Felix Ernst [Mon, 25 Apr 2022 10:52:05 +0000 (12:52 +0200)]
Improve code quality

3 years agoBetter separation of classes
Felix Ernst [Sun, 24 Apr 2022 11:18:30 +0000 (13:18 +0200)]
Better separation of classes

Make obvious when actions trigger selection mode.

3 years agoKeep working towards a reviewable state
Felix Ernst [Sun, 24 Apr 2022 00:34:43 +0000 (02:34 +0200)]
Keep working towards a reviewable state

- Various code improvements
- Smoother animations
- The bottom bar in General Mode only becomes visible if items are
    currently selected
- Removed the selection mode action from the default toolbar since
    it can already be toggled in various ways
- More documentation
- Some cleaning

3 years agoAdd Selection Mode
Felix Ernst [Sun, 12 Sep 2021 13:33:39 +0000 (15:33 +0200)]
Add Selection Mode

The selection mode action is a checkable toggle action named
"Select Files and Folders" which has "Space" as the default
shortcut.

In selection mode a bottom bar with contextual actions is shown.
These should mostly mirror the actions which are available through
the right-click context menu aka DolphinContextMenu.

Resizing of the window might make a overflow button appear in the
bottom selection mode bar.

This commit makes press and hold in the view activate selection
mode. This behaviour is not triggered if the press and hold is
used to either start a rubberband selection or a drag operation
within a short time. The length of the short timeframe is defined
by a QStyleHint. This is currently not implemented in touch
because I can't test it.

Mix the selection mode bars' background colors using a nice
combination of colors from the current color scheme

BUG: 427202

3 years agoGIT_SILENT Update Appstream for new release
Albert Astals Cid [Wed, 10 Aug 2022 21:33:39 +0000 (23:33 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit c9ab65174bd8b568c27e3366b5a0e27a112f5a51)

3 years agoUpdate copyright and maintainership info
Elvis Angelaccio [Thu, 9 Jun 2022 16:39:29 +0000 (18:39 +0200)]
Update copyright and maintainership info

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 3 Aug 2022 01:49:02 +0000 (01:49 +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 agoSync QT_MIN_VERSION with KF's REQUIRED_QT_VERSION
Laurent Montel [Mon, 1 Aug 2022 17:18:16 +0000 (19:18 +0200)]
Sync QT_MIN_VERSION with KF's REQUIRED_QT_VERSION

In KF we already looking for 5.15.2
and looking something lower than that
is a bit meaningless

3 years agoInstall dolphinpart actions as standalone file
Alexander Lohnau [Mon, 1 Aug 2022 16:35:35 +0000 (16:35 +0000)]
Install dolphinpart actions as standalone file

This will allow Konqueror to use it without relying on the KPart being loaded using KService

3 years agoRemove service type file for vcs plugins
Nicolas Fella [Sat, 30 Jul 2022 15:47:40 +0000 (17:47 +0200)]
Remove service type file for vcs plugins

We don't support old-style plugins any more, so no need to install this

3 years agoRemove AUTHORS file
Nicolas Fella [Mon, 25 Jul 2022 22:24:28 +0000 (00:24 +0200)]
Remove AUTHORS file

It is horribly out of date and not very useful

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 25 Jul 2022 01:46:13 +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 agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 23 Jul 2022 01:50:13 +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 [Wed, 20 Jul 2022 01:45:24 +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 agoRemove references to KServiceTypeTrader in comments
Nicolas Fella [Mon, 18 Jul 2022 20:42:39 +0000 (22:42 +0200)]
Remove references to KServiceTypeTrader in comments

3 years agoRemove unused includes
Nicolas Fella [Mon, 18 Jul 2022 20:38:43 +0000 (22:38 +0200)]
Remove unused includes

3 years agoKItemListHeaderWidget: Use QHeaderView font
Kai Uwe Broulik [Tue, 12 Jul 2022 16:20:12 +0000 (18:20 +0200)]
KItemListHeaderWidget: Use QHeaderView font

Makes it consistent with "real" tab widgets.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 15 Jul 2022 01:51:02 +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 agoPort from KNewFileMenu::setPopupFiles to KNewFileMenu::setWorkingDirectory
Nicolas Fella [Tue, 14 Dec 2021 20:47:20 +0000 (21:47 +0100)]
Port from KNewFileMenu::setPopupFiles to KNewFileMenu::setWorkingDirectory

The former is deprecated

3 years agoAdd "Show statusbar" menu entry in "Settings"
Kai Uwe Broulik [Tue, 5 Jul 2022 19:02:56 +0000 (21:02 +0200)]
Add "Show statusbar" menu entry in "Settings"

Makes this setting more accessible and makes it consistent with other
KDE applications. Since Dolphin has a separate status bar on each view
container and doesn't use kxmlgui's statusbar, we don't get this menu
entry automatically.

3 years agoOpen >5 terminals dialog: use action terms instead of Yes/No buttons
Friedrich W. H. Kossebau [Sun, 3 Jul 2022 16:59:27 +0000 (18:59 +0200)]
Open >5 terminals dialog: use action terms instead of Yes/No buttons

Yes/No buttons in dialogs are discouraged (not only) by KDE HIG in favour
of actions terms.

3 years agoOpen >5 items dialog: use action terms instead of Yes/No buttons
Friedrich W. H. Kossebau [Sun, 3 Jul 2022 16:45:38 +0000 (18:45 +0200)]
Open >5 items dialog: use action terms instead of Yes/No buttons

Yes/No buttons in dialogs are discouraged (not only) by KDE HIG in favour
of actions terms.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 13 Jul 2022 01:48:42 +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 Upgrade release service version to 22.11.70.
Albert Astals Cid [Tue, 12 Jul 2022 21:42:01 +0000 (23:42 +0200)]
GIT_SILENT Upgrade release service version to 22.11.70.

3 years agoportalize drag urls
Harald Sitter [Tue, 3 May 2022 11:57:09 +0000 (13:57 +0200)]
portalize drag urls

this enables sandboxed application to receive drop events

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 10 Jul 2022 01:53:09 +0000 (01:53 +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 agodolphintabwidget.cpp piority of boolean operators
Marius P [Sat, 9 Jul 2022 12:40:28 +0000 (15:40 +0300)]
dolphintabwidget.cpp piority of boolean operators

Fix PVS-Studio issue "warning: V648 Priority of the '&&' operation is higher than that of the '||' operation.".
Fix clangd issue.

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 9 Jul 2022 01:52:00 +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 agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 9 Jul 2022 00:48:35 +0000 (00:48 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoImprove goActions test
Felix Ernst [Thu, 7 Jul 2022 13:32:28 +0000 (13:32 +0000)]
Improve goActions test

This merge request fixes up a little oversight by me. I will merge this as soon as the pipeline passes.

------------------

Some lines verified that nothing is selected when navigating to a
folder that was not acted on yet. These verifications didn't test
anything meaningful because the folder in question was empty.

This commit adds a file and a folder to the test folder so that
testing if nothing is selected means something.

3 years agoAdd two autotests
Felix Ernst [Thu, 7 Jul 2022 10:41:39 +0000 (10:41 +0000)]
Add two autotests

- The first test makes sure that the width of the places panel
    doesn't change no matter what other panels are shown or hidden.
    There used to be bugs about this.
- The second test is kind of an integration test. It makes sure
    that the go actions work correctly. On two occasions we had
    the regression here that after going "Up" in the file system
    hierarchy the folder one emerged from didn't have keyboard
    focus which makes peeking into multiple folders tiresome.
    The test also makes sure that going back and forward works
    as expected and there are some sanity checks about which
    go actions are enabled, which items are selected and that
    using tabs doesn't interfere with any of that.

3 years agoShow "Loading canceled" placeholder when loading was canceled
Kai Uwe Broulik [Tue, 5 Jul 2022 11:00:34 +0000 (13:00 +0200)]
Show "Loading canceled" placeholder when loading was canceled

Rather than "Folder empty", which is misleading as we didn't
actually load anything.

3 years agoDon't reinterpret_cast QEvent
Kai Uwe Broulik [Tue, 5 Jul 2022 11:18:45 +0000 (13:18 +0200)]
Don't reinterpret_cast QEvent

We know that we'll be a `QHelpEvent` from `QEvent::ToolTip`, so do a
static_cast from the event handler (where it's obvious from context),
and then pass it along to `tryShowNameToolTip`.

3 years agoViewPropertiesDialog: use action terms instead of Yes/No buttons
Friedrich W. H. Kossebau [Sun, 3 Jul 2022 17:01:58 +0000 (19:01 +0200)]
ViewPropertiesDialog: use action terms instead of Yes/No buttons

Yes/No buttons in dialogs are discouraged (not only) by KDE HIG
in favour of actions terms.

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

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 2 Jul 2022 02:06:49 +0000 (02:06 +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, 2 Jul 2022 00:52:30 +0000 (00:52 +0000)]
GIT_SILENT made messages (after extraction)

3 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 1 Jul 2022 18:40:50 +0000 (20:40 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 8887f09b22068fdd0b1e5d6d7f6c4116966c6455)

3 years agoRemove defunc & now deprecated SHOW_DEPRECATIONS flag
Friedrich W. H. Kossebau [Tue, 28 Jun 2022 21:25:10 +0000 (23:25 +0200)]
Remove defunc & now deprecated SHOW_DEPRECATIONS flag

ecm_set_disabled_deprecation_versions() in versions < 5.96 was brokwn
when it comes to SHOW_DEPRECATIONS, warnings for newer deprecations
were disabled if the flag was set or not.
Starting with ECM 5.96 the macro now enables warnings by default,
so the flag is no longer needed.

GIT_SILENT

3 years agoUse edit-clear-history icon
Alain Laporte [Tue, 28 Jun 2022 05:31:06 +0000 (07:31 +0200)]
Use edit-clear-history icon

More semantically (and visually) appropriate icon

3 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 25 Jun 2022 02:01:46 +0000 (02:01 +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 agodo not open excessive tab
Andrey Butirsky [Tue, 24 May 2022 13:24:24 +0000 (16:24 +0300)]
do not open excessive tab

even if directory of the file to be created is not the top-most opened in
TreeView

BUG: 440663

3 years agoformatting
Andrey Butirsky [Tue, 14 Jun 2022 18:14:05 +0000 (21:14 +0300)]
formatting