Commit graph

5266 commits

Author SHA1 Message Date
Don Nguyen 0aed243beb Change "Date" to "Modified" and allow access to new "Accessed" time field
This is merge of #128964 and #128942.  This will impelement changing the "Date" field to "Modified" and allow a new "Accessed" time field to be available.  This also includes changes to update configuration files.

REVIEW: 129077
2017-01-21 00:04:38 +01:00
Don Nguyen d8ffea2476 Dolphin: directory loading progress
Everything is already set up to show the directory loading progress in the status bar, but the signal KFileItemModel::directoryLoadingProgress is never emmited anywhere.  I connected it to KFileItemModelDirLister::percent.

This was difficult to test because I had a hard time finding a directory that didn't load almost immediately.  I was able to verify the fix by listing a remote directory of 20,000 files (see screenshot)

REVIEW: 129619
2017-01-21 00:00:34 +01:00
Elvis Angelaccio 97b5435b6b Remove extra semicolon
GIT_SILENT
2017-01-18 23:49:41 +01:00
Elvis Angelaccio 1be2704214 Port away from deprecated KIO::Job::ui()
It's equivalent to KJob::uiDelegate() from kcoreaddons.
2017-01-18 23:45:39 +01:00
Kai Uwe Broulik 215bed085b In doubt use URL scheme for place
If we neither have a filename nor a host, we might be in a foo:/ URL, use the scheme then.

Differential Revision: https://phabricator.kde.org/D3935
2017-01-16 15:45:09 +01:00
John Salatas 63a591f32a Show full path in title bar
BUG: 229810

Differential Revision: https://phabricator.kde.org/D4078
2017-01-14 04:26:14 -08:00
Elvis Angelaccio 97415005de Merge branch 'Applications/16.12' 2017-01-14 13:00:33 +01:00
Elvis Angelaccio 85121a8115 Don't overwrite custom icons for the show_hidden_files action
BUG: 374508
FIXED-IN: 16.12.2
REVIEW: 129789
2017-01-14 12:52:58 +01:00
l10n daemon script c1eeb0e115 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"
2017-01-13 05:50:46 +01:00
l10n daemon script 82c944f63f GIT_SILENT made messages (after extraction) 2017-01-13 03:38:21 +01:00
Kai Uwe Broulik 0cad00c39a Add document title to additional information
Allows showing the document title of e.g. a PDF alongside the file name

BUG: 321356

Differential Revision: https://phabricator.kde.org/D3972
2017-01-12 14:23:12 +01:00
Albert Astals Cid 44b668e9fb GIT_SILENT Upgrade KDE Applications version to 16.12.1. 2017-01-07 19:47:57 +01:00
Montel Laurent 726515cfd4 Add missing Q_DECL_OVERRIDE 2017-01-03 13:18:07 +01:00
Ilya Bizyaev 962f6d7160 Fix 2 container-anti-pattern clazy warnings
REVIEW: 129752
2017-01-03 11:28:20 +01:00
Ilya Bizyaev 67c007889e Add missing Q_OBJECT macros
REVIEW: 129738
2017-01-03 11:24:13 +01:00
Kai Uwe Broulik 5107523249 Merge branch 'Applications/16.12' 2017-01-03 09:49:02 +01:00
Kai Uwe Broulik 996f8520e7 Explicitly pass iconNameForUrl when creating new places entry
Once KIO::iconNameForUrl returns special icons for standard paths (e.g. Video folder)
this will ensure when adding such a folder to places it will automatically get the proper icon.

Since KIO already depends on KBookmarks it can't depend the other way round, otherwise
this would have been fixed in KBookmarks directly.

Differential Revision: https://phabricator.kde.org/D3896
2017-01-03 09:46:43 +01:00
Kai Uwe Broulik 2a7090728b [DolphinView] Update view palette on palette change
Everything was handling palette change already but for the visual distinction between
active and non-active view (in case of split view), a custom palette was set which was
then never updated. This could be seen by the label text color changing but not the view background.

Differential Revision: https://phabricator.kde.org/D3909
2017-01-03 09:45:33 +01:00
Elvis Angelaccio 331c8bc89e Merge branch 'Applications/16.12' 2017-01-02 14:57:57 +01:00
Elvis Angelaccio 24ed38d77f Properly disable create_dir action in Trash
`isFolderWritable` is set in DolphinView::updateWritableState() according to
KFileItemListProperties::supportsWriting().
However, `writing=true` does not imply `makedir=true`,
in an ioslave's .protocol file. An example is the trash protocol.

So we need to enable the `create_dir` action only if the protocol is
actually able to create folders.

CCBUG: 332463
REVIEW: 129712
2017-01-02 14:54:38 +01:00
Anthony Fieroni c456c5d528 [DolphinSearchBox] Stop search timer on hide
REVIEW: 129705

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2017-01-01 21:47:10 +02:00
Martin T. H. Sandsmark 6af0dad2ee Fix updating of new item menu when changing tabs
Correctly set the active status of views when changing tabs.

Before: Right click in home folder, see create new enabled, open tab, go
to /usr, right click and see it is disabled, switch back to first tab
and right click, and it is still disabled.

After: It is enabled and disabled as appropriate when switching tab.

REVIEW: 129664
2016-12-28 13:49:37 +01:00
l10n daemon script ae935d36b1 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"
2016-12-20 12:38:21 +01:00
l10n daemon script d690b0719f GIT_SILENT made messages (after extraction) 2016-12-20 08:11:02 +01:00
Albert Astals Cid 586368dbfc GIT_SILENT Upgrade KDE Applications version to 16.12.0. 2016-12-06 20:52:03 +01:00
Jonathan Marten 16db90c793 Dolphin Part: Update the paste action at the end of the listing
Fixes a problem with the paste action not being enabled, only seen in
Konqueror.

