Commit graph

18598 commits

Author SHA1 Message Date
Script Kiddy
0a66a62bfd SVN_SILENT made messages (.desktop file) 2013-04-23 21:53:29 +02:00
Frank Reininghaus
5ae4a6f155 Merge remote-tracking branch 'origin/KDE/4.10'
Conflicts:
	plasma/applets/folderview/folderview.cpp

CCMAIL: ignat.semenov@blue-systems.com

@Ignat: We've been following a merge-based approach in kde-baseapps
for quite some time now, see

http://lists.kde.org/?t=134744909400005&r=1&w=1

It would be nice if you could merge KDE/4.10 into master after any
non-trivial changes in folderview to prevent that others have to
figure out how to resolve the merge conflicts. Thanks!
2013-04-23 19:40:42 +02:00
Frank Reininghaus
a16562cd55 Disable Find/Replace in the "rename inline" line edit
These actions do not work correctly because renaming is considered
finished as soon as the line edit loses focus, which happens when the
"Replace" dialog pops up.

BUG: 317772
FIXED-IN: 4.10.3
2013-04-23 19:31:08 +02:00
Frank Reininghaus
f8bf257734 Do not dereference null pointer in KItemListViewAccessible
BUG: 316285
FIXED-IN: 4.10.3
2013-04-23 19:25:52 +02:00
Script Kiddy
22a283a411 SVN_SILENT made messages (.desktop file) 2013-04-23 17:07:03 +02:00
Frank Reininghaus
34d0ad722e Comment out assertion to fix a crash when filtering in Icons/Compat View
I'm not sure yet if there is a problem somewhere else in the code. For
the time being, I think it's better to replace the assert by a TODO
comment to prevent that users find out the hard way that there is
something that we're not quite sure about.

BUG: 317827
FIXED-IN: 4.10.3
2013-04-22 21:36:57 +02:00
Frank Reininghaus
52a38ee90c Always determine icons for the visible items first
When entering a folder, KFileItemModelRolesUpdater has not yet been
informed about the visible index range by the view when it tries to
determine icons synchronously. This resulted in the problem that it
tried to determine icons for all items in random order, and some visible
icons were somtimes still unknown after the "synchronous icon loading"
timeout of 200 ms.

This commit tries to improve the situation by loading icons starting
with the first item in increasing order. This should make it less likely
that some visible items still have unknown icons after 200 ms.

BUG: 316129
FIXED-IN: 4.10.3
REVIEW: 109843
2013-04-22 21:21:31 +02:00
Script Kiddy
fef35712c1 SVN_SILENT made messages (.desktop file) 2013-04-22 08:55:40 +02:00
Script Kiddy
8877befbbd SVN_SILENT made messages (.desktop file) 2013-04-20 15:43:04 +02:00
Script Kiddy
b212ee8147 SVN_SILENT made messages (.desktop file) 2013-04-20 09:44:11 +02:00
Script Kiddy
8a299ad08c SVN_SILENT made messages (.desktop file) 2013-04-19 13:27:40 +02:00
Ignat Semenov
574cd6de32 avoid a potential stall: QComboBox::maxCount() -> QComboBox::count() 2013-04-16 22:51:01 +04:00
Ignat Semenov
08d003fbdc avoid a potential stall: QComboBox::maxCount() -> QComboBox::count() 2013-04-16 22:47:50 +04:00
Christoph Feck
66a1267458 Merge remote-tracking branch 'origin/KDE/4.10' 2013-04-15 21:41:18 +02:00
Christoph Feck
277ec25250 Fix missing connections from Port spin boxes
BUG: 318157
FIXED-IN: 4.10.3
2013-04-15 21:29:08 +02:00
Eike Hein
6fb5b07f62 Merge branch 'KDE/4.10' 2013-04-15 16:27:18 +02:00
Eike Hein
ac18ec1712 Fix inadvertent losses of custom icon positions due to config handling.
The configChanged() implementation could unnecessarily schedule a
reload due to a bug in a has-this-config-element-changed comparison,
which would result in icon position losses in scenarios such as
changing the wallpaper or the workspace theme, without having touched
any sorting-related options. Further, OK'ing the config dialog could
undo the unsorted state entered by moving an icon while the dialog
was open; this is now handled by updating the sorting mode combo box
in the dialog after the icon is dropped.

