Commit graph

4112 commits

Author SHA1 Message Date
Emmanuel Pescosta b039392f34 Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient.
BUG: 303133
2012-08-14 22:02:24 +02:00
Amandeep Singh 9140d00259 Correcting code according to KDE Policy 2012-08-14 20:27:57 +05:30
David Faure 2517b66b79 Fix compiler warning, which spotted a real bug.
ItemLayout is an enum, not a flag, so == is even more correct than '&'.
2012-08-14 20:27:56 +05:30
David Faure bbf6c3af88 Fix bug 303375 - Dots in directory names treated as file extension.
Patch by Emmanuel Pescosta <emmanuelpescosta099@gmail.com>

BUG: 303375
REVIEW: 105575
FIXED-IN: 4.9.0
2012-08-14 20:27:56 +05:30
David Faure 0d2f099e86 Fix open-in-new-window to work with remote URLs
FIXED-IN: 4.9.0
BUGS: 274655, 292822
2012-08-14 20:27:56 +05:30
Amandeep Singh 7ac839a234 Reverting KListSelectionManager, removing unneccessary a11y factories 2012-08-14 20:27:56 +05:30
Amandeep Singh dc85bf39c9 Remove unneccessary dependency and polish the Accessibility Interfaces 2012-08-14 20:27:56 +05:30
Amandeep Singh 6770e617cb Enclose accessibility code within QT_NO_ACCESSIBILITY 2012-08-14 20:27:56 +05:30
Amandeep Singh 48fcc54aeb Adding calls to updateAccessibility
Items location changes when scrollbar is moved in dolphin.
Accordingly calls to updateAccessibility should be made.
2012-08-14 20:27:56 +05:30
Amandeep Singh 88b16b38ba Minor fixes to accessible interfaces 2012-08-14 20:27:56 +05:30
Amandeep Singh e43492a6d8 Focus-tracking for widgets in Dolphin View now works.
Added the calls to updateAccessibility, for DragDrop & Focus scenarios
2012-08-14 20:27:56 +05:30
Amandeep Singh 9437c93f07 Improving Accessibility implementation 2012-08-14 20:27:56 +05:30
Frederik Gladhorn 9149dc84b8 Accessibility: Implement rect for cells and view.
Remove comparison of QAccessibleInterfaces - these are pointers that get
instantiated again and again, so they cannot be compared. Use the object()
function in QAI instead for comparison.
2012-08-14 20:27:56 +05:30
Amandeep Singh 9def70cf8b Renaming the a11y classes and adding implementation 2012-08-14 20:27:56 +05:30
Frederik Gladhorn 6eb2884db0 Do not claim HasInvokeExtension.
This leads to crashes since it implies that
casting to QAccessible2Interface is valid.
2012-08-14 20:27:56 +05:30
Frederik Gladhorn ce1adc8f09 Remove some dubious code for now (crash less) 2012-08-14 20:27:56 +05:30
Frederik Gladhorn 0739a10a0c Add some fixmes, comment out broken rect() 2012-08-14 20:27:56 +05:30
Frederik Gladhorn c34fa9b025 Remove reimplementation of functions.
The base class implementations are actually good and without some problems.
Save one pointer's worth of memory by not having m_container.

rect was returning a relative rectangle always.

State was wrongly returning HasInvokeExtension which can lead to crashes.
2012-08-14 20:27:55 +05:30
Frederik Gladhorn cc7343815a Remove unused function.
And also bad use of "" instead of QString().
2012-08-14 20:27:55 +05:30
Frederik Gladhorn 9211640f39 Use KDebug in favor of qdebug. 2012-08-14 20:27:55 +05:30
Frederik Gladhorn ac2661d6ca Fix parent navigation for KItemListContainerAccessible. 2012-08-14 20:27:55 +05:30
Frederik Gladhorn af344f2eec Instantiate KItemListContainerAccessible when needed. 2012-08-14 20:27:55 +05:30
Amandeep Singh cd1d45c831 Adding the Accessibility classes 2012-08-14 20:27:55 +05:30
David Faure 00935edbde Fix compiler warning, which spotted a real bug.
ItemLayout is an enum, not a flag, so == is even more correct than '&'.
2012-08-13 22:29:44 +02:00
David Faure eb14263c48 Fix bug 303375 - Dots in directory names treated as file extension.
Patch by Emmanuel Pescosta <emmanuelpescosta099@gmail.com>

BUG: 303375
REVIEW: 105575
FIXED-IN: 4.9.0
2012-08-13 22:25:49 +02:00
David Faure 5fbe52c151 Fix open-in-new-window to work with remote URLs
FIXED-IN: 4.9.0
BUGS: 274655, 292822
2012-08-13 22:25:28 +02:00
Emmanuel Pescosta ab61d9d3ba Fix wrong text color in places and in folders panel.
FIXED-IN: 4.9.1
REVIEW: 105832
BUG: 303133
2012-08-13 19:10:50 +02:00
Emmanuel Pescosta 220d0d522d Fix wrong text color in places and in folders panel.
FIXED-IN: 4.9.1
REVIEW: 105832
BUG: 303133
2012-08-13 18:40:43 +02:00
Jekyll Wu a8cbc65550 Show icon size as tooltip when adjusting icon size
BUG:292700
FIXED-IN: 4.9.1
REVIEW: 105990
(cherry picked from commit 5e87cefd4c)
2012-08-13 16:45:22 +08:00
Jekyll Wu db54a5800e Swap shortcuts of "editable_location" and "replace_location" actions
That makes "Ctrl+L" less surprising to users who use it frequently in
web browsers

