Commit graph

18399 commits

Author SHA1 Message Date
David Faure b8c9aa55ff Update icon if it couldn't be determined upfront (.desktop file on slow mount)
This requires an up-to-date kdelibs >= 4.10.

CCBUG: 290666
2013-03-27 15:19:09 +01:00
Frank Reininghaus 02f4a69f58 Improve grouping by name for non-ASCII file names
This commit prevents that all non-ASCII letters which are not umlauts
are grouped in a single group "Others", and that the joint group of
an ASCII letter and the associated umlaut in some locales is called
"Others" if there is only the umlaut in the group.

BUG: 315569
REVIEW: 109457
FIXED-IN: 4.10.2
2013-03-26 01:21:34 +01:00
Ignat Semenov c7884e2122 unbreak build with a Q_DECLARE_METATYPE 2013-03-25 22:30:47 +04:00
Ignat Semenov 391fd1b7a5 int -> QVariant for IconView::Flow 2013-03-25 22:21:33 +04:00
Ignat Semenov 5fb0a7236b streamline the filter combobox code
- int m_filterType -> ProxyModel::FilterType m_filterType
- ProxyModel::filterModeFromInt(int) -> static_cast<ProxyModel::FilterType>(int)
- int -> QVariant<ProxyModel::FilterType> in the config UI
- selectUnselectAll() -> two separate methods; eliminate sender() call

This also fixes filterChanged() and configAccepted() wrt this config key.
Use the actual filter mode value instead of the combobox index which is
error-prone in case the order of the items in the combobox changes.

BUG:317323
FIXED_IN:4.10.2
2013-03-25 15:48:33 +04:00
Aurélien Gâteau 472608e866 Fix transition between m_pixmap and m_hoverPixmap
The default SourceOver composition mode of QPainter cannot be used
to interpolate between two images, we must use intermediate buffers
to perform the interpolation and blend the result on the widget.

More details are available in the review request.

REVIEW: 109614
FIXED-IN: 4.10.2
2013-03-21 14:06:07 +01:00
Emmanuel Pescosta d3ad8f5937 Refresh all expanded directories too, when reloading a directory.
BUG: 295300
FIXED-IN: 4.10.2
REVIEW: 109488
2013-03-17 20:13:55 +01:00
Script Kiddy 964978ec70 SVN_SILENT made messages (.desktop file) 2013-03-17 13:29:34 +01:00
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