The later relies on a preceding fix in kde-workspace.git to make
Applet::isUserConfiguring() work for containments if Folder View is
used as desktop containment.
2013-04-15 16:20:03 +02:00
Eike Hein
49bbb88343 Merge branch 'KDE/4.10' 2013-04-15 10:42:50 +02:00
Eike Hein
f979fab6c8 Tint icon by selection color if selected, consistent with Dolphin. 2013-04-15 10:42:34 +02:00
Eike Hein
15428f1910 Default to main view sorting defaults if the main view is unsorted. 2013-04-15 10:42:25 +02:00
Aurélien Gâteau
3a345558f8 Merge remote-tracking branch 'origin/KDE/4.10' 2013-04-12 16:31:03 +02:00
Aurélien Gâteau
c3a7ba4e0e Fix moving image while transitioning to hover pixmap
See: http://youtu.be/OMYO0U0kSL0

REVIEW: 109960
FIXED-IN: 4.10.3
2013-04-12 16:28:52 +02:00
Ignat Semenov
ed34d83fd5 no need to check pointer before deleting it 2013-04-11 16:38:56 +04:00
Ignat Semenov
b7364ade72 no need to check pointer before deleting it 2013-04-11 16:31:04 +04:00
Kai Uwe Broulik
05fb81861a Move Bluetooth places items to Device section of places list
REVIEW: 109622
BUG: 301276
2013-04-02 16:07:29 +02:00
Luca Beltrame
cb47cfdb17 Merge remote-tracking branch 'origin/KDE/4.10'
Conflicts:
	plasma/applets/folderview/folderview.cpp
2013-03-27 16:50:22 +01:00
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
Script Kiddy
246f429e18 SVN_SILENT made messages (.desktop file) 2013-03-26 16:54:49 +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
c3b160dae8 unbreak build with a Q_DECLARE_METATYPE 2013-03-25 22:36:48 +04: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
f5d55278d2 int -> QVariant for IconView::Flow 2013-03-25 22:15:00 +04:00
Luca Beltrame
0dc35cadbe Merge remote-tracking branch 'origin/KDE/4.10'
Ignat, can you check whether everything is correct? The general policy
in kde-baseapps when committing to stable branches is to commit in stable,
then merge to master.

CCMAIL: ignat.semenov@blue-systems.com

Conflicts:
	plasma/applets/folderview/folderview.cpp
	plasma/applets/folderview/folderview.h
2013-03-25 14:38:36 +01:00
Ignat Semenov
3b1bc8346f rename the applet to "Folder" 2013-03-25 16:18:01 +04:00
Aaron Seigo
8cd943f5c1 automatically focus the line edit when custom title is selected 2013-03-25 15:51:02 +04:00
Aaron Seigo
edd0e0405c buddies, tab order, click message 2013-03-25 15:50:49 +04:00
Aaron Seigo
3c9f0c2d5a a colon (:) after Title as per the gui guidelines 2013-03-25 15:50:31 +04:00
Ignat Semenov
4197a2b88b redo the title configuration ui
- move the title configuration UI to the Location page
- use one combobox + one lineedit
- use an enum instead of comparing strings
- clean up the code

BUG:313940
FIXED-IN:4.11
2013-03-25 15:49:20 +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
Ignat Semenov
050a8c33aa 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:41:56 +04:00
Aurélien Gâteau
d71127de44 Merge remote-tracking branch 'origin/KDE/4.10'
@emmanuel: this merge includes your fix from
https://git.reviewboard.kde.org/r/109488/ . I assume this is not a
problem.

CCMAIL: emmanuelpescosta099@gmail.com
2013-03-21 14:14:55 +01: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
Script Kiddy
3460b8d705 SVN_SILENT made messages (.desktop file) 2013-03-19 16:32:25 +01:00
Script Kiddy
cafcf8c7be SVN_SILENT made messages (.desktop file) 2013-03-18 08:51:35 +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
Pino Toscano
f8dda9345c i18n: use i18n instead of tr 2013-03-17 11:31:34 +01:00
Script Kiddy
595c406267 SVN_SILENT made messages (.desktop file) 2013-03-17 08:51:53 +01:00
Weng Xuetian
ffef5a7f4a Merge remote-tracking branch 'origin/KDE/4.10' 2013-03-16 00:47:11 -04:00