Commit graph

18441 commits

Author SHA1 Message Date
Weng Xuetian
914b8d88ae use plain text for information panel
REVIEW: 109129
BUG: 315693
CCBUG: 262464
2013-03-16 00:43:22 -04:00
Albert Astals Cid
ae044f0ee1 Make the image square
KIconLoader::global()->loadIcon is going to give us a square image so if
the image is not square the circle doesn't look like a circle anymore
and looks ultra ugly
2013-03-15 21:52:53 +01:00
Script Kiddy
7a4946e49a SVN_SILENT made messages (.desktop file) 2013-03-15 14:57:44 +01:00
Frank Reininghaus
6be6988fb8 Prevent accidental deletion of home directory in Terminal Panel
The protection against unwanted execution of "rm -rf" when changing the
directory while entering the command did not work if there was never any
automatic "cd" command sent to the terminal before.

This patch ensures that Terminal Panel's member m_clearTerminal is
false after the initialization of the panel, such that the protection is
effective after that.

BUG: 316300
FIXED-IN: 4.10.2
REVIEW: 109431
2013-03-15 00:12:49 +01:00
Script Kiddy
de34d5edc9 SVN_SILENT made messages (.desktop file) 2013-03-14 17:08:18 +01:00
Frank Reininghaus
6ba70a6fbf Do not skip rows in when clicking the empty area of the scroll bar
The height of the header widget must be subtracted from the view's
height in Details View to determine the "pageStep" for the scroll bar.

BUG: 315619
FIXED-IN: 4.10.2
REVIEW: 109210
2013-03-11 18:18:44 +01:00
Frank Reininghaus
acec0e6509 Remove filtered children if the parent folder is collapsed
This is analogous to commit e053ecdcd5,
which fixes the same problem for the case that the parent folder is
deleted.

BUG: 316335
FIXED-IN: 4.10.2
REVIEW: 109343
2013-03-10 18:26:37 +01:00
Albert Astals Cid
2c0c4aaf2d Clear the autosave folder at startup case there is some cruft in there 2013-03-08 00:09:11 +01:00
Albert Astals Cid
c9a896543a Remove my debug stuff, need to talk to ben before carrying on 2013-03-07 02:14:41 +01:00
Albert Astals Cid
19c61d53fa Try to find out why jenkins thinks has sessions to restore 2013-03-07 02:03:09 +01:00
Albert Astals Cid
b2c20a7b20 More debugging of where the unit test hangs
I have a hunch is because of askUserToRestoreAutosavedAbandonedSessions
2013-03-07 01:43:36 +01:00
Albert Astals Cid
dd0068a5aa Add some debugs to try to find where the test in jenkins dies 2013-03-07 01:22:46 +01:00
Script Kiddy
f90fc94304 SVN_SILENT made messages (.desktop file) 2013-02-24 13:53:42 +01:00
Script Kiddy
a4092f2aa2 SVN_SILENT made messages (.desktop file) 2013-02-22 06:41:23 +01:00
Patrick von Reth
e3cbdc2312 fixed build on non x11 systems
(cherry picked from commit 8e6d6a0f2d)
2013-02-19 16:10:06 +01:00
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
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
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
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
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
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
Burkhard Lück
e07da61b2e update date + releaseinfo
backport to 4.10
(cherry picked from commit a0c35b7621)
2013-02-11 21:22:15 +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
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
Script Kiddy
3cb65083a9 SVN_SILENT made messages (.desktop file) 2013-02-09 13:38:25 +01:00
Script Kiddy
4a9e2a30be SVN_SILENT made messages (.desktop file) 2013-02-08 13:01:31 +01:00
Script Kiddy
39d262fd63 SVN_SILENT made messages (.desktop file) 2013-02-07 13:25:42 +01:00
Script Kiddy
6ec3cd628f SVN_SILENT made messages (.desktop file) 2013-02-06 12:55:26 +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
125cfae8d5 fix a typo:reload the url if it's not local 2013-02-05 16:23:26 +04:00
Script Kiddy
eb29c17215 SVN_SILENT made messages (.desktop file) 2013-02-04 13:43:06 +01:00
Script Kiddy
36db978920 SVN_SILENT made messages (.desktop file) 2013-02-01 13:25:28 +01:00
Script Kiddy
df5cccebb6 SVN_SILENT made messages (.desktop file) 2013-01-31 16:26:13 +01:00
Frank Reininghaus
5a1d755919 Add unit test for bug 314046
The regression happened in the master branch only, but I think it
doesn't hurt to add the test to the stable branch.

CCBUG: 314046
2013-01-30 21:02:43 +01:00
Script Kiddy
298cb62728 SVN_SILENT made messages (.desktop file) 2013-01-30 16:21:26 +01:00
Script Kiddy
ec68887d4b SVN_SILENT made messages (.desktop file) 2013-01-29 21:08:34 +01:00
Frank Reininghaus
e267a7b09e Update Dolphin version to 2.2 for KDE 4.10.0 2013-01-29 19:13:49 +01:00
Weng Xuetian
8a97ca66ad escape the existing text instead of set to plain text
@info indicates it's rich text and will be added <html> tag by kdelibs,
so just escape the text that will be set to label for KDE/4.10

REVIEW: 108584
BUG: 313992
2013-01-27 14:09:12 -05:00
Frank Reininghaus
4113dd0198 Add a unit test for a recently fixed crash
Before commit 90c7fd400c, adding a
KFileItem with an empty path caused a crash in
KFileItemModel::expandedParentsCountCompare().
2013-01-27 14:09:39 +01:00
Script Kiddy
435bc19c0e SVN_SILENT made messages (.desktop file) 2013-01-27 12:59:07 +01:00
Vishesh Handa
af280715ff KFileItemModelRolesUpdater: Avoid multiple updates for Nepomuk data
The Nepomuk ResourceWatcher emits 3 signals - propertyChanged,
propertyAdded and propertyRemoved. We should only listen to either the
propertyChanged signal or the propertyAdded + Removed signals. There is
no point in listening to all 3 signals. That will just result in
unnecessary updates.

Additionally, we do not need to listen to the resourceCreated signal.
That is only emitted when we are watching for a specific types, which we
are not.

REVIEW: 108543
2013-01-24 23:16:27 +05:30
Frank Reininghaus
c10517314c Make the "A folder cannot be dropped into itself" message less intrusive
Showing this message in the KMessageWidget above the view, which means
that the view contents are moved down, can be extremely annoying
according to user feedback. Just showing the message in the status bar
is probably enough.

BUG: 313466
REVIEW: 108483
FIXED-IN: 4.10.0
2013-01-22 07:17:35 +01:00