Commit graph

5758 commits

Author SHA1 Message Date
Nate Graham 2100a7a5c8 Ask for confirmation when Closing Dolphin windows with a terminal panel running a program
Summary:
Ask for confirmation when Closing Dolphin windows with a terminal panel running a program.

FEATURE: 304816
FIXED-IN: 19.04.0

Test Plan:
# Open terminal panel
# Run `watch ls`
# Close Dolphin
# Observe confirmation
# Disable confirmation
# Repeat, observe no confirmation
# Enable confirmation in the settings
# Repeat, observe a confirmation

Reviewers: #dolphin, markg, elvisangelaccio, rominf

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel, elvisangelaccio, markg, ngraham, rkflx, broulik, #dolphin

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D10960
2019-01-19 08:15:11 -07:00
Chris Rizzitello 784734ca16 Abort updateWindowTitle and activeViewChanged if not changed.
Summary:
 - Prevent activeViewChanged from updating the window if the view is the same view (happens at least once when starting up)
 - Stop updateWindowTitle from updating the title if its not changed.

Reviewers: #dolphin, elvisangelaccio, broulik

Reviewed By: #dolphin, elvisangelaccio, broulik

Subscribers: anthonyfieroni, broulik, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17882
2019-01-16 17:34:26 -05:00
Elvis Angelaccio d23b842a14 Fix required version for baloo and kfilemetadata 2019-01-15 18:53:45 +01:00
Elvis Angelaccio 0634e68336 Use stable version as required version for baloo-widgets 2019-01-15 18:52:02 +01:00
Elvis Angelaccio f8196b8cf3 Drop unused includes
GIT_SILENT
2019-01-15 18:50:33 +01:00
Elvis Angelaccio ae906710ba Drop unused config-X11.h.cmake
Unused since de84f223d4
2019-01-15 18:30:16 +01:00
Elvis Angelaccio 67e7f8132f Fix include style
GIT_SILENT
2019-01-15 18:11:09 +01:00
Laurent Montel e5ebb31e54 Consti'fy 2019-01-11 07:03:26 +01:00
Alexander Stippich d099123841 Merge branch 'Applications/18.12' 2019-01-07 21:56:40 +01:00
Alexander Stippich 8f051a391d fix display of image orientation
Summary:
The name of the orientation property
for baloo/kfilemetadata was false, leading to
an always empty image orientation field.

Test Plan:
Look at an image in Dolphin details view
which has the exiv orientation tag set. Orientation
column is not empty.

Reviewers: #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18008
2019-01-07 21:53:01 +01:00
l10n daemon script 5d9ad8d24f 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"
2019-01-06 08:35:14 +01:00
l10n daemon script 1873e2f08f 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"
2019-01-06 05:25:48 +01:00
Elvis Angelaccio 504db3f702 Fix title update when changing active split view
Summary:
The DolphinTabPage::activeViewUrlChanged signal triggers the title
update in DolphinMainWindow, which sets the new title from the
`m_activeViewContainer` instance.

This means we need to notify the main window that the active view
changed before telling it that the current url changed.

BUG: 402641
FIXED-IN: 18.12.1

Reviewers: #dolphin, rizzitello, ngraham

Reviewed By: #dolphin, rizzitello, ngraham

Subscribers: rizzitello, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17881
2019-01-05 17:29:34 +01:00
Friedrich W. H. Kossebau 89158c6b3d Merge branch 'Applications/18.12' 2019-01-04 22:23:49 +01:00
Friedrich W. H. Kossebau 1cde03cdfe Use https over http for homepage url 2019-01-04 22:22:07 +01:00
Christoph Feck 3933583925 GIT_SILENT Upgrade KDE Applications version to 18.12.1. 2019-01-03 22:47:46 +01:00
Elvis Angelaccio f0e66d3465 Add failing test case for bug #402641
CCBUG: 402641
2018-12-31 00:21:25 +01:00
l10n daemon script 15f1963842 GIT_SILENT made messages (after extraction) 2018-12-28 02:42:41 +01:00
l10n daemon script e843b88c73 GIT_SILENT made messages (after extraction) 2018-12-26 02:48:09 +01:00
l10n daemon script 129cd66595 GIT_SILENT made messages (after extraction) 2018-12-24 02:46:19 +01:00
l10n daemon script 6de7aae20a GIT_SILENT made messages (after extraction) 2018-12-23 06:55:00 +01:00
l10n daemon script 371ae20398 GIT_SILENT made messages (after extraction) 2018-12-21 02:51:21 +01:00
Nate Graham 1af2241243 Merge branch 'Applications/18.12' 2018-12-18 22:04:46 -07:00
Nate Graham f6549f08ea Use correct icon for the "New Window" menu item 2018-12-18 22:03:16 -07:00
l10n daemon script 024951ed0d GIT_SILENT made messages (after extraction) 2018-12-19 02:49:13 +01:00
Elvis Angelaccio 9581a27328 Make RenameDialog modal again.
Summary:
The rename dialog used to be modal, but commit
828ba8902c changed the behavior without
really explaining why.

Test Plan: disable inline renaming and rename something.

Reviewers: #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17621
2018-12-17 22:52:25 +01:00
Nate Graham 34ebf8e0e8 Return editable URL navigator to breadcrumb mode if it has focus and everything is selected and when Ctrl+L is pressed
Summary:
This patch makes an editable location bar return to breadcrumb mode when {key Ctrl L} is pressed, but only if the location bar currently has focus and everything is selected. Otherwise, it will simply return focus to it as before.

This provides a slightly easier way to make the location bar return to breadcrumbs mode