BUG: 183821
FIXED-IN: 4.10.0
REVIEW: 105994
2012-08-13 13:12:11 +08:00
Jekyll Wu a2ee6b1d01 Show icon size as tooltip when adjusting icon size
BUG:292700
FIXED-IN: 4.10.0
REVIEW: 105990
2012-08-13 13:12:11 +08:00
Script Kiddy cd1f32709c SVN_SILENT made messages (.desktop file) 2012-08-10 17:24:32 +02:00
Script Kiddy ddba0bcc3b SVN_SILENT made messages (.desktop file) 2012-08-10 12:09:12 +02:00
Frank Reininghaus e4d816a6aa Use a better icon for recently accessed items in the Places Panel
The problem with the icon "package_utility_time" that has been used
before was that it is not available on all distros. The new icon
"chronometer" should be available on every KDE install.

Thanks to Elias Probst for suggesting the new icon - I'm not that
familiar with the icons provided by KDE myself.

CCBUG: 304323
(cherry picked from commit d7e7ca53bb)
2012-08-09 23:55:21 +02:00
Frank Reininghaus bed9699414 Follow-up to d7e7ca53bb - use correct icon
I overlooked that "actions/" is not part of the icon name. Just
rebuilding and re-running Dolphin did not reveal this issue, it seems
that the old icon "package_utility_time" was still cached somewhere.

I hope that it really works on all distros now.

CCBUG: 304323
2012-08-09 23:52:51 +02:00
Frank Reininghaus 540fc3cde4 Use a better icon for recently accessed items in the Places Panel
The problem with the icon "package_utility_time" that has been used
before was that it is not available on all distros. The new icon
"actions/chronometer" should be available on every KDE install.

Thanks to Elias Probst for suggesting the new icon - I'm not that
familiar with the icons provided by KDE myself.

BUG: 304323
FIXED-IN: 4.9.1
2012-08-09 23:38:48 +02:00
Martin Sandsmark 0751d0b018 Use a saner check for multimedia files in infopanel.
Don't rely on the reported supported mimetypes from Phonon,
Phonon supports more than just video and audio, but if it is
video or audio there's a very good chance Phonon supports it.

(If the mime type isn't in the list returned by Phonon there's
still a good chance it supports it, because mime types are stupid.)

BUG: 252539
FIXED-IN: 4.9.1

(cherry picked from commit 2fb4419de0)
2012-08-09 10:44:14 +08:00
Martin Sandsmark 0adb88184b Use a saner check for multimedia files in infopanel.
Don't rely on the reported supported mimetypes from Phonon,
Phonon supports more than just video and audio, but if it is
video or audio there's a very good chance Phonon supports it.

(If the mime type isn't in the list returned by Phonon there's
still a good chance it supports it, because mime types are stupid.)

BUG: 252539
2012-08-09 03:27:11 +02:00
Frank Reininghaus 5ae3d9c0ae Fix the size of the rating stars in Icons View
Moreover, make sure that the selection rectangle is large enough to
include the stars.

Patch by Emmanuel Pescosta. Thanks for the patch!

CCBUG: 302624
REVIEW: 105830
(cherry picked from commit 146c77eaa2)
2012-08-07 22:55:45 +02:00
Frank Reininghaus e534bc08f0 Fix the size of the rating stars in Icons View
Moreover, make sure that the selection rectangle is large enough to
include the stars.

Patch by Emmanuel Pescosta. Thanks for the patch!

BUG: 302624
FIXED-IN: 4.9.1
REVIEW: 105830
2012-08-07 22:54:35 +02:00
Script Kiddy 3dcbca8be4 SVN_SILENT made messages (.desktop file) 2012-08-07 18:26:07 +02:00
Frank Reininghaus 0d742b44df Stop preview jobs when closing Dolphin
Patch by Benni Hill. Thanks for the patch!
CCBUG: 304467
(cherry picked from commit 4d39dbc962)
2012-08-06 02:32:16 +02:00
Frank Reininghaus d7f18f5284 Stop preview jobs when closing Dolphin
Patch by Benni Hill. Thanks for the patch!
BUG: 304467
FIXED-IN: 4.9.1
2012-08-06 02:27:49 +02:00
Script Kiddy 59fb4144c0 SVN_SILENT made messages (.desktop file) 2012-08-02 10:53:11 +02:00
Script Kiddy 28773a8801 SVN_SILENT made messages (.desktop file) 2012-07-30 09:50:07 +02:00
Patrick Spendrin c7cce33067 msvc needs to have the class definition for reference parameters in methods 2012-07-29 01:13:59 +02:00
Patrick Spendrin c62146f9ff msvc needs to have the class definition for reference parameters in methods 2012-07-29 01:11:21 +02:00
Script Kiddy 81bac38f2c SVN_SILENT made messages (.desktop file) 2012-07-24 19:23:37 +02:00
Dawit Alemayehu b80aed4e9f Show the "Find File" and "Open Terminal" actions in the Tools for file URLs only.
BUG: 279283
FIXED-IN: 4.9.0
REVIEW: 105607
(cherry picked from commit 9a622c16d9)
2012-07-22 17:30:18 -04:00
Dawit Alemayehu ec2d5c7a7f Show the "Find File" and "Open Terminal" actions in the Tools for file URLs only.
BUG: 279283
FIXED-IN: 4.9.0
REVIEW: 105607
2012-07-22 17:29:31 -04:00