Commit graph

4540 commits

Author SHA1 Message Date
Frank Reininghaus
b2a580c2b9 Merge remote-tracking branch 'origin/KDE/4.9' 2012-12-07 22:31:24 +01:00
Frank Reininghaus
46f2c2ef3c Update Dolphin version to 2.1.95 for KDE 4.10 RC 1 2012-12-07 22:30:22 +01:00
Frank Reininghaus
e97c050157 Fix keyboard focus handling after renaming items inline
This reverts 951cb9c35d and
3143acc084, 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
2012-12-07 22:15:32 +01:00
Frank Reininghaus
a1353a9d48 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
2012-12-06 19:48:59 +01:00
Hugo Pereira Da Costa
f19811517a 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
2012-12-05 21:44:06 +01:00
David Faure
6a3f8086a3 Merge remote-tracking branch 'origin/KDE/4.9' 2012-11-28 16:40:07 +01:00
Luc Menut
a39ba0acd8 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
2012-11-27 17:32:00 +01:00
Emmanuel Pescosta
b2719884b9 Fix Bug 310465 - Can't switch view mode for non-writable paths
BUG: 310465
FIXED-IN: 4.9.4
REVIEW: 107458
2012-11-25 21:44:01 +01:00
Frank Reininghaus
ffe179ad51 Merge remote-tracking branch 'origin/KDE/4.9' 2012-11-25 12:05:53 +01:00
Frank Reininghaus
c570c62036 Fix regression caused by 4120805872
Copied items should not be shown in gray. Thanks to Christoph Feck for
testing and reporting this regression!

CCBUG: 304615
CCMAIL: christoph@maxiom.de
2012-11-25 11:45:06 +01:00
Frank Reininghaus
06e5202c47 Merge remote-tracking branch 'origin/KDE/4.9' 2012-11-24 17:28:43 +01:00
Frank Reininghaus
03d0ebe469 Update Dolphin version to 2.1.85 for KDE 4.10 Beta 2 2012-11-24 17:27:48 +01:00
Frank Reininghaus
ba3e70ffe0 Clear the previous selection when selecting pasted or dropped items
This fixes a recent regression in the 4.9 branch caused by
b25059e803.

BUG: 310365
FIXED-IN: 4.9.4
REVIEW: 107389
2012-11-24 16:04:43 +01:00
Frank Reininghaus
2099f4a0c5 Update the 'isCut' state of items when cutting non-files, e.g., text
BUG: 304615
FIXED-IN: 4.9.4
REVIEW: 107390
2012-11-24 16:00:42 +01:00
Frank Reininghaus
4220612684 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
2012-11-24 05:10:56 +01:00
Luca Beltrame
59e8f22cd5 Merge branch 'KDE/4.9'
Conflicts:
	konqueror/settings/kio/kcookiespolicies.cpp [master only changes]
	konqueror/settings/kio/kcookiespolicies.h [ditto]
2012-11-20 07:44:59 +01:00
Frank Reininghaus
96672c166f 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 b25059e803.

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

