Commit graph

5819 commits

Author SHA1 Message Date
Kai Uwe Broulik
b2b913c844 Use more suitable default view mode for recent documents and Downloads folder
Sort them descending by date as well as:
* for Recent Documents: switch to details view
* for Downloads enable grouping and disable sorting folders first

Differential Revision: https://phabricator.kde.org/D18697
2019-02-04 09:12:35 +01:00
Christoph Feck
959439ec1b GIT_SILENT Upgrade KDE Applications version to 18.12.2. 2019-02-03 05:46:38 +01:00
Elvis Angelaccio
fb4b4465f9 Merge branch 'Applications/18.12' 2019-02-02 21:37:06 +01:00
Anthony Fieroni
83912a6de8 Fix member initialization
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-02-02 19:48:09 +02:00
Anthony Fieroni
ec29cfff20 [versioncontrolobserver] Update working directory on tab activation
Differential Revision: https://phabricator.kde.org/D18605

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-02-02 19:38:37 +02:00
l10n daemon script
d728853027 GIT_SILENT made messages (after extraction) 2019-01-30 07:19:49 +01:00
Anthony Fieroni
9a9fbae988 [versioncontrolobserver] Do not use static plugin objects
Differential Revision: https://phabricator.kde.org/D17640

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-01-29 20:28:07 +02:00
Nate Graham
b7ceb51b44 After opening and switching to a new tab, always focus the view
Summary:
When Dolphin opens a new tab and immediately switches to it, the URL navigator gets focus if it's editable. If it's not, the breadcrumbs bar gets keyboard focus, which is not very useful since it's not really intended for keyboard navigation.

This patch changes that behavior so that the view always gets focus, which seems more useful and more consistent.

BUG: 401899
FIXED-IN: 19.04.0

Test Plan:
1. Put the URL navigator into breadcrumbs mode
2. Open a new tab
3. Observe that the view gets keyboard focus
4. Put the URL navigator into editable mode
5. Open a new tab
6. Observe that the view still gets keyboard focus

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: emateli, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17635
2019-01-29 06:33:27 -07:00
Elvis Angelaccio
8bc93b564c Introduce HAVE_TERMINAL
Source code should check for features detected during configure-time,
rather than checking for a specific OS.

See also commit 87e8d0ba5f.
2019-01-28 22:38:21 +01:00
l10n daemon script
df3c2c1391 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-28 08:29:51 +01:00
l10n daemon script
52c019c9cb 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-28 05:21:42 +01:00
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