]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Fri, 7 Dec 2012 21:31:24 +0000 (22:31 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUpdate Dolphin version to 2.1.95 for KDE 4.10 RC 1
Frank Reininghaus [Fri, 7 Dec 2012 21:30:22 +0000 (22:30 +0100)]
Update Dolphin version to 2.1.95 for KDE 4.10 RC 1

13 years agoFix keyboard focus handling after renaming items inline
Frank Reininghaus [Fri, 7 Dec 2012 21:15:32 +0000 (22:15 +0100)]
Fix keyboard focus handling after renaming items inline

This reverts 951cb9c35d7a9ef814b3de5b359915968da9b881 and
3143acc084d54d43df469b54762bfa10a7050a9f, and fixes the crash caused by
nested event loops by delaying the deletion of the KItemListRoleEditor
until the next item is renamed inline.

BUG: 311206
FIXED-IN: 4.9.5
REVIEW: 107606

13 years agoFix incorrect usage of list iterators
Frank Reininghaus [Thu, 6 Dec 2012 18:43:11 +0000 (19:43 +0100)]
Fix incorrect usage of list iterators

The problem was that we erased an iterator from the list and then
incremented it. This can lead to problems (namely, random crashes) if
the iterator pointed to the last list element.

Thanks to Sandro Mani for testing the patch!

BUG: 311246
FIXED-IN: 4.9.5

13 years agoAdded curly brackets around DolphinApplication creation and execution, to make sure...
Hugo Pereira Da Costa [Wed, 5 Dec 2012 20:44:06 +0000 (21:44 +0100)]
Added curly brackets around DolphinApplication creation and execution, to make sure it is deleted before "return 0;" is
called. This might prevent random crashes due to the de-allocation chain in Qt at exit.
CCBUG: 311092

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
David Faure [Wed, 28 Nov 2012 15:40:07 +0000 (16:40 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUse correct value for autostart setting of Service-nepomukfileindexer
Luc Menut [Tue, 27 Nov 2012 16:32:00 +0000 (17:32 +0100)]
Use correct value for autostart setting of Service-nepomukfileindexer

Fixes the problem that the "Recently accessed" entries in the Places
Panel might not be shown when using the default setup.

BUG: 310770
FIXED-IN: 4.10 Beta 2
REVIEW: 107464

13 years agoFix Bug 310465 - Can't switch view mode for non-writable paths
Emmanuel Pescosta [Sun, 25 Nov 2012 20:44:01 +0000 (21:44 +0100)]
Fix Bug 310465 - Can't switch view mode for non-writable paths

BUG: 310465
FIXED-IN: 4.9.4
REVIEW: 107458

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Sun, 25 Nov 2012 11:05:53 +0000 (12:05 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoFix regression caused by 4120805872c2e9fac909a403b83221c09c9110a2
Frank Reininghaus [Sun, 25 Nov 2012 10:45:06 +0000 (11:45 +0100)]
Fix regression caused by 4120805872c2e9fac909a403b83221c09c9110a2

Copied items should not be shown in gray. Thanks to Christoph Feck for
testing and reporting this regression!

CCBUG: 304615
CCMAIL: christoph@maxiom.de

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Sat, 24 Nov 2012 16:28:43 +0000 (17:28 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUpdate Dolphin version to 2.1.85 for KDE 4.10 Beta 2
Frank Reininghaus [Sat, 24 Nov 2012 16:27:48 +0000 (17:27 +0100)]
Update Dolphin version to 2.1.85 for KDE 4.10 Beta 2

13 years agoClear the previous selection when selecting pasted or dropped items
Frank Reininghaus [Mon, 19 Nov 2012 21:06:29 +0000 (22:06 +0100)]
Clear the previous selection when selecting pasted or dropped items

This fixes a recent regression in the 4.9 branch caused by
b25059e803e7eed54f0593605a4066882d63bce2.

BUG: 310365
FIXED-IN: 4.9.4
REVIEW: 107389

13 years agoUpdate the 'isCut' state of items when cutting non-files, e.g., text
Frank Reininghaus [Sat, 24 Nov 2012 03:52:13 +0000 (04:52 +0100)]
Update the 'isCut' state of items when cutting non-files, e.g., text

BUG: 304615
FIXED-IN: 4.9.4
REVIEW: 107390

13 years agoDelete FileMetaDataToolTip using deleteLater() to prevent crashes
Frank Reininghaus [Sat, 24 Nov 2012 04:08:25 +0000 (05:08 +0100)]
Delete FileMetaDataToolTip using deleteLater() to prevent crashes

The problem was that Qt tried to deliver an 'Enter' event to the
dangling pointer that once pointed to the tool tip.

Many thanks to G. Christ for finding a way to reproduce this crash!

BUG: 282257
BUG: 310579
FIXED-IN: 4.9.4

13 years agoMerge branch 'KDE/4.9'
Luca Beltrame [Tue, 20 Nov 2012 06:44:59 +0000 (07:44 +0100)]
Merge branch 'KDE/4.9'

Conflicts:
konqueror/settings/kio/kcookiespolicies.cpp [master only changes]
konqueror/settings/kio/kcookiespolicies.h [ditto]

13 years agoOnly select a created item and make it 'current' in the active view
Frank Reininghaus [Sun, 18 Nov 2012 15:22:52 +0000 (16:22 +0100)]
Only select a created item and make it 'current' in the active view

The 'make the new item the current one in all views' issue has been
around for quite some time, the unexpected selection was a recent
regression caused by commit b25059e803e7eed54f0593605a4066882d63bce2.

Thanks to Jaime Torres for finding the regression early and for testing
this patch!

BUG: 310219
FIXED-IN: 4.9.4

13 years agoUpdate Dolphin version to 2.1.80
Frank Reininghaus [Mon, 12 Nov 2012 20:31:39 +0000 (21:31 +0100)]
Update Dolphin version to 2.1.80

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Dawit Alemayehu [Sat, 10 Nov 2012 21:28:36 +0000 (16:28 -0500)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoFix Bug 217575 - Auto select pasted files doesn't select all files if some have been...
Emmanuel Pescosta [Fri, 9 Nov 2012 13:52:32 +0000 (14:52 +0100)]
Fix Bug 217575 - Auto select pasted files doesn't select all files if some have been skipped

BUG: 217575
REVIEW: 107237
FIXED-IN: 4.9.4

13 years agoFix Bug 309760 - Crash while inline-renaming a file and apply change with return-key
Emmanuel Pescosta [Fri, 9 Nov 2012 11:10:36 +0000 (12:10 +0100)]
Fix Bug 309760 - Crash while inline-renaming a file and apply change with return-key

BUG: 309760
FIXED-IN: 4.9.4

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Mon, 5 Nov 2012 21:12:45 +0000 (22:12 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoPrevent crashes caused by nested event loops run when renaming inline
Frank Reininghaus [Mon, 5 Nov 2012 21:03:52 +0000 (22:03 +0100)]
Prevent crashes caused by nested event loops run when renaming inline

When renaming inline and starting a drag or invoking the context menu,
a nested event loop will be run. If the role editor loses focus and
emits roleEditingFinished(), we must prevent that deleteLater() is
called because this would delete the role editor inside a nested event
loop which is run from one of its own functions. We would get a crash
when returning from that event loop otherwise.

BUG: 308018
BUG: 309421
FIXED-IN: 4.9.4

13 years agoDo not use a hardcoded size for the buttons in the Information panel
Frank Reininghaus [Sun, 4 Nov 2012 13:39:49 +0000 (14:39 +0100)]
Do not use a hardcoded size for the buttons in the Information panel

Thanks to Kai Uwe Broulok and Jekyll Wu for the investigation!

BUG: 309498
FIXED-IN: 4.9.4

13 years agoUse the standard sizes from KIconLoader, rather than hardcoded sizes.
Frank Reininghaus [Sun, 4 Nov 2012 09:33:49 +0000 (10:33 +0100)]
Use the standard sizes from KIconLoader, rather than hardcoded sizes.

13 years agoAdd an "Icon Size" submenu to the context menu of the Places Panel
Frank Reininghaus [Wed, 31 Oct 2012 23:58:32 +0000 (00:58 +0100)]
Add an "Icon Size" submenu to the context menu of the Places Panel

FEATURE: 307475
FIXED-IN: 4.10.0
CCBUG: 301959

13 years agoRemoved customm setText for mtp devices and check for kio_mtp
Alex Fiestas [Wed, 31 Oct 2012 23:25:36 +0000 (00:25 +0100)]
Removed customm setText for mtp devices and check for kio_mtp

We are already checking if kio_mtp is installed when we build the
predicate so we don't need to check if it is installed again.

Also, the fix for "Showing the product as a name for some kind of
massive storage" will have to be delayed to 4.9.4, so removing this.

13 years agoDo not show an incorrect file name after a failed rename operation
Frank Reininghaus [Wed, 31 Oct 2012 22:06:39 +0000 (23:06 +0100)]
Do not show an incorrect file name after a failed rename operation

BUG: 303742
FIXED-IN: 4.9.3

13 years agoOnly store the HomeUrl in dolphinrc if it is not the user's home folder
Frank Reininghaus [Wed, 31 Oct 2012 21:43:40 +0000 (22:43 +0100)]
Only store the HomeUrl in dolphinrc if it is not the user's home folder

This fixes the problem that copying the dolphinrc from another user
results in Dolphin starting up in a folder that might wither not be
accessible or not exist at all.

BUG: 308569
FIXED-IN: 4.9.3

13 years agoFix Bug 309338 - flood of error boxes while renaming a folder in the folder panel
Emmanuel Pescosta [Wed, 31 Oct 2012 21:43:21 +0000 (22:43 +0100)]
Fix Bug 309338 - flood of error boxes while renaming a folder in the folder panel

BUG: 309338
FIXED-IN: 4.9.3
REVIEW: 107070

13 years agoFix Bug 279333 - Panels can be moved even if locked
Emmanuel Pescosta [Tue, 30 Oct 2012 22:10:43 +0000 (23:10 +0100)]
Fix Bug 279333 - Panels can be moved even if locked

BUG: 279333
FIXED-IN: 4.9.3
REVIEW: 107135

13 years agoFix some indentation issues
Frank Reininghaus [Tue, 30 Oct 2012 07:25:21 +0000 (08:25 +0100)]
Fix some indentation issues

13 years agoRemove workaround for bug 304986 which is not needed in master
Frank Reininghaus [Tue, 30 Oct 2012 06:29:44 +0000 (07:29 +0100)]
Remove workaround for bug 304986 which is not needed in master

Commit ea6a7c09a0067aaf62ef2de69b5a2c4967676768 added a workaround for
bug 304986 (high CPU usage because KFileItemModelRolesUpdater requests
previews for the same files over and over again after, e.g., a rename
operation). The KDE/4.10 branch of kdelibs contains the real fix for
this issue (b8f64ca3f4b6311519c21046031d66d9d0a570c6), so the workaround
can be removed.

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Tue, 30 Oct 2012 06:26:30 +0000 (07:26 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoFix Bug 153984 - Clicking cancel on the authentication dialog for fish/sftp/ftp kiosl...
Emmanuel Pescosta [Mon, 29 Oct 2012 19:54:53 +0000 (20:54 +0100)]
Fix Bug 153984 - Clicking cancel on the authentication dialog for fish/sftp/ftp kioslave gets dolphin stuck on "Loading folder"

BUG: 153984
REVIEW: 107116

13 years agoFix wrong function call in KFileItemModelSortAlgorithm::sequentialSort (Bug introduce...
Emmanuel Pescosta [Sun, 28 Oct 2012 19:59:55 +0000 (20:59 +0100)]
Fix wrong function call in KFileItemModelSortAlgorithm::sequentialSort (Bug introduced in commit 429218eaf22c1bde24ba6875895c33facfa6ae12)

13 years agoExtended/Completed Frank's commit 7ca682fe903d6abfc44e2f26878e19ddc48b5633.
Emmanuel Pescosta [Sun, 28 Oct 2012 19:12:04 +0000 (20:12 +0100)]
Extended/Completed Frank's commit 7ca682fe903d6abfc44e2f26878e19ddc48b5633.

* Implemented Rename-Inline-Option in Settings Dialog
* Re-enable renaming items with the rename dialog in Folderview-Panel

BUG: 306705
REVIEW: 107072

13 years agoImplemented multithreading in KFileItemModelSortAlgorithm. Use as many threads as...
Emmanuel Pescosta [Sun, 28 Oct 2012 16:58:06 +0000 (17:58 +0100)]
Implemented multithreading in KFileItemModelSortAlgorithm. Use as many threads as possible.
Thanks to Frank Reininghaus for all his suggestions.

REVIEW: 107025

13 years agoWorkaround for failed comparison of items in KFileItemModelRolesUpdater
Frank Reininghaus [Sat, 27 Oct 2012 07:48:51 +0000 (09:48 +0200)]
Workaround for failed comparison of items in KFileItemModelRolesUpdater

The real fix is in the KDE/4.10 branch of kdelibs
(commit b8f64ca3f4b6311519c21046031d66d9d0a570c6). We work around the
problem that the KFileItem that a preview has been requested for is
different from the KFileItems in the sets m_pendingVisibleItems and
m_pendingInvisibleItems by refreshing those sets when we detect that
the bug has been triggered.

BUG: 304986
FIXED-IN: 4.9.3

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Christoph Feck [Thu, 25 Oct 2012 23:58:50 +0000 (01:58 +0200)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoFix color role of tree view arrows
Christoph Feck [Thu, 25 Oct 2012 23:52:20 +0000 (01:52 +0200)]
Fix color role of tree view arrows

BUG: 307734
FIXED-IN: 4.9.3
REVIEW: 107031

13 years agoUse QPixmapCache for KStandardItemListWidget::pixmapForIcon(const QString& name,...
Emmanuel Pescosta [Thu, 25 Oct 2012 17:53:53 +0000 (19:53 +0200)]
Use QPixmapCache for KStandardItemListWidget::pixmapForIcon(const QString& name, int size) -> Avoid KIcon loading and rescaleing

REVIEW: 107039

13 years agoShow MTP devices in case support for it is installed
Alex Fiestas [Tue, 23 Oct 2012 23:21:02 +0000 (01:21 +0200)]
Show MTP devices in case support for it is installed

Basically adds a conditional that in case that mtp kioslave is installed
devices with MTP are added to the predicated.
REVIEW: 106651
(cherry picked from commit a09a23795050be4ad6e2c987614cb28096030cc8)

13 years agoShow MTP devices in case support for it is installed
Alex Fiestas [Tue, 23 Oct 2012 23:21:02 +0000 (01:21 +0200)]
Show MTP devices in case support for it is installed

Basically adds a conditional that in case that mtp kioslave is installed
devices with MTP are added to the predicated.
REVIEW: 106651

13 years agoFix race condition and deadlock in the version plugin
Simeon Bird [Sat, 20 Oct 2012 01:04:55 +0000 (21:04 -0400)]
Fix race condition and deadlock in the version plugin
when listing directories is slow.

BUG: 302264
FIXED-IN: 4.9.3

13 years agoFix race condition and deadlock in the version plugin
Simeon Bird [Sat, 20 Oct 2012 01:04:55 +0000 (21:04 -0400)]
Fix race condition and deadlock in the version plugin
when listing directories is slow.

BUG: 302264
FIXED-IN: 4.9.3

13 years agouse better icon for timeline:/ in places
Weng Xuetian [Tue, 16 Oct 2012 11:53:31 +0000 (07:53 -0400)]
use better icon for timeline:/ in places

REVIEW: 106874

13 years agolook also for soprano
Pino Toscano [Tue, 16 Oct 2012 08:14:56 +0000 (10:14 +0200)]
look also for soprano

13 years agoPort Dolphin from Nepomuk to Nepomuk2 according to the Nepomuk2Port mini guide on...
Emmanuel Pescosta [Mon, 15 Oct 2012 19:46:59 +0000 (21:46 +0200)]
Port Dolphin from Nepomuk to Nepomuk2 according to the Nepomuk2Port mini guide on techbase - http://techbase.kde.org/Projects/Nepomuk/Nepomuk2Port

REVIEW: 106825

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Pino Toscano [Sat, 13 Oct 2012 07:27:54 +0000 (09:27 +0200)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUse not only Alt+Return, but also Alt+Enter as shortcut for "Properties"
Amol Godbole [Sun, 7 Oct 2012 17:37:32 +0000 (19:37 +0200)]
Use not only Alt+Return, but also Alt+Enter as shortcut for "Properties"

BUG: 307603
REVIEW: 106753
FIXED-IN: 4.9.3

13 years agoMerge branch '4.9'
Dawit Alemayehu [Wed, 3 Oct 2012 19:09:58 +0000 (15:09 -0400)]
Merge branch '4.9'

13 years agoFix the hidden "EnlargeSmallPreviews" option
Frank Reininghaus [Wed, 3 Oct 2012 08:14:20 +0000 (10:14 +0200)]
Fix the hidden "EnlargeSmallPreviews" option

This option, introduced in 99e4eb0f3a58c53277b099114a5fd8945937fb9a, did
not work any more since 2069c200211c93e401c3d19850f41eade09d64be.

CCBUG: 307522

13 years agoFind out the main window by calling the parent widget's window() member
Frank Reininghaus [Sat, 29 Sep 2012 17:47:00 +0000 (19:47 +0200)]
Find out the main window by calling the parent widget's window() member

KFileItemModel calls the dir lister's setMainWindow() method to make
sure that the dir lister caches authentication data. However, the method
used to determine the main window (qApp->activeWindow()) is not
guaranteed to yield the DolphinMainWindow or the KonqMainWindow. In
particular, if "Split View" is enabled in Dolphin's settings dialog, the
active window is the dialog, and when it is closed, any later access to
the stored pointer leads to a crash.

A better method is to verify that the model's parent is a QWidget and
then use this widget's window(). I had to make a small modification in
DolphinMainWindow to make sure that it also works correctly when the
view is split (the new view container had been created with a 0 parent
previously).

I tested it in Dolphin and Konqueror and verified that the "main window"
passed to the dir lister is really the application's main window.

BUG: 306459
FIXED-IN: 4.9.3

13 years agoRedo the fix for CTRL+Tab not working when using Dolphin's filemanagement part
Dawit Alemayehu [Fri, 28 Sep 2012 17:56:51 +0000 (13:56 -0400)]
Redo the fix for CTRL+Tab not working when using Dolphin's filemanagement part
in Konqueror. The original fix, commit 4f7ed2b, prevents drag and drop from
working correctly.

CCBUG: 302329
REVIEW: 106569

13 years agoMerge branch '4.9'
Dawit Alemayehu [Thu, 27 Sep 2012 21:48:56 +0000 (17:48 -0400)]
Merge branch '4.9'

13 years agoDolphin Places: Only show file results in Nepomuk Queries
Vishesh Handa [Thu, 30 Aug 2012 11:01:34 +0000 (16:31 +0530)]
Dolphin Places: Only show file results in Nepomuk Queries

Dolphin is a file manager, and shouldn't be concerned with non-file
resources like notes, contacts and other stuff.

Use FileQuery instead of Query.

This also results in a faster queries. With File Queries Nepomuk can
perform some internal optimizations.

BUG: 306029
REVIEW: 106274

Cherry-picked from 6892d39d292d4f64d808e64c58ef20fa081f0259

13 years agoSome speed improvements in KFileItemModelRolesUpdater:
Emmanuel Pescosta [Thu, 27 Sep 2012 16:47:55 +0000 (18:47 +0200)]
Some speed improvements in KFileItemModelRolesUpdater:
- Use QSet.erase() instead of QSet.remove() => no expensive Rehashing
- Get rid of += in sortAndResolvePendingRoles()
- Some other small changes

REVIEW: 106577

13 years agoAdd a new config option for the icon size in the Places Panel
Frank Reininghaus [Thu, 27 Sep 2012 06:11:53 +0000 (08:11 +0200)]
Add a new config option for the icon size in the Places Panel

To change the icon size in the Places Panel to, e.g., 60 pixels, add
the following lines to $KDEHOME/share/config/dolphinrc :

[PlacesPanel]
IconSize=60

A value of -1 means that the standard "Small" size should be used
(which has been the default before this commit).

It is planned to add an "Icon Size" submenu to the context menu of the
Places Panel in KDE 4.10, but we cannot do this in the 4.9 branch
because of the string freeze.

FIXED-IN: 4.9.2
BUG: 301959

13 years agoFix a Bug in KFileItemModelRolesUpdate::setEnabledPlugins.
Emmanuel Pescosta [Wed, 26 Sep 2012 15:36:51 +0000 (17:36 +0200)]
Fix a Bug in KFileItemModelRolesUpdate::setEnabledPlugins.
Changes were never overtaken because of a wrong comparison.

FIXED-IN: 4.9.2

13 years agoFixed CTRL+Tab not working when using Dolphin's filemanagement part in Konqueror.
Dawit Alemayehu [Tue, 25 Sep 2012 07:40:50 +0000 (03:40 -0400)]
Fixed CTRL+Tab not working when using Dolphin's filemanagement part in Konqueror.

BUG: 302329
FIXED-IN: 4.9.2
REVIEW: 106569

13 years agoAdding license header in kitemlistviewaccessible
Amandeep Singh [Tue, 25 Sep 2012 23:06:31 +0000 (04:36 +0530)]
Adding license header in kitemlistviewaccessible

Added the license header in kitemlistviewaccessible.*
Accessibility headers not included when QT_NO_ACCESSIBILITY defined
Removed unnecessary debug statement

13 years agoFix coding style and unnecessary complexity in KItemListViewAccessible
Frank Reininghaus [Tue, 25 Sep 2012 20:01:03 +0000 (22:01 +0200)]
Fix coding style and unnecessary complexity in KItemListViewAccessible

CCMAIL: aman.dedman@gmail.com
CCMAIL: gladhorn@kde.org

13 years agoFixes Bug 305783 - dragging a file over a directory #c4
Emmanuel Pescosta [Wed, 12 Sep 2012 17:33:28 +0000 (19:33 +0200)]
Fixes Bug 305783 - dragging a file over a directory #c4
     does not expand the dir => Bug discovered: When you drag a
     item onto a folder-view-item and then move it away
     instantly before the autoactivation event is triggered
     (After 750ms), the folder will be opened anyway.

BUG: 305783
REVIEW: 106381
FIXED-IN: 4.9.2
(cherry picked from commit 9ab8bcd6aa3ce5d96ee380d5f22d77c2f0a38881)

13 years agoDo not include role name in acc name, add desc.
Frederik Gladhorn [Tue, 25 Sep 2012 10:48:59 +0000 (12:48 +0200)]
Do not include role name in acc name, add desc.

The role is already known. Including it in the
accName means a screen reader will read
"zoom slider slider".

13 years agoRemoving layouter from public, adding TableModelChanged update
Amandeep Singh [Mon, 24 Sep 2012 22:30:13 +0000 (04:00 +0530)]
Removing layouter from public, adding TableModelChanged update

REVIEW : 106555

13 years agoRevert part of 20b0cb68bf5cc1099fd6e61982817d9e2ae0130c
Frank Reininghaus [Mon, 24 Sep 2012 21:32:51 +0000 (23:32 +0200)]
Revert part of 20b0cb68bf5cc1099fd6e61982817d9e2ae0130c

That commit, which disregarded roles with empty text for the row number
calculation in Icons View, caused the problem that icons might jump
around while information was retrieved asynchronously because previously
empty roles could get a non-empty value, and the corresponding items
would need an additional row in the view.

Thanks to Hrvoje Senjan for testing this feature in master and reporting
this issue early, such that we could fix it quickly and prevent that
other users suffer from this bug!

CCBUG: 304752

13 years agoFix crash when receiving Nepomuk info for a recently deleted file.
Frank Reininghaus [Mon, 24 Sep 2012 20:59:59 +0000 (22:59 +0200)]
Fix crash when receiving Nepomuk info for a recently deleted file.

BUG: 306036
FIXED-IN: 4.9.2

13 years agoRemoving unneccessary case for Sibling in navigate
Amandeep Singh [Sat, 22 Sep 2012 19:47:01 +0000 (01:17 +0530)]
Removing unneccessary case for Sibling in navigate

13 years agoMake cell indices work.
Frederik Gladhorn [Sat, 22 Sep 2012 20:41:54 +0000 (22:41 +0200)]
Make cell indices work.

13 years agoAccessibility: Fix cellAt
Frederik Gladhorn [Sat, 22 Sep 2012 19:39:00 +0000 (21:39 +0200)]
Accessibility: Fix cellAt

Row and column are 0 based, the cell function
uses 1 based indices.

13 years agoSet accessible name to selectHomeUrlButton
José Millán Soto [Sat, 22 Sep 2012 18:35:36 +0000 (20:35 +0200)]
Set accessible name to selectHomeUrlButton

13 years agoMerge branch for accessibility
Amandeep Singh [Sat, 22 Sep 2012 18:18:54 +0000 (23:48 +0530)]
Merge branch for accessibility

13 years agoReturning correct rowCount.
Amandeep Singh [Sat, 22 Sep 2012 18:14:42 +0000 (23:44 +0530)]
Returning correct rowCount.

13 years agoMaking code confirm to policy
Amandeep Singh [Sat, 22 Sep 2012 08:57:17 +0000 (14:27 +0530)]
Making code confirm to policy

13 years agoRemoving in-class functions and unnecessary destructor
Amandeep Singh [Wed, 15 Aug 2012 06:57:00 +0000 (12:27 +0530)]
Removing in-class functions and unnecessary destructor

13 years agoModify code according to dolphin policy
Amandeep Singh [Tue, 14 Aug 2012 17:22:21 +0000 (22:52 +0530)]
Modify code according to dolphin policy

13 years agoMerge branch 'KDE/4.9'
Luca Beltrame [Fri, 21 Sep 2012 08:55:08 +0000 (10:55 +0200)]
Merge branch 'KDE/4.9'

Conflicts:
konq-plugins/dirfilter/dirfilterplugin.cpp
konq-plugins/dirfilter/dirfilterplugin.h

13 years agoFix Bug 297355 - Dolphin leaves file preview tooltips open even when is not visible
Emmanuel Pescosta [Thu, 20 Sep 2012 15:57:10 +0000 (17:57 +0200)]
Fix Bug 297355 - Dolphin leaves file preview tooltips open even when is not visible

BUG: 297355
FIXED-IN: 4.9.2
REVIEW: 106499

13 years agoRestore old behavior: Navigating by double-clicking in folder panel (Double-Click...
Emmanuel Pescosta [Thu, 20 Sep 2012 15:56:32 +0000 (17:56 +0200)]
Restore old behavior: Navigating by double-clicking in folder panel (Double-Click - show folder content and expand folder)

BUG: 295573
REVIEW: 106497
FIXED-IN: 4.9.2

13 years agoFixes Bug 304878 - Dolphin shows "ghost" folders in places after autofs umount nfs...
Emmanuel Pescosta [Thu, 20 Sep 2012 15:56:00 +0000 (17:56 +0200)]
Fixes Bug 304878 - Dolphin shows "ghost" folders in places after autofs umount nfs shares

BUG: 304878
REVIEW: 106456
FIXED-IN: 4.9.2

13 years agoFixes Bug 293200 - Drag&drop files in dolphin doesnt preserve origin
Emmanuel Pescosta [Wed, 19 Sep 2012 17:00:52 +0000 (19:00 +0200)]
Fixes Bug 293200 - Drag&drop files in dolphin doesnt preserve origin

Patch 106381 Comment #3:
When "Open folders during drag operations" is enabled, two things happen, both in the DolphinView and in the Folders Panel:

1) When hovering a folder that can be expanded (this is the case for folders with sub-folders in the Folders Panel and in the DolphinView if in Details View mode), toggle its "expanded" state.
2) When hovering a folder that can not be expanded (i.e., a folder without sub-folders or any folder in Icons or Compact View), open this folder in the DolphinView via the KItemListController's itemActivated(int) signal.

The bug described in bug 293200 comment 3 is that 1) is always wanted, but 2) is not wanted for the Folders Panel.

BUG: 293200
FIXED-IN: 4.9.2

13 years agoPrevent unwanted URL changes when using the Terminal Panel
Frank Reininghaus [Wed, 19 Sep 2012 07:28:22 +0000 (09:28 +0200)]
Prevent unwanted URL changes when using the Terminal Panel

The root cause of the problem was that TerminalPanel's member
m_konsolePartCurrentDirectory, which is used to determine in
TerminalPanel::sendCdToTerminal(QString& dir) if the Konsole part's
directory is aleady 'dir', such that issuing the 'cd' command is not
needed, was updated too late, namely when the part's
currentDirectoryChanged(QString) signal was received, which may be up
to one second after the 'cd' command.

When changing the directory from "dir1" to "dir2" and going back to
the "dir1" in less than one second (either by using the 'Back' action
or by activating a tab which still had "dir1" open), the 'cd dir1'
command was therefore suppressed because the Terminal Panel still
thought that "dir1" was the current directory in the part. However,
the directory of the part was actually "dir2", and when the
currentDirectoryChanged(QString) signal was received from the part, the
view's URL was set to "dir2" as well.

BUG: 306349
BUG: 304838
FIXED-IN: 4.9.2

13 years agoCorrected the compile fix commit, rev 965fc6b3.
Dawit Alemayehu [Wed, 12 Sep 2012 19:54:37 +0000 (15:54 -0400)]
Corrected the compile fix commit, rev 965fc6b3.
(cherry picked from commit 1e45cb9019e08ca574a997f2e41da5e3e47928b4)

13 years agoCorrected the compile fix commit, rev 965fc6b3.
Dawit Alemayehu [Wed, 12 Sep 2012 19:54:37 +0000 (15:54 -0400)]
Corrected the compile fix commit, rev 965fc6b3.

13 years agoRe-enable renaming items with the rename dialog
Frank Reininghaus [Wed, 12 Sep 2012 19:13:26 +0000 (21:13 +0200)]
Re-enable renaming items with the rename dialog

User feedback has shown that many users used the dialog for renaming
files. Since the dialog is still used when renaming multiple files, I
think there is no good reason not to use it for renaming single files
as well if the user wants.

Note that we cannot add an option in the settings dialog due to string
freeze issues. For the time being, you will have to add the line
"RenameInline=false" to the [General] section of
$KDEHOME/share/config/dolphinrc.

BUG: 304627
FIXED-IN: 4.9.2

13 years agoFixes Bug 305783 - dragging a file over a directory #c4
Emmanuel Pescosta [Wed, 12 Sep 2012 17:33:28 +0000 (19:33 +0200)]
Fixes Bug 305783 - dragging a file over a directory #c4
     does not expand the dir => Bug discovered: When you drag a
     item onto a folder-view-item and then move it away
     instantly before the autoactivation event is triggered
     (After 750ms), the folder will be opened anyway.

BUG: 305783
REVIEW: 106381

13 years agoFix compile against the minimum required kdelibs version (v4.7.97)
Dawit Alemayehu [Tue, 11 Sep 2012 20:40:32 +0000 (16:40 -0400)]
Fix compile against the minimum required kdelibs version (v4.7.97)
(cherry picked from commit f0d5e062bf0452258d337d7dcb2edd2eefa1c37b)

13 years agoFix compile against the minimum required kdelibs version (v4.7.97)
Dawit Alemayehu [Tue, 11 Sep 2012 20:40:32 +0000 (16:40 -0400)]
Fix compile against the minimum required kdelibs version (v4.7.97)

13 years agoMount unmounted devices, when a file is dropped upon it in places-panel.
Emmanuel Pescosta [Tue, 11 Sep 2012 18:17:56 +0000 (20:17 +0200)]
Mount unmounted devices, when a file is dropped upon it in places-panel.

BUG: 176277
REVIEW: 106072
FIXED-IN: 4.9.2

(cherry picked from commit 824fa6a43734cf9ad2a690778c50bdaf76a1fb0e)

13 years agoMount unmounted devices, when a file is dropped upon it in places-panel.
Emmanuel Pescosta [Tue, 11 Sep 2012 18:17:56 +0000 (20:17 +0200)]
Mount unmounted devices, when a file is dropped upon it in places-panel.

BUG: 176277
REVIEW: 106072

13 years agoFixes Bug 242007 - "Open Folder during Drag operation" cannot go into different parti...
Emmanuel Pescosta [Tue, 11 Sep 2012 18:09:01 +0000 (20:09 +0200)]
Fixes Bug 242007 - "Open Folder during Drag operation" cannot go into different partition using "Places Panel"

BUG: 242007
REVIEW: 106380

13 years agoFix possible crash when refreshing the view while renaming inline
Frank Reininghaus [Tue, 11 Sep 2012 17:43:53 +0000 (19:43 +0200)]
Fix possible crash when refreshing the view while renaming inline

It is not reproducible on every machine for me, but it seems that it can
happen that DolphinView's slot slotRoleEditingFinished() is invoked
after the items have already been removed from the model. In that case,
we have to return from the slot immediately to prevent a crash.

BUG: 306147
FIXED-IN: 4.9.2

13 years agoFix possible crash in KStandardItemListWidget::paint()
Frank Reininghaus [Tue, 11 Sep 2012 17:34:23 +0000 (19:34 +0200)]
Fix possible crash in KStandardItemListWidget::paint()

According to the backtrace in the bug report, it is possible that
KStandardItemListWidget::paint() is called if the hash m_textInfo has
not been initialised. The widget's index must be -1 in this case, see
KStandardItemListWidget::triggerCacheRefreshing(). It looks like this
can only happen if the item is about to be removed from the view, see
KItemListView::slotItemsRemoved().

I could not reproduce the crash, so I'm not sure why exactly this
happens, but this commit should at least prevent the crash.

BUG: 306167
FIXED-IN: 4.9.2

13 years agoUse a better icon for recently accessed items, part 2
Frank Reininghaus [Tue, 11 Sep 2012 17:25:20 +0000 (19:25 +0200)]
Use a better icon for recently accessed items, part 2

I had missed one places where the incorrect icon was used in my
previous commit d7e7ca53bb95c7555bbf107d92b47ac25eda1918.

BUG: 304323
FIXED-IN: 4.9.2

13 years agoSimplify boolean expression
Frank Reininghaus [Tue, 11 Sep 2012 17:17:40 +0000 (19:17 +0200)]
Simplify boolean expression

Thanks to André Wöbbeking for noticing that this was unnecessarily
complex!

13 years agoImplemented the new KParts extension, KParts::ListingiNotificationExtension.
Dawit Alemayehu [Wed, 5 Sep 2012 02:26:28 +0000 (22:26 -0400)]
Implemented the new KParts extension, KParts::ListingiNotificationExtension.

REVIEW: 106333
(cherry picked from commit acef4b1c287a315b42550c27fc18ac4b9f49746c)

13 years agoImplemented the new KParts extension, KParts::ListingiNotificationExtension.
Dawit Alemayehu [Wed, 5 Sep 2012 02:26:28 +0000 (22:26 -0400)]
Implemented the new KParts extension, KParts::ListingiNotificationExtension.

REVIEW: 106333

13 years agoMake the button that enables additional search options more obvious
Frank Reininghaus [Thu, 6 Sep 2012 06:03:56 +0000 (08:03 +0200)]
Make the button that enables additional search options more obvious

This is achieved by adding some descriptive text and by using a more
appropriate icon.

Thanks to Panos Kanavos for the patch!

BUG: 300248
FIXED-IN: 4.10.0
REVIEW: 106325

13 years agoDo not show '-' for additional info which is not available for an item
Frank Reininghaus [Thu, 6 Sep 2012 05:51:22 +0000 (07:51 +0200)]
Do not show '-' for additional info which is not available for an item

I'm only backporting the removal of the '-', not the update for the
line number calculation in Icons View, because this is the safest part
of the patch and also the one that fixes the most annoying part of the
bug.

Thanks to Todd Jennings for the patch!
BUG: 304752
REVIEW: 106304
(cherry picked from commit 20b0cb68bf5cc1099fd6e61982817d9e2ae0130c)