BUG:369523
REVIEW:129448
2016-12-06 06:59:49 +00:00
Yuri Chornoivan 172d554059 Remove extra dot 2016-12-05 07:33:58 +02:00
Burkhard Lück 4d83ed9c77 single/double click setting is in mouse kcm, not in dolphin seetings in navigation page 2016-12-04 13:05:42 +01:00
Elvis Angelaccio abb7799f7e Fix viewpropertiestest when GlobalViewProps is true
The test was not saving its changes to the global settings, so it was
passing on the CI only because the default value of GlobalViewProps is
already false. If GlobalViewProps was set to true instead, testAutoSave()
would fail because save() was not called and GlobalViewProps was not
2016-12-03 18:04:24 +01:00
Spencer Brown 73a6bf4e10 Fix 5 clazy warnings
This bumps the minimum Qt version to 5.5 (because of Q_ENUM usage).

REVIEW: 129604
2016-12-03 15:58:39 +01:00
Albert Astals Cid 8b0f0a39c0 GIT_SILENT Upgrade KDE Applications version to 16.11.90. 2016-11-29 22:10:26 +01:00
R.J.V. Bertin b6e76f006d Add application icon for Mac and MS Windows.
Uses the Oxygen theme because it fits in better with prevailent icons
on those platforms.
2016-11-22 18:15:42 +01:00
R.J.V. Bertin ded92cc32a Use the current window icon in QIcon::fromTheme()
This prevents removing the application icon when icon lookup fails, on
Mac or MS Windows.
2016-11-22 17:55:34 +01:00
Don Nguyen 88805f7fad Call columnWidthChanged with actual previous width
REVIEW: 129334
2016-11-21 17:41:01 +01:00
Elvis Angelaccio 4322ef4114 Merge branch 'Applications/16.12'
* Applications/16.12:
  Fix slow scrolling in dock panels
2016-11-20 13:04:47 +01:00
Elvis Angelaccio 90beb4a5e3 Fix slow scrolling in dock panels
Commit f688bcd1f1 fixed slow scrolling with xf86-input-libinput on DolphinView.

However the commit also exposed a bug in the Dolphin scrolling
algorithm, which was previously hidden. This resulted in slow
scrolling in dock panels (Places and Folders), with both
xf86-input-evdev and xf86-input-libinput drivers, as well as libinput on
Wayland.

KItemListContainer::updateScrollOffsetScrollBar() relied on the view's
itemSize() method to compute the scrollbar's singleStep, but this QSize
was invalid for the dock panels' views.

We use a new itemSizeHint() method instead, which is always valid and
also adapts to the current icon size set in the view.

BUG: 365968
FIXED-IN: 16.12.0
REVIEW: 129409
2016-11-20 12:59:51 +01:00
Albert Astals Cid 341a09fafd GIT_SILENT Upgrade KDE Applications version to 17.03.70. 2016-11-16 00:14:47 +01:00
Albert Astals Cid 3187c511c4 GIT_SILENT Upgrade KDE Applications version to 16.11.80. 2016-11-15 23:45:08 +01:00
arnav dhamija fa9cc1333a This seems to work. Though it could be better 2016-11-03 09:35:15 +05:30
arnav dhamija e7f6a1010a Changed default arg for the setSplitViewEnabled 2016-11-02 21:49:11 +05:30
Kai Uwe Broulik bffb1c4d60 Merge branch 'Applications/16.08' 2016-10-28 13:42:28 +02:00
Kai Uwe Broulik 95e1505c9f [Places Item Edit Dialog] Fix accepting dialog with Return
By setting a parent for the QDialogButtonBox we let QDialog handle everything by itself.
Also, store the dialog button box as a member rather than just the OK button.

This removes the need to set the OK button as default manually (which didn't work anyway)
and fixes pressing Return while the input is focused erroneously opening the folder browser
rather than accepting the dialog.

REVIEW: 129213
2016-10-28 13:40:50 +02:00
Safa AlFulaij 57a19efe93 The tab navigation shortcut workaround for RTL layouts is not needed anymore, as Qt supports that by default.
Before this, pressing Ctrl+Tab makes the previous tab (in RTL layout) the
activated one, and vice versa.

REVIEW: 128853
2016-10-12 14:31:35 +03:00
l10n daemon script 8828e686e9 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"
2016-10-10 12:24:39 +00:00
l10n daemon script 82cfc125f4 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"
2016-10-10 09:41:54 +00:00
Albert Astals Cid aac88e2b0f GIT_SILENT Upgrade KDE Applications version to 16.08.2. 2016-10-07 00:56:28 +02:00
Elvis Angelaccio 0e5e43aa9d Hide message widgets only when reloading the view
Otherwise an error message might be hidden before it's even shown.

BUG: 357651
FIXED-IN: 16.08.2
REVIEW: 129061
2016-10-04 17:30:51 +02:00
David Faure 0309bb1818 Pass current dir explicitly to QUrl::fromUserInput
It works with QString() but that's a bug, I didn't expect it to
work with my fromUserInput code and wrote otherwise in its documentation...
2016-10-03 01:05:42 +02:00
David Faure f54174f9f6 Popupmenu: use KIO 5.27's new addPluginActionsTo method
REVIEW: 129085
2016-10-02 22:28:03 +02:00
David Faure 345e3e7a82 Follow changes in konqpopupmenu: no longer back/forward/up in part's contextmenu. 2016-09-28 16:44:22 +02:00