Commit graph

18563 commits

Author SHA1 Message Date
David Faure
bf7cdfca99 Update views showing trash:/ when restoring trashed files.
Thanks to A.J.Reddy for the investigation and initial patch, and thanks
to Frank Reininghaus for the testing.
FIXED-IN: 4.10.1
BUG: 252483
2013-02-19 11:19:18 +01:00
Frank Reininghaus
547d10aa16 Fix crash when clicking an action in context menu for a removed device
Devices can be added and removed while the context menu is open.
Sfter an action has clicked that needs to access a device, we therefore
have to check if its position in the model has changed, and more
importantly, if it is still there at all in order to prevent a crash.

BUG: 315298
FIXED-IN: 4.10.1
REVIEW: 108989
2013-02-18 23:58:31 +01:00
Frank Reininghaus
e053ecdcd5 Remove items from m_filteredItems if their parent is deleted
Fixes the problem that filtered children of expanded deleted folders
reappear if the filter is cleared.

BUG: 315210
FIXED-IN: 4.10.1
REVIEW: 108976
2013-02-18 23:50:38 +01:00
Thiago Macieira
81f7f6ac23 Make sure we find X11 libraries.
Both Konqueror and the folderview applet use X11 functions directly so
we need to make sure CMake is finding it. Right now, this works
because Qt4ConfigDependentSettings.cmake that is distributed with KDE
does an indirect find_package. The one in upstream CMake does not, so
it's a ticking time bomb and depends on installation configuration.
2013-02-18 08:59:10 -08:00
Aaron Seigo
331a177499 compare against new value, not against itself
typo found by Ömer Fadıl USTA
2013-02-17 12:27:24 +01:00
Aaron Seigo
342e894932 compare against new value, not against itself
typo found by Ömer Fadıl USTA
2013-02-17 12:23:36 +01:00
Frank Reininghaus
3cd883c1b0 Merge remote-tracking branch 'origin/KDE/4.10' 2013-02-17 12:17:01 +01:00
Frank Reininghaus
fbf64b3963 Another fix for KItemListControllerTest::testMouseClickActivation()
One one machine, I see that changing the global "single click" setting
fails. I don't know why that is the case, but I think we should better
just skip the test in that case and not hang forever.
2013-02-17 12:12:52 +01:00
Frank Reininghaus
35f0798894 Update Dolphin version to 2.2.60 2013-02-17 11:36:03 +01:00
Frank Reininghaus
daf12b8eb3 Prevent repeated re-layouting of all items while previews are generated
There was some code in KStandardItemListView::itemSizeHintUpdateRequired
already that was supposed to prevent an expensive re-layouting of all
items when a preview is received. However, it didn't quite work as
intended because also the "iconOverlays" role changed.

The new approach is to only re-layout if text of a visible role changes,
because this is the only way how the space needed by an item might
change (see KStandardItemListWidgetInformant::itemSizeHint()).

BUG: 315315
FIXED-IN: 4.10.1
REVIEW: 108984
2013-02-17 11:30:38 +01:00
Dawit Alemayehu
466f35b0e5 Shut the compiler up 2013-02-16 19:43:25 -05:00
Burkhard Lück
130f41ecaf change button to key suggested by Antoni Bella Pérez 2013-02-16 19:38:46 +01:00
Dawit Alemayehu
1cdbf2e53f Connect to the returnPressed signal if completionMode == CompletionNone.
BUG: 314736
FIXED-IN: 4.10.1
REVIEW: 108983
2013-02-16 11:59:02 -05:00
Ignat Semenov
b71c205996 style 2013-02-15 20:41:21 +04:00
Frank Reininghaus
bf94cb4ad7 Improve the recently added test testMouseClickActivation
The method to make sure that the first item is visible turned out to be
less reliable than I thought. This could make the test hang forever.
Moreover, this commit removes some trailing whitespace that had been
added accidentally.
2013-02-13 17:56:03 +01:00
Script Kiddy
5a869844be SVN_SILENT made messages (.desktop file) 2013-02-13 00:30:21 +01:00
Script Kiddy
c731f6c2a5 SVN_SILENT made messages (.desktop file) 2013-02-12 19:45:01 +01:00
Script Kiddy
74909c91d3 SVN_SILENT made messages (.desktop file) 2013-02-12 01:23:16 +01:00
Burkhard Lück
e07da61b2e update date + releaseinfo
backport to 4.10
(cherry picked from commit a0c35b7621)
2013-02-11 21:22:15 +01:00
Burkhard Lück
a0c35b7621 update date + releaseinfo 2013-02-11 14:12:41 +01:00
Script Kiddy
f88994cf6d SVN_SILENT made messages (.desktop file) 2013-02-11 11:22:32 +01:00
Aurélien Gâteau
cb5e1f622f Merge remote-tracking branch 'origin/KDE/4.10' 2013-02-11 10:53:52 +01:00
Aurélien Gâteau
12d41a8833 Fix blinking when moving the mouse over an hidden item
The opacity of the unhovered pixmap must be gradually reduced while
animating otherwise the alpha channel saturates.

