]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
6 years agoMerge branch 'Applications/19.04'
Nate Graham [Mon, 20 May 2019 13:15:05 +0000 (07:15 -0600)]
Merge branch 'Applications/19.04'

6 years agoElide tab titles left so key information at the end of the string doesn't get cut off
Nate Graham [Fri, 19 Apr 2019 16:24:52 +0000 (10:24 -0600)]
Elide tab titles left so key information at the end of the string doesn't get cut off

Summary:
Tab Titles currently elide right. Generally the more useful information is at the right
side of the string--even more so when full paths are being used.

BUG: 406569
FIXED-IN: 19.04.2

Test Plan:
- No change when tab titles don't get elided
- When tabs show the full path and titles are elided, they're now useful: {F6782447}
- When tabs don't show the full path and are elided, they're elided on the other side which seems maybe a tiny bit better, but at least no worse: {F6782448}

Reviewers: #dolphin, #vdg, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: ndavis, elvisangelaccio, kneckermcknacksack, filipf, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20689

6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 15 May 2019 05:56:38 +0000 (07:56 +0200)]
GIT_SILENT made messages (after extraction)

6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 15 May 2019 00:39:28 +0000 (02:39 +0200)]
GIT_SILENT made messages (after extraction)

6 years agoSummary: Fixes crash when hiding devices
David Hallas [Mon, 22 Apr 2019 17:40:16 +0000 (19:40 +0200)]
Summary: Fixes crash when hiding devices

Summary:
Fixes crash when hiding devices. The crash is caused by
KStandardItem::setDataValue which calls the
KStandardItemModel::onItemChanged function, and that function will
delete the KStandardItem if the data value being set is the hidden
attribute being set to true. To fix this KStandardItem now derives
QObject so that we can use deleteLater.

Test Plan:
Right click a device in the places panel and select hide
Right click the places panel and select show hidden
Right click the hidden device and select show
Right click the same device and select hide

BUG: 403064

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D21050

6 years agoAdd Bookmark Handling
David Hallas [Wed, 20 Mar 2019 19:29:20 +0000 (20:29 +0100)]
Add Bookmark Handling

Summary:
Add Bookmark Handling. Adds complete bookmark support as provided by
other KDE applications like Konsole and Konqueror. This allows you to
bookmark individual folders, create bookmark folders and open them.

Test Plan:
Go -> Bookmark -> Add Bookmark
Go -> Bookmark -> [Open the bookmark you selected]

FEATURE: 171366

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, elvisangelaccio, ngraham

Subscribers: ognarb, meven, loh.tar, cfeck, hein, kfm-devel

Tags: #dolphin

Maniphest Tasks: T5408

Differential Revision: https://phabricator.kde.org/D19926

6 years agoFix stale comment
Elvis Angelaccio [Sun, 12 May 2019 16:18:36 +0000 (18:18 +0200)]
Fix stale comment

GIT_SILENT

6 years agoFix indentation
Elvis Angelaccio [Sun, 12 May 2019 11:09:39 +0000 (13:09 +0200)]
Fix indentation

GIT_SILENT

6 years ago[Inline Rename] Move cursor to correct position on pressing Home and End
Chinmoy Ranjan Pradhan [Sun, 5 May 2019 13:00:19 +0000 (18:30 +0530)]
[Inline Rename] Move cursor to correct position on pressing Home and End

Summary:
When pressing home or end key on a wrapped file name the cursor should move to beginning or end of the whole file name
instead of the last line (which is the default behaviour of any textedit widget).

BUG: 363179

Reviewers: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D21031

6 years agoservices/test: Fix test
Alexander Potashev [Sat, 4 May 2019 04:00:30 +0000 (07:00 +0300)]
services/test: Fix test

Reviewers: #dolphin, elvisangelaccio, sitter

Reviewed By: sitter

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D21022

6 years agoGet rid of ugly static_cast usages in connect() calls
Elvis Angelaccio [Sun, 5 May 2019 15:20:44 +0000 (17:20 +0200)]
Get rid of ugly static_cast usages in connect() calls

6 years ago[PlacesItemModelTest] Rename variable
Elvis Angelaccio [Sun, 5 May 2019 15:05:46 +0000 (17:05 +0200)]
[PlacesItemModelTest] Rename variable

This variable is not the expected size of the groups list, but it's the
expected index of the 'Remote' group in the model.

6 years agoFix formatting in CMakeLists.txt
Alexander Potashev [Sat, 4 May 2019 03:59:30 +0000 (06:59 +0300)]
Fix formatting in CMakeLists.txt

Reviewers: elvisangelaccio

Reviewed By: elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D21021

6 years agoMerge branch 'Applications/19.04'
Elvis Angelaccio [Sun, 5 May 2019 15:02:59 +0000 (17:02 +0200)]
Merge branch 'Applications/19.04'

6 years ago[PlacesItemModelTest] Ignore user tag places
Elvis Angelaccio [Sun, 5 May 2019 14:52:16 +0000 (16:52 +0200)]
[PlacesItemModelTest] Ignore user tag places

Instead of listing the user tags (as tried in D21017), the test should not have
access to the user's baloo DB in the first place.

To do so, we use a QTemporaryDir as $HOME for the test process and for
its ioslave children (by setting KDE_FORK_SLAVES=yes).

While at it, drop the no-op removeTestUserData() function.

6 years agoMerge branch 'Applications/19.04'
Elvis Angelaccio [Sun, 5 May 2019 14:02:46 +0000 (16:02 +0200)]
Merge branch 'Applications/19.04'