Test Plan:
- Compile and deploy and make the location bar be breadcrumbs
- Hit {key Ctrl L} twice in a row -> location field turns to being in breadcrumb mode. Focus is correctly returned to the main view.
- Hit {key Ctrl L}, move focus elsewhere, then hit {key Ctrl L} again -> Location bar is editable and focused with everything selected.
- Hit {key Ctrl L}, deselect some of the text, then hit {key Ctrl L} again -> Location bar selects everything.

Reviewers: #dolphin, elvisangelaccio, dhaumann

Reviewed By: elvisangelaccio, dhaumann

Subscribers: elvisangelaccio, dhaumann, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16980
2018-12-16 13:57:19 -07:00
Elvis Angelaccio 2050fe1781 Drop old krazy comments
The `qclasses` check should no longer be an issue after the KF5 port.

GIT_SILENT
2018-12-16 13:57:51 +01:00
l10n daemon script 05437365e7 GIT_SILENT made messages (after extraction) 2018-12-12 07:47:04 +01:00
Shubham Jangra ca25af6d38 Add an icon for "restore" action
Summary:
Before:
{F6469103}

After:
{F6469104}

Test Plan:
1. Go to Trash

2. Right click any item.

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17490
2018-12-10 23:56:52 +05:30
Shubham Jangra b3d054380c Revert back 2018-12-10 23:42:11 +05:30
Shubham Jangra 55db38d5ec Add an icon for "restore" action
Summary:
Before:
{F6469103}

After:
{F6469104}

Test Plan:
1. Go to Trash

2. Right click any item.

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17490
2018-12-10 23:28:45 +05:30
Shubham Jangra 48a4b7abea Remove unused parameter warning 2018-12-07 22:28:29 +05:30
Nate Graham 743207179f [context menu] Restore separator above 'Properties' that went missing 2018-12-06 14:10:58 -07:00
Christoph Feck ab04158d82 GIT_SILENT Upgrade KDE Applications version to 18.12.0. 2018-12-05 00:32:23 +01:00
Elvis Angelaccio f7a824b70d Merge branch 'Applications/18.12' 2018-12-04 22:04:41 +01:00
Anton Kreuzkamp 037d2c9984 KItemListWidget: Use initStyleOption
Instead of using QStyleOption::initFrom, let's use
QGraphicsWidget::initStyleOption, which is made for exactly the purpose
of KItemListWidget. This is especially important since, according to the
docs of QGraphicsItem::paint "The widget argument is optional. [...]
For cached painting, widget is always 0.". Even though currently no code
in dolphin does cached painting, for the sake of modularity one should
not rely on widget to be non-null. Using QStyleOption::initFrom does
assume that, though.

In fact, GammaRay asks the items to do cached painting when attaching it
to the application, causing it to crash.
2018-12-03 15:15:56 +01:00
Elvis Angelaccio ca5581944b [PlacesPanel] Fix unused variable warning 2018-12-02 14:48:01 +01:00
Elvis Angelaccio 3ee24ac287 [KItemListController] Make event-handling functions private
There is no reason why these event-handling custom functions should be
public, so make them private instead.
2018-12-02 14:42:41 +01:00
Elvis Angelaccio 6938a73fe5 [KItemListController] Drop virtual keywords
We are never overriding these functions, so there is no reason to declare
them virtual.
2018-12-02 14:08:55 +01:00
Elvis Angelaccio 7af0e23186 [KItemListController] Drop unused functions 2018-12-02 14:08:55 +01:00
Thomas Surrel e62ae08d30 Merge remote-tracking branch 'origin/Applications/18.12' 2018-12-01 21:20:01 +01:00
Thomas Surrel 6100f66ae2 Fix selection when navigating back, with size sorting.
Summary:
KItemListSelectionManager::itemsMoved (called when sorting by size)
was re-activating anchor selection regardless if we actually were
doing an anchored selection. This was leading to an incorrect
selection when navigating back.

BUG: 352296

Test Plan:
In any folder, sort by size then move to a subfolder. Navigate back
to the parent folder: only the parent folder should be selected.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, broulik, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17042
2018-12-01 21:18:58 +01:00
Thomas Surrel b714604a67 Do not sort twice when changing role and order at the same time
Summary:
When using the list header to change the role and order, if one
changes the order to descending and then changes role, dolphin
also changes the order back to ascending. This results in sorting
the list of files twice in a row. This patch removes the first
(useless) sort.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17111
2018-12-01 21:07:29 +01:00
Laurent Montel d0cfe1e658 Use isEmpty here too 2018-11-30 07:13:53 +01:00
Laurent Montel f390818050 Use isEmpty() here 2018-11-30 06:58:22 +01:00
l10n daemon script 60e5c1bd8e GIT_SILENT made messages (after extraction) 2018-11-29 07:07:18 +01:00
l10n daemon script 84f4b1fe07 GIT_SILENT made messages (after extraction) 2018-11-29 02:46:54 +01:00
Christoph Feck 396a69859b GIT_SILENT Upgrade KDE Applications version to 18.11.90. 2018-11-26 14:32:36 +01:00
Elvis Angelaccio b5df5f4d95 [PlacesPanel] Port to KFilePlaceEditDialog
Summary:
This patch ports away from the old PlacesItemEditDialog copy,
which doesn't honour the "applicationLocal" checkbox.

KFilePlaceEditDialog was not exported by KIO, but it will be starting
from 5.53

BUG: 376619
FIXED-IN: 19.03.80

Test Plan:
* Create a new place ("Add Entry" from the panel context menu) and check the "only show in dolphin" checkbox
* Edit an existing (global) place and check the "only show in dolphin" checkbox

Reviewers: #dolphin

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16824
2018-11-24 12:18:01 +01:00