REVIEW: 108858
BUG: 299371
FIXED-IN: 4.10.1
2013-02-11 10:38:28 +01:00
Luca Beltrame
123a4e5fb6 Merge remote-tracking branch 'origin/KDE/4.10' 2013-02-10 23:38:51 +01:00
Burkhard Lück
1eee109f1f sync dolphin + konqueror filmanager docbook for 4.10
backport to branch 4.10
(cherry picked from commit 3ed9800555)
2013-02-10 20:35:28 +01:00
Yuri Chornoivan
fa5910db46 Fix typo: diabled -> disabled
backport to branch 4.10
(cherry picked from commit 148f17db88)
2013-02-10 20:34:45 +01:00
Burkhard Lück
14633ee71c dolphin doc update to 4.10
backport to branch 4.10
(cherry picked from commit 38879704b3)
2013-02-10 20:33:39 +01:00
Frank Reininghaus
601a9909cd Merge remote-tracking branch 'origin/KDE/4.10' 2013-02-10 19:27:21 +01:00
Frank Reininghaus
b80384caae Re-organize the code that compares expanded items
The previous approach, which was based on comparing the URLs as
strings, was not only very complex, but also could lead to
inconsistencies in the model, namely, that not all children were
removed from the model when the dir lister reported the parent as
deleted. Later on, this could even lead to a crash.

BUG: 311947
FIXED-IN: 4.11
REVIEW: 108766
2013-02-10 18:09:07 +01:00
Frank Reininghaus
2101444268 Add benchmark for adding many child items in a tree structure 2013-02-10 18:07:55 +01:00
Frank Reininghaus
234ed72985 Include parent-child relationships in KFileItemModel's consistency check 2013-02-10 18:06:07 +01:00
Script Kiddy
3cb65083a9 SVN_SILENT made messages (.desktop file) 2013-02-09 13:38:25 +01:00
Script Kiddy
03e0c3066b SVN_SILENT made messages (.desktop file) 2013-02-09 09:01:22 +01:00
Script Kiddy
4a9e2a30be SVN_SILENT made messages (.desktop file) 2013-02-08 13:01:31 +01:00
Script Kiddy
92859e8806 SVN_SILENT made messages (.desktop file) 2013-02-08 08:24:30 +01:00
Script Kiddy
39d262fd63 SVN_SILENT made messages (.desktop file) 2013-02-07 13:25:42 +01:00
Script Kiddy
2169cd904a SVN_SILENT made messages (.desktop file) 2013-02-07 08:52:03 +01:00
Frank Reininghaus
c99598153a KFileItemModel::insertItems(): reserve sufficient space for m_items
This prevents expensive and unnecessary repeated rehashing when many
items are inserted into the model.
2013-02-06 18:58:54 +01:00
Script Kiddy
6ec3cd628f SVN_SILENT made messages (.desktop file) 2013-02-06 12:55:26 +01:00
Script Kiddy
038b6f2949 SVN_SILENT made messages (.desktop file) 2013-02-06 08:13:36 +01:00
Script Kiddy
615d1cc161 SVN_SILENT made messages (.desktop file) 2013-02-05 21:24:47 +01:00
Frank Reininghaus
e040c760a2 Add unit test for bug 313342 2013-02-05 20:07:05 +01:00
Aniket Anvit
17eeee6b03 Apply changes of the KGlobalSettings::singleClick() setting immediately
Fixes a regression introduced by commit
7a364cbf48.

Patch reviewed and pushed by Frank Reininghaus.

BUG: 313342
FIXED-IN: 4.10.1
2013-02-05 19:58:06 +01:00
Ignat Semenov
35fa98757b fix warning 2013-02-05 21:45:52 +04:00
Ignat Semenov
1e8bfcc503 fix warning 2013-02-05 21:45:38 +04:00
Script Kiddy
9f6f992b41 SVN_SILENT made messages (.desktop file) 2013-02-05 16:51:05 +01:00
Ignat Semenov
7db7557465 remove networkStatusChanged() as redundant
* Use networkAvailable() instead of networkStatusChanged()
* Enable the "network not reachable" error message
* Connect to the network status update notification in init()
2013-02-05 17:17:09 +04:00
Ignat Semenov
125cfae8d5 fix a typo:reload the url if it's not local 2013-02-05 16:23:26 +04:00
Ignat Semenov
7259d5efc6 fix a typo:reload the url if it's not local 2013-02-05 16:23:03 +04:00
Script Kiddy
eb29c17215 SVN_SILENT made messages (.desktop file) 2013-02-04 13:43:06 +01:00