6 years agoTry again to fix PlacesItemModelTest::testDefaultViewProperties()
Elvis Angelaccio [Sun, 5 May 2019 13:54:12 +0000 (15:54 +0200)]
Try again to fix PlacesItemModelTest::testDefaultViewProperties()

Commit bff373d598c031cb1 was not enough because the model takes into
account the global view properties setting (in PlacesItemModel::initializeDefaultViewProperties()).

This means we need to disable the setting before init() runs.

6 years agoFix create_symlink path to DESTDIR instead of root file system
Arfrever Frehtes Taifersar Arahesis [Sat, 4 May 2019 11:26:00 +0000 (13:26 +0200)]
Fix create_symlink path to DESTDIR instead of root file system

Test Plan: Builds fine again in a sandbox, with the symlink properly installed.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: davidedmundson, elvisangelaccio, kfm-devel, ngraham

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D21011

6 years agoFix wrong apidox
Elvis Angelaccio [Sat, 4 May 2019 11:24:16 +0000 (13:24 +0200)]
Fix wrong apidox

There is no KStandardItemView class in dolphin. This apidox has been
wrong since the beginning (see commit ae4d11d918938fd9087f2035dac).

GIT_SILENT

6 years agoMerge branch 'Applications/19.04'
Elvis Angelaccio [Sat, 4 May 2019 09:59:56 +0000 (11:59 +0200)]
Merge branch 'Applications/19.04'

6 years agoFix dolphin cannot be added as favourite in GNOME
Elvis Angelaccio [Sat, 4 May 2019 09:49:15 +0000 (11:49 +0200)]
Fix dolphin cannot be added as favourite in GNOME

The StartupWMClass entry is needed because gnome-shell gets confused by
the mismatch between the desktop file basename ('org.kde.dolphin') and
the WM_CLASS window property ('dolphin').

BUG: 407198
FIXED-IN: 19.04.1

6 years agoGIT_SILENT Upgrade KDE Applications version to 19.04.1.
Christoph Feck [Thu, 2 May 2019 10:45:07 +0000 (12:45 +0200)]
GIT_SILENT Upgrade KDE Applications version to 19.04.1.

6 years ago[InformationPanel] Use the new inline configuration mode
Stefan Brüns [Sun, 14 Apr 2019 00:44:01 +0000 (02:44 +0200)]
[InformationPanel] Use the new inline configuration mode

Summary:
The current external configuration dialog has some issues:

- its layout is suboptimal, as its initial size is typically to small
- it is quite disassociated with the actual widget it configures, properties
  have a different order, and the property names can be quite abstract
  without the corresponding value.

Doing the visibility selection inline typically avoids the sizing problem,
as the containing application (dolphin) is often vertically maximized.
The selection becomes more obvious, as the item order is kept,
and the values are shown.

Depends on D20524

CCBUG: 389571

Reviewers: #dolphin, #baloo, #frameworks, ngraham, astippich, #vdg, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, meven, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20525

6 years agoUse placeholder for search action
Carl Schwan [Thu, 14 Mar 2019 19:53:49 +0000 (20:53 +0100)]
Use placeholder for search action

Summary:
See https://hig.kde.org/style/writing/placeholder.html

Screenshot:

Old: {F6691712}
New: {F6698685}

Test Plan: Compile and run

Reviewers: #dolphin, #vdg, ngraham, elvisangelaccio

Reviewed By: #dolphin, #vdg, ngraham

Subscribers: GB_2, kde-doc-english, elvisangelaccio, ngraham, yurchor, kfm-devel

Tags: #dolphin, #documentation

Maniphest Tasks: T10258

Differential Revision: https://phabricator.kde.org/D19770

6 years ago[InformationPanel] Remove obsolete intermediate wrapper widget/layout
Stefan Brüns [Mon, 22 Apr 2019 11:42:34 +0000 (13:42 +0200)]
[InformationPanel] Remove obsolete intermediate wrapper widget/layout

The Baloo::MetaDataWidget is now able to stretch in a meaningful way
by itself, remove the wrapper.

Summary: Depends on D20667

Reviewers: #dolphin, #baloo, #frameworks, ngraham, astippich, elvisangelaccio

Reviewed By: #dolphin, #baloo, ngraham, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20668

6 years agoMore coding style fixes
Elvis Angelaccio [Sat, 20 Apr 2019 14:28:38 +0000 (16:28 +0200)]
More coding style fixes

GIT_SILENT

6 years agoMerge branch 'Applications/19.04'
Elvis Angelaccio [Sat, 20 Apr 2019 14:26:55 +0000 (16:26 +0200)]
Merge branch 'Applications/19.04'

6 years agoFix missing update of file name label in information panel without preview
Stefan Brüns [Thu, 18 Apr 2019 12:37:09 +0000 (14:37 +0200)]
Fix missing update of file name label in information panel without preview

Summary:
The file name label was only updated when the preview was shown, after
the function was moved into a conditional section. This is a regression
caused by commit 405aa4878f75 ("[InformationPanel] Hide the video when the
preview is disabled, avoid computing the preview when it is disabled").

Test Plan:
Hide the preview in dolphin's information panel
Hover different files, the name label reflects the hovered file again

Reviewers: #dolphin, elvisangelaccio, meven, ngraham

Reviewed By: meven

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20660

6 years ago[InformationPanelContent] Fix coding style
Elvis Angelaccio [Sun, 14 Apr 2019 20:47:47 +0000 (22:47 +0200)]
[InformationPanelContent] Fix coding style

GIT_SILENT

6 years agoMerge branch 'Applications/19.04'
Nate Graham [Thu, 18 Apr 2019 19:17:13 +0000 (13:17 -0600)]
Merge branch 'Applications/19.04'

6 years agoFix adding "Create New..." menu to toolbar
Nate Graham [Thu, 18 Apr 2019 13:43:09 +0000 (07:43 -0600)]
Fix adding "Create New..." menu to toolbar

Summary:
Access the object by its existing name rather than renaming it.

BUG: 405780
FIXED-IN: 19.04.1

Test Plan:
- Add {nav Create New} item to toolbar; it now works
- Verify that {nav Create New} menu and toolbar items are disabled when in the trash
- All tests still pass

Reviewers: elvisangelaccio, broulik, #dolphin, cfeck

Reviewed By: cfeck

Subscribers: cfeck, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20664

6 years agoFix missing update of file name label in information panel without preview
Stefan Brüns [Thu, 18 Apr 2019 12:37:09 +0000 (14:37 +0200)]
Fix missing update of file name label in information panel without preview

Summary:
The file name label was only updated when the preview was shown, after
the function was moved into a conditional section. This is a regression
caused by commit 405aa4878f75 ("[InformationPanel] Hide the video when the
preview is disabled, avoid computing the preview when it is disabled").

Test Plan:
Hide the preview in dolphin's information panel
Hover different files, the name label reflects the hovered file again

Reviewers: #dolphin, elvisangelaccio, meven, ngraham

Reviewed By: meven

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20660

6 years agoRemove last traces of KFileMetaDataWidget from information panel
Stefan Brüns [Sun, 14 Apr 2019 12:46:51 +0000 (14:46 +0200)]
Remove last traces of KFileMetaDataWidget from information panel

Summary:
The whole information panel is not included when Baloo is not found,
so there is no need for the HAVE_BALOO guards.
KFileMetaDataWidget and KFileMetaDataConfigurationWidget were never part
of KF5, see https://git.reviewboard.kde.org/r/113153/

Test Plan: ctest

Reviewers: #frameworks, apol, ngraham, #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20513

6 years ago[Information Panel] Remove nullptr checks for MetaDataWidget member
Stefan Brüns [Sun, 14 Apr 2019 12:44:02 +0000 (14:44 +0200)]
[Information Panel] Remove nullptr checks for MetaDataWidget member

Summary:
The widget has the same livetime as the containing widget, no need to
do any extra checks.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20514

6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 12 Apr 2019 05:49:57 +0000 (07:49 +0200)]
GIT_SILENT made messages (after extraction)

6 years agoScroll to item if it's not visible on keyPress
Tranter Madi [Mon, 1 Apr 2019 03:59:04 +0000 (10:59 +0700)]
Scroll to item if it's not visible on keyPress

Summary: Always scroll to item if it's not visible on keyPress, even if it's the current index.

Test Plan: Select the last item, scroll up to make it not visible > press the `End` key > Dolphin now scrolls to that item.

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20152

6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 12 Apr 2019 00:51:38 +0000 (02:51 +0200)]
GIT_SILENT made messages (after extraction)

6 years agoMerge branch 'Applications/19.04'
Nate Graham [Wed, 10 Apr 2019 02:22:23 +0000 (20:22 -0600)]
Merge branch 'Applications/19.04'

6 years agoDon't show "Open With" menu items for empty directories
Nate Graham [Mon, 8 Apr 2019 22:03:48 +0000 (16:03 -0600)]
Don't show "Open With" menu items for empty directories

Summary:
Any app that registers itself as able to open directories generally can't do anything
useful with an empty directory. So, don't show the {nav Open With} menu items for them.

Test Plan:
Before: {F6759793}

After: {F6759794}

The {nav Open With} items still appear for non-empty directories.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: trmdi, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20396

6 years agoMake buttons in seach bar nicer (icon, tooltip, autoselect)
Stefan Brüns [Sun, 7 Apr 2019 15:21:17 +0000 (17:21 +0200)]
Make buttons in seach bar nicer (icon, tooltip, autoselect)

Summary:
The "Everywhere" button actually selects the home directory, so use
an appropriate label ("Your files") and add a "user-home" icon.

Pre-select the right button when entering search, depending on the
location where the "Find ..." action was triggered.

Add tooltips for both buttons, stating where to look for files. Most
importantly, this includes the full path for "From here".

Canonicalize the path correctly (always strip trailing slash), otherwise
QUrl::fileName() will be an empty string, resulting in "From Here (/)"

Do not hide the buttons in case the url is non-local, as it is confusing:
1. The state depends on the previous search. When the user hits "Find"
    when browsing e.g an SMB share, the search was probably in the home dir.
2. The current search location was hidden
3. The user may want to do a local search, give the option to do so.

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: loh.tar, meven, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20357

6 years agoGIT_SILENT Upgrade KDE Applications version to 19.04.0.
Christoph Feck [Mon, 8 Apr 2019 11:59:05 +0000 (13:59 +0200)]
GIT_SILENT Upgrade KDE Applications version to 19.04.0.

6 years agoMerge branch 'Applications/19.04'
Elvis Angelaccio [Sun, 7 Apr 2019 20:51:05 +0000 (22:51 +0200)]
Merge branch 'Applications/19.04'

6 years ago[DolphinMainWindowTest] Fix testNewFileMenuEnabled
Elvis Angelaccio [Sun, 7 Apr 2019 20:18:14 +0000 (22:18 +0200)]
[DolphinMainWindowTest] Fix testNewFileMenuEnabled

The newFileMenu enabled status is updated whenever the KDirLister emits
the `completed` signal: use QTRY_COMPARE so that we can wait for it.

6 years agoAdd HACKING file with 'Philosophy' paragraph from the Userbase page
Elvis Angelaccio [Sun, 7 Apr 2019 15:29:51 +0000 (17:29 +0200)]
Add HACKING file with 'Philosophy' paragraph from the Userbase page

https://userbase.kde.org/Dolphin has a 'Philosophy' paragraph (which
used to be a page on dolphin.kde.org) explaining when a new feature
should be added to dolphin. Userbase is a wiki aimed to actual user of
our applications, while this information is aimed to dolphin developers
who want to add a new feature to dolphin. Thus it is more appropriate to
have this paragraph in the git repo.

6 years ago[KFileItemModelTest] Port to fastInsert()
Elvis Angelaccio [Sun, 7 Apr 2019 15:16:01 +0000 (17:16 +0200)]
[KFileItemModelTest] Port to fastInsert()

We already depend on KF5 > 5.47, so we are ready to switch to the
non-deprecated fastInsert() method.

6 years agoRe-implement Meta-E global launch shortcut using KGlobalAccel
Nate Graham [Wed, 3 Apr 2019 14:56:08 +0000 (08:56 -0600)]
Re-implement Meta-E global launch shortcut using KGlobalAccel

Summary:
FEATURE: 405302
FIXED-IN: 19.08.0

Test Plan:
1. Apply patch
2. Reboot (didn't work until I rebooted or logged out and back in again)
3. Hit {key Meta E}
4. Dolphin Launches

Reviewers: #dolphin, elvisangelaccio, davidedmundson

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20229

6 years agoGIT_SILENT Upgrade KDE Applications version to 19.03.90.
Christoph Feck [Sun, 31 Mar 2019 12:00:39 +0000 (14:00 +0200)]
GIT_SILENT Upgrade KDE Applications version to 19.03.90.

6 years ago[KFileItemModel] Fix alignment of rolesInfoMap
Elvis Angelaccio [Sat, 30 Mar 2019 17:39:28 +0000 (18:39 +0100)]
[KFileItemModel] Fix alignment of rolesInfoMap

GIT_SILENT

6 years agoAdd "Aspect Ratio" and "Frame Rate" to additional video information columns
Kochih Wu [Wed, 27 Mar 2019 18:30:44 +0000 (12:30 -0600)]
Add "Aspect Ratio" and "Frame Rate" to additional video information columns

Summary:
Add options to show aspect ratio and frame rate.

BUG: 366524
FIXED-IN: 19.08.0

Test Plan: Under Control -> Additional Info -> Video, there should be options for aspect ratio and frame rate.

Reviewers: #dolphin, #kde_applications, ngraham

Reviewed By: #dolphin, #kde_applications, ngraham

Subscribers: astippich, ngraham, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20074

6 years agoFix typo in dolphinsettingsdialog.cpp
Yi-Jyun Pan [Wed, 27 Mar 2019 15:59:43 +0000 (09:59 -0600)]
Fix typo in dolphinsettingsdialog.cpp

Summary: Just remove the useless "have".

Reviewers: #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20080

6 years agoPrompt user to save/discard changes upon closing config dialog
Amish Naidu [Mon, 25 Mar 2019 10:11:40 +0000 (15:41 +0530)]
Prompt user to save/discard changes upon closing config dialog

Summary:
When the configuration dialog is closed with unsaved changes,
a message box is prompted to save/discard them or cancel the event.

BUG: 391206

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: ngraham, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19904

6 years agoMerge branch 'Applications/19.04'
Nate Graham [Sun, 24 Mar 2019 17:31:44 +0000 (11:31 -0600)]
Merge branch 'Applications/19.04'

6 years ago[InformationPanel] Hide the video when the preview is disabled, avoid computing the...
Méven Car [Sun, 24 Mar 2019 17:32:25 +0000 (18:32 +0100)]
[InformationPanel] Hide the video when the preview is disabled, avoid computing the preview when it is disabled

Summary:
Bug symptom : {F6698879}

Fix the bugs and allow to avoid launching a PreviewJob with all files even when the preview is disabled.

Test Plan:
 # In dolphin with an information panel with preview on
 # launch the video preview
 # Disable the preview

  ->bug 1: the video player control is still visible (this bug fix this)

 # re-enable preview

 -> bug 2: the video stays visible and the preview is displayed above (this bug fix this)

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, elvisangelaccio, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19844

6 years agoMove Safely Remove down in places context menu
Tigran Gabrielyan [Sun, 24 Mar 2019 17:30:27 +0000 (11:30 -0600)]
Move Safely Remove down in places context menu

Summary: BUG: 405620

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: elvisangelaccio, ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19950

6 years agoWhen hovering over a file on the not-focus view panel, the information panel gets...
Méven Car [Sun, 24 Mar 2019 17:37:10 +0000 (18:37 +0100)]
When hovering over a file on the not-focus view panel, the information panel gets updated

Test Plan:
 - In Dolphin with two views (split view) and with the information panels
 - Hover over a file on the not selected view
 - > the information panel show information about this file

No other changes in behavior

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19936

6 years ago[InformationPanel] Hide the video when the preview is disabled, avoid computing the...
Méven Car [Sun, 24 Mar 2019 17:32:25 +0000 (18:32 +0100)]
[InformationPanel] Hide the video when the preview is disabled, avoid computing the preview when it is disabled

Summary:
Bug symptom : {F6698879}

Fix the bugs and allow to avoid launching a PreviewJob with all files even when the preview is disabled.

Test Plan:
 # In dolphin with an information panel with preview on
 # launch the video preview
 # Disable the preview

  ->bug 1: the video player control is still visible (this bug fix this)

 # re-enable preview

 -> bug 2: the video stays visible and the preview is displayed above (this bug fix this)

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, elvisangelaccio, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19844

6 years agoRevert "Create a global launch shortcut (Meta+E)"
Elvis Angelaccio [Sun, 24 Mar 2019 11:07:24 +0000 (12:07 +0100)]
Revert "Create a global launch shortcut (Meta+E)"

This reverts commit 58084cf7da362d77919483cbb9a7a23333ce86c5.

Plasma considers khotkeys deprecated, so we shouldn't add new users
making the migration even harder.
Dolphin should use the `X-KDE-Shortcuts` desktop entry instead.

More details in David's comment: https://phabricator.kde.org/D19831#437096

6 years ago[PhononWidget] Fix layout warning
Elvis Angelaccio [Sun, 24 Mar 2019 10:55:12 +0000 (11:55 +0100)]
[PhononWidget] Fix layout warning

`controlsLayout` should not be a direct child of the widget, since it
already has `m_topLayout` as layout.

This fixes the following warning:

    QLayout: Attempting to add QLayout "" to PhononWidget "", which already has a layout

6 years agoMerge branch 'Applications/19.04'
Elvis Angelaccio [Sat, 23 Mar 2019 09:51:17 +0000 (10:51 +0100)]
Merge branch 'Applications/19.04'

6 years agoConvert foreach to for loops
Méven Car [Fri, 22 Mar 2019 09:36:29 +0000 (10:36 +0100)]
Convert foreach to for loops

Test Plan: Compile

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, elvisangelaccio, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19911

6 years agofind ruby gems & make coverage conditional on BUILD_COVERAGE
Harald Sitter [Mon, 18 Mar 2019 14:37:52 +0000 (15:37 +0100)]
find ruby gems & make coverage conditional on BUILD_COVERAGE

Summary:
new finding tech:
- find_gem function configures gem-specific FindFoo files and wraps around
  find_package
- FindFoo files look for ruby and then attempt to require the gem name
  i.e. it checks if the gem can be successfully loaded by the interpreter
- since this is based on find_package it may be influenced in all the
  regular ways (e.g. forced found or disabled from finding altogether
  via CMAKE_DISABLE_FIND_PACKAGE_$PKGNAME)

various notes for the future:
- technically this isn't 100% correct because the require name of a gem and
  the gem name may not be the same. e.g. the gem `docker-api` has the
  require name `docker`. for all currently used gems the names are however
  the same and so simply requiring the gem name is expected to work
- the implementation doesn't care about versions, again because we don't
  need it to
- test-unit is a bundled gem, some distributions (e.g. Arch) do split it
  out without making suitable dependency arrangements on a package level
  though

the tech is heavily inspired by Aleix Pol's tech for finding QML modules
as seen in extra-cmake-modules

Test Plan:
- ruby not found: none of the modules found
- test-unit not present: error
- simplecov not prseent: never errors
- having a module installed or not is reported in the cmake output

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19856

6 years agoFix PlacesItemModelTest::testDefaultViewProperties()
Elvis Angelaccio [Wed, 20 Mar 2019 20:34:37 +0000 (21:34 +0100)]
Fix PlacesItemModelTest::testDefaultViewProperties()

The test was assuming that global view properties are off by default,
which is no longer true after d6c086ad04.

6 years agoMerge branch 'Applications/19.04'
Nate Graham [Wed, 20 Mar 2019 16:48:26 +0000 (17:48 +0100)]
Merge branch 'Applications/19.04'

6 years agoFix rearranging items in places panel with hidden items
Tigran Gabrielyan [Wed, 20 Mar 2019 09:21:21 +0000 (10:21 +0100)]
Fix rearranging items in places panel with hidden items

Summary:
`m_sourceModel->movePlace` is called using index from the view model.
This becomes an issue when there are hidden places items.

This change calls `m_sourceModel->movePlace` using the corresponding mapped source index.

BUG: 399430
FIXED-IN: 19.04.0

Test Plan:
  # Create at least 4 Places items
  # Hide first item
  # Drag the now first visible item between second and third item

Actual: The item does not move
Expected: The first visible item should now be second visible item in the list

Reviewers: #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19901

6 years agoMerge remote-tracking branch 'origin/Applications/19.04'
Christoph Feck [Mon, 18 Mar 2019 22:00:25 +0000 (23:00 +0100)]
Merge remote-tracking branch 'origin/Applications/19.04'

6 years agoBring back KActivities support
Elvis Angelaccio [Tue, 15 Jan 2019 17:47:27 +0000 (18:47 +0100)]
Bring back KActivities support

Summary: This code has been unused since the KF5 port.

Reviewers: #dolphin, #plasma

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18273

6 years agofix coverage generation when run through ctest
Harald Sitter [Mon, 18 Mar 2019 14:23:20 +0000 (15:23 +0100)]
fix coverage generation when run through ctest

path construction is a bit disappointing and doesn't actually work all that
well for out-of-tree PWDs. in lieu of an upstream fix let's try our best
to get the correct coverage directory set. without this hack no results
get recorded unfortunately.

6 years agoredo service menu ruby helpers from ground up more or less
Harald Sitter [Tue, 26 Feb 2019 12:48:08 +0000 (13:48 +0100)]
redo service menu ruby helpers from ground up more or less

Summary:
- apply ruby community style guidelines
- full rewrite fixing, among other things:
  - inefficient/unreadable String#end_with reimplementation
  - inefficient use of Kernel.system (forked shell to fork a shell)
  - inefficient/unreadable Dir.glob reimplementation
  - inefficient File initialization for single chmod
  - invocation conditions are now actually readable
  - invocation conditions now also force +x on argless scripts, not just
    scripts that need arguments
  - repetitive conditions are now expressed as loops on argument arrays
  - mime detection now uses xdg-mime instead of file (xdg-mime internally
    may fall back to mime but will prefer higher level tools such as
    kmimetypefinder5; giving better results overall)
  - return values of "backtick forks" are now checked and will produce
    suitable errors on stderr
  - fail now takes a log_msg argument which is printed to stderr. this
    is in addition to the error raised as notification for the user, as
    that is unfortunately not so useful for diagnostics
  - overall error handling and logging of problem causes is much improved
- add license headers. the original code was actually fairly exhaustive, so
  this really should have had a header to begin with. the code was
  originally introduced in svn r1045663 on Nov 6 14:56:35 2009 UTC
- add blackbox tests. in the interest of keeping the scripts actually
  simple scripts (as opposed to a bunch of classes used by even simpler
  scirpts) they are now also covered by test rigging which runs them as
  scripts (again, as opposed to individual unit testing of distinct units)
  - the tests optionally can use simplecov to gather coverage metrics
  - also wired up to ctest so it actually gets run

structurally there is actually a fair amount of overlap between the two
scripts, but again, in the interest of keeping things simple I think it's
better to live with that instead of refactoring a shared library out of
it and then use heavy-duty meta-programming

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19334

6 years agoMerge branch 'Applications/19.04'
Nate Graham [Sun, 17 Mar 2019 22:12:38 +0000 (16:12 -0600)]
Merge branch 'Applications/19.04'

6 years agoCreate a global launch shortcut (Meta+E)
Nate Graham [Sun, 17 Mar 2019 16:05:46 +0000 (10:05 -0600)]
Create a global launch shortcut (Meta+E)

Summary:
This patch adds a global shortcut ({key Meta E}) to launch Dolphin, just like Konsole has.

FEATURE: 405302
FIXED-IN: 19.04.0

Test Plan:
1. Apply patch and reboot, or create and log into a new user
2. Hit {key Meta E}
3. Dolphin opens!

Reviewers: #dolphin, #vdg, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: hallas, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19831

6 years agoMerge remote-tracking branch 'origin/Applications/19.04'
Méven Car [Sun, 17 Mar 2019 20:25:24 +0000 (21:25 +0100)]
Merge remote-tracking branch 'origin/Applications/19.04'

6 years agoWhen the previewed video stops playing (because of the user or because the media...
Méven Car [Sun, 17 Mar 2019 20:21:33 +0000 (21:21 +0100)]
When the previewed video stops playing (because of the user or because the media playback has ended), show the regular preview only if the preview setting is on.

Summary:
Bug result after test plan :

{F6698812}

Test Plan:
In dolphin with the information panel
Select a video
Play the video
Disable the preview through the context menu (the video stays playing and visible and this will get fixed in a subsequent review)
Stop the video -> the video preview reappears when it should not

Reviewers: elvisangelaccio

Reviewed By: elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19843

6 years agoMerge remote-tracking branch 'origin/Applications/19.04'
Méven Car [Sun, 17 Mar 2019 18:38:31 +0000 (19:38 +0100)]
Merge remote-tracking branch 'origin/Applications/19.04'

6 years agoFix a todo: InformationPanelContent::configureSettings code is moved to InformationPa...
Méven Car [Sun, 17 Mar 2019 16:24:30 +0000 (17:24 +0100)]
Fix a todo: InformationPanelContent::configureSettings code is moved to InformationPanel::contextMenuEvent

Summary:
Fix a TODO : InformationPanelContent::configureSettings code is moved to InformationPanel::contextMenuEvent
Adding necessary accessors and changing visibility of one slot.

Test Plan:
1 compile
2 in dolphin right on the information panel
3 toggle preview
4 from the same context menu, click configure, metadadata settings appears
5 toggle "condensed date" if available

Reviewers: elvisangelaccio, #dolphin

Reviewed By: elvisangelaccio, #dolphin

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19832

6 years agoMerge remote-tracking branch 'origin/Applications/19.04'
David Hallas [Sun, 17 Mar 2019 18:13:05 +0000 (19:13 +0100)]
Merge remote-tracking branch 'origin/Applications/19.04'

6 years agoFix "Add Network Folder" tooltip icon does not show on Breeze, shows correctly on...
David Hallas [Wed, 13 Mar 2019 20:10:11 +0000 (21:10 +0100)]
Fix "Add Network Folder" tooltip icon does not show on Breeze, shows correctly on Breeze Dark

Summary:
Fix "Add Network Folder" tooltip icon does not show on Breeze, shows correctly
on Breeze Dark. The fix is taken from D19596.

Test Plan:
Open Dolphin with the Breeze theme
Hover the mouse over the "Add Network Folder"
The icon is black on black

BUG: 404858

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, elvisangelaccio, ngraham

Subscribers: broulik, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19738

6 years agoFix crash at shutdown after showing a tooltip
David Hallas [Wed, 13 Mar 2019 19:27:40 +0000 (20:27 +0100)]
Fix crash at shutdown after showing a tooltip

Summary:
Fix crash at shutdown after showing a tooltip. The commit
94d7e1471e0a81b72285795ad91c4f6196157ae4 introduced a crash that occurs
when closing Dolphin after Dolphin has showed a tooltip. This happens
because the ToolTipManager::showToolTip function calls the
KToopTipWidget::showBelow function passing in the pointer to the
DolphinFileMetaDataWidget. But this also passes the ownership of the
pointer to the KToopTipWidget as long as a new tooltip is not shown. The
problem is that at shutdown, the KToopTipWidget instance will be
destoyed first and therefore also destroy the DolphinFileMetaDataWidget
instance (which the ToolTipManager still owns through the
QScopedPointer) causing it to be deleted twice. The fix for this is
simply to swap the order of these two members so that the
DolphinFileMetaDataWidget is destroyed first by the QScopedPointer
thereby removing it from the KToopTipWidget if it has been set as it's
parent.

Test Plan:
Open Dolphin
Show a Tool Tip
Close Dolphin

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19737

6 years agoFix crash at shutdown after showing a tooltip
David Hallas [Wed, 13 Mar 2019 19:27:40 +0000 (20:27 +0100)]
Fix crash at shutdown after showing a tooltip

Summary:
Fix crash at shutdown after showing a tooltip. The commit
94d7e1471e0a81b72285795ad91c4f6196157ae4 introduced a crash that occurs
when closing Dolphin after Dolphin has showed a tooltip. This happens
because the ToolTipManager::showToolTip function calls the
KToopTipWidget::showBelow function passing in the pointer to the
DolphinFileMetaDataWidget. But this also passes the ownership of the
pointer to the KToopTipWidget as long as a new tooltip is not shown. The
problem is that at shutdown, the KToopTipWidget instance will be
destoyed first and therefore also destroy the DolphinFileMetaDataWidget
instance (which the ToolTipManager still owns through the
QScopedPointer) causing it to be deleted twice. The fix for this is
simply to swap the order of these two members so that the
DolphinFileMetaDataWidget is destroyed first by the QScopedPointer
thereby removing it from the KToopTipWidget if it has been set as it's
parent.

Test Plan:
Open Dolphin
Show a Tool Tip
Close Dolphin

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19737

6 years agoMake global view properties the default setting
Elvis Angelaccio [Sun, 17 Mar 2019 15:43:20 +0000 (16:43 +0100)]
Make global view properties the default setting

Summary:
Automatic creation of .directory files is one of the most
complained about things in dolphin.

These days applications are supposed to store application-specific data
within $XDG_DATA_HOME. Long-term that's the proper solution for this
issue, but for now we can at least flip the default so that we no longer
create .directory files out of the box.

A tooltip is also added as a kind of warning for the users who want to
change the setting. Ideally a proper warning should be shown using a
KMessageWidget or KMessageBox, but neither play too well with the
setting dialog workflow used by dolphin.

CCBUG: 322922

Reviewers: #dolphin, #vdg, ngraham

Reviewed By: #dolphin, #vdg, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19661

6 years agoGIT_SILENT Upgrade KDE Applications version to 19.07.70.
Albert Astals Cid [Sat, 16 Mar 2019 21:11:47 +0000 (22:11 +0100)]
GIT_SILENT Upgrade KDE Applications version to 19.07.70.

6 years agoGIT_SILENT Upgrade KDE Applications version to 19.03.80.
Albert Astals Cid [Sat, 16 Mar 2019 20:54:08 +0000 (21:54 +0100)]
GIT_SILENT Upgrade KDE Applications version to 19.03.80.

6 years agoUpdate screenshot
Yuri Chornoivan [Wed, 13 Mar 2019 10:53:12 +0000 (12:53 +0200)]
Update screenshot

6 years agoCorrectly position context menu of the information panel under wayland with a seconda...
Méven Car [Tue, 12 Mar 2019 14:54:46 +0000 (08:54 -0600)]
Correctly position context menu of the information panel under wayland with a secondary screen

Summary:
According to my testing this bug occurs because Qcursor::pos() does not work as expected under wayland on a secondary screen, then it returns inaccurate data.
This could hide bugs elsewhere.

BUG: 404799
FIXED-IN: 19.04.0

Test Plan:
Under Wayland test the context menu on both screens.
Do the same under Xorg.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, ngraham, nicolasfella, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19535

6 years agoFixes leak of DolphinFileMetaDataWidget in ToolTipManager
David Hallas [Sun, 3 Mar 2019 06:37:52 +0000 (07:37 +0100)]
Fixes leak of DolphinFileMetaDataWidget in ToolTipManager

Summary:
Fixes leak of DolphinFileMetaDataWidget in ToolTipManager. The
destructor of ToolTipManager failed to delete the m_fileMetaDataWidget
member. This is seen at shutdown but also when you close a tab that has
displayed a tooltip.

Test Plan:
Compile Dolphin with address sanitizer
Open Dolphin
Show a tooltip
Close Dolphin

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19485

6 years ago[FoldersPanel] Stop ignoring positions from the controller
Elvis Angelaccio [Sun, 10 Mar 2019 11:45:43 +0000 (12:45 +0100)]
[FoldersPanel] Stop ignoring positions from the controller

This fixes the position of Folder panel's context menus on multi-screens
on Wayland, because `QCursor::pos()` is not reliable on those setups.

6 years ago[FoldersPanel] Don't show 'Limit to Home Directory' in the view context menu
Elvis Angelaccio [Sun, 10 Mar 2019 11:37:25 +0000 (12:37 +0100)]
[FoldersPanel] Don't show 'Limit to Home Directory' in the view context menu

The `viewContextMenuRequested` signal is emitted without a valid
KFileItem, so `m_fileItem` will always be null in `TreeViewContextMenu::open()`.

6 years agoFix clazy-fully-qualified-moc-types warning
Elvis Angelaccio [Sun, 10 Mar 2019 10:34:40 +0000 (11:34 +0100)]
Fix clazy-fully-qualified-moc-types warning

Slot arguments should be fully-qualified.

6 years agoport to std::stable_sort
Laurent Montel [Sun, 10 Mar 2019 09:51:24 +0000 (10:51 +0100)]
port to std::stable_sort

6 years agoFix context for QDateTime::toString() translations
Elvis Angelaccio [Sun, 17 Feb 2019 11:26:52 +0000 (12:26 +0100)]
Fix context for QDateTime::toString() translations

Summary:
The documentation of QDateTime::toString() says that:

    Any sequence of characters that are enclosed in single
    quotes will be treated as text and not be used as an expression.

This means that translators cannot replace single quotes with other
characters such as «...». This is now described in the context of the
affected strings.

We also check that the translated string contains exactly 2 single
quotes, and we use the untraslated string otherwise.

BUG: 401382

Reviewers: lueck, aacid, cfeck

Subscribers: ltoscano, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18769

6 years agoNew tab placed after current tab when middle-clicking
David Hallas [Thu, 21 Feb 2019 14:45:27 +0000 (15:45 +0100)]
New tab placed after current tab when middle-clicking

Summary:
New tabs should be placed after the currently active tab when using
middle click.

Test Plan:
Open new tab from the places panel using middle click, verify that the
Open new tab from the folders panel using middle click, verify that the
tab is opened after the current tab
Open new tab by middle clicking on the Back button, verify that the tab
is opened after the current tab
Open new tab by middle clicking on the Forward button, verify that the tab
is opened after the current tab

FEATURE: 403690

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19201

6 years agoSync docs with code (screenshot of Behavior page is still unsynced)
Yuri Chornoivan [Sat, 9 Mar 2019 06:56:46 +0000 (08:56 +0200)]
Sync docs with code (screenshot of Behavior page is still unsynced)

6 years agoImprove wording of split view/pane settings
Simon Depiets [Wed, 6 Mar 2019 00:15:43 +0000 (08:15 +0800)]
Improve wording of split view/pane settings

Summary:
I found these strings very hard to understand then translate without looking into the code because the use of "view" refers to both "the split view" and "the left pane and the right pane of the split view".

This patch attempts to explicitly mention panes when needed.

Reviewers: #dolphin, angeloevertonjr, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19579

6 years agoUse new display string function from KFileMetaData
Alexander Stippich [Fri, 1 Mar 2019 11:01:58 +0000 (12:01 +0100)]
Use new display string function from KFileMetaData

Summary:
Delete all the custom formatting functions
and use the ones provided from KFileMetaData.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: bcooksley, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19105

6 years agoremove deprecated methods
Laurent Montel [Wed, 27 Feb 2019 07:59:18 +0000 (08:59 +0100)]
remove deprecated methods

6 years agoGive the "Sort by" menu an appropriate icon
Nate Graham [Sun, 24 Feb 2019 21:09:53 +0000 (14:09 -0700)]
Give the "Sort by" menu an appropriate icon

6 years agoFixes memory leak of KItemListHeader
David Hallas [Sun, 29 Jul 2018 10:10:16 +0000 (12:10 +0200)]
Fixes memory leak of KItemListHeader

Summary:
Fixes memory leak of KItemListHeader
The KItemListHeader passed the listView parent object to the QObject
base class, but that pointer seems to always be nullptr causing the
KItemListHeader to not be memory managed by anything. Instead simple
use the listView as parent pointer.

Test Plan: This leak was found using Address Sanitizer

Reviewers: elvisangelaccio

Reviewed By: elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D14453

6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 24 Feb 2019 01:53:48 +0000 (02:53 +0100)]
GIT_SILENT made messages (after extraction)

6 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Fri, 22 Feb 2019 04:30:16 +0000 (05:30 +0100)]
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"

6 years agoUpdate screenshots and some minor bits in docs
Yuri Chornoivan [Mon, 18 Feb 2019 15:36:07 +0000 (17:36 +0200)]
Update screenshots and some minor bits in docs

6 years agoFix crash during shutdown
David Hallas [Sat, 16 Feb 2019 15:50:42 +0000 (16:50 +0100)]
Fix crash during shutdown

Summary:
Fix crash during shutdown. The root cause is that when Dolphin in stopped as
part of an activity, the KItemListViewAccessible destructor is called after
QApplication::exec has returned causing Qt to already having cleaned up the
QAccessibleInterface instances kept in KItemListViewAccessible. Instead of
storing the pointers to QAccessibleInterface we store the QAccessible::Id so
that we can use the QAccessible::deleteAccessibleInterface function for
deleting the instances.

BUG: 402784

Test Plan:
I wasn't able to reproduce the crash in the first place, but I have just
opened and closed Dolphin a few times and verified the the QAccessibleInterface
instances are correctly cleaned up.

Reviewers: #dolphin, elvisangelaccio, ngraham

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19083