BUG: 310219
FIXED-IN: 4.9.4
2012-11-18 16:22:52 +01:00
Frank Reininghaus
c73bf691c6 Update Dolphin version to 2.1.80 2012-11-12 21:32:04 +01:00
Dawit Alemayehu
b85d46b838 Merge remote-tracking branch 'origin/KDE/4.9' 2012-11-10 16:28:36 -05:00
Emmanuel Pescosta
ce1bdf40cf 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
2012-11-09 14:52:32 +01:00
Emmanuel Pescosta
9aacd610a3 Fix Bug 309760 - Crash while inline-renaming a file and apply change with return-key
BUG: 309760
FIXED-IN: 4.9.4
2012-11-09 12:10:36 +01:00
Frank Reininghaus
15faff457d Merge remote-tracking branch 'origin/KDE/4.9' 2012-11-05 22:12:45 +01:00
Frank Reininghaus
c0559a2a1d 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
2012-11-05 22:03:52 +01:00
Frank Reininghaus
07721cf764 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
2012-11-04 14:39:49 +01:00
Frank Reininghaus
c6eb4866d8 Use the standard sizes from KIconLoader, rather than hardcoded sizes. 2012-11-04 10:33:49 +01:00
Frank Reininghaus
6f8060fc6d Add an "Icon Size" submenu to the context menu of the Places Panel
FEATURE: 307475
FIXED-IN: 4.10.0
CCBUG: 301959
2012-11-01 00:58:32 +01:00
Alex Fiestas
951dbd6d67 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.
2012-11-01 00:28:18 +01:00
Frank Reininghaus
9d6feb556d Do not show an incorrect file name after a failed rename operation
BUG: 303742
FIXED-IN: 4.9.3
2012-10-31 23:06:39 +01:00
Frank Reininghaus
bc72aeeb8f 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
2012-10-31 22:48:59 +01:00
Emmanuel Pescosta
32569ebedf Fix Bug 309338 - flood of error boxes while renaming a folder in the folder panel
BUG: 309338
FIXED-IN: 4.9.3
REVIEW: 107070
2012-10-31 22:43:21 +01:00
Emmanuel Pescosta
b4998a7cd4 Fix Bug 279333 - Panels can be moved even if locked
BUG: 279333
FIXED-IN: 4.9.3
REVIEW: 107135
2012-10-30 23:10:43 +01:00
Frank Reininghaus
1353c92cce Fix some indentation issues 2012-10-30 08:25:21 +01:00
Frank Reininghaus
70aac0f1e6 Remove workaround for bug 304986 which is not needed in master
Commit ea6a7c09a0 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.
2012-10-30 07:29:44 +01:00
Frank Reininghaus
1d9d83b434 Merge remote-tracking branch 'origin/KDE/4.9' 2012-10-30 07:26:30 +01:00
Emmanuel Pescosta
c503452d56 Fix Bug 153984 - Clicking cancel on the authentication dialog for fish/sftp/ftp kioslave gets dolphin stuck on "Loading folder"
BUG: 153984
REVIEW: 107116
2012-10-29 20:54:53 +01:00
Emmanuel Pescosta
726cd768c9 Fix wrong function call in KFileItemModelSortAlgorithm::sequentialSort (Bug introduced in commit 429218eaf2) 2012-10-28 20:59:55 +01:00
Emmanuel Pescosta
ecdb0c3f58 Extended/Completed Frank's commit 7ca682fe90.
* Implemented Rename-Inline-Option in Settings Dialog
* Re-enable renaming items with the rename dialog in Folderview-Panel

BUG: 306705
REVIEW: 107072
2012-10-28 20:12:04 +01:00
Emmanuel Pescosta
b4800d794c Implemented multithreading in KFileItemModelSortAlgorithm. Use as many threads as possible.
Thanks to Frank Reininghaus for all his suggestions.

REVIEW: 107025
2012-10-28 17:58:06 +01:00
Frank Reininghaus
37a54c053e 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
2012-10-27 09:48:51 +02:00
Christoph Feck
c1bc83dfdb Merge remote-tracking branch 'origin/KDE/4.9' 2012-10-26 01:58:50 +02:00
Christoph Feck
282f5cb869 Fix color role of tree view arrows
BUG: 307734
FIXED-IN: 4.9.3
REVIEW: 107031
2012-10-26 01:52:20 +02:00
Emmanuel Pescosta
b6396ca721 Use QPixmapCache for KStandardItemListWidget::pixmapForIcon(const QString& name, int size) -> Avoid KIcon loading and rescaleing
REVIEW: 107039
2012-10-25 19:53:53 +02:00
Alex Fiestas
996fe25208 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 a09a237950)
2012-10-24 01:22:31 +02:00
Alex Fiestas
434a6cf0a7 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
2012-10-24 01:21:02 +02:00
Simeon Bird
04dabe84b2 Fix race condition and deadlock in the version plugin
when listing directories is slow.

BUG: 302264
FIXED-IN: 4.9.3
2012-10-19 21:06:49 -04:00
Simeon Bird
4f6a2780ee Fix race condition and deadlock in the version plugin
when listing directories is slow.

BUG: 302264
FIXED-IN: 4.9.3
2012-10-19 21:05:54 -04:00
Weng Xuetian
1c6d0c316a use better icon for timeline:/ in places
REVIEW: 106874
2012-10-16 07:55:00 -04:00
Pino Toscano
e428f431bb look also for soprano 2012-10-16 10:14:56 +02:00
Emmanuel Pescosta
a9b04801db Port Dolphin from Nepomuk to Nepomuk2 according to the Nepomuk2Port mini guide on techbase - http://techbase.kde.org/Projects/Nepomuk/Nepomuk2Port
REVIEW: 106825
2012-10-15 21:46:59 +02:00
Pino Toscano
c239ae19de Merge remote-tracking branch 'origin/KDE/4.9' 2012-10-13 09:27:54 +02:00