]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
13 years agoFix wrong behaviour, when Dolphin is started with --split argument.
Emmanuel Pescosta [Fri, 24 Aug 2012 19:47:14 +0000 (21:47 +0200)]
Fix wrong behaviour, when Dolphin is started with --split argument.

Actual Results:
dolphin starts without split view

Expected Results:
dolphin starts with split view

New behaviour:
* no url given - use default url for all two views
* one url given - use given url for all two views
* two urls given - open the first url in the left view and the second url in the right view

BUG: 305538
REVIEW: 106171
FIXED-IN: 4.9.1

13 years agoDo not crash when finishing inline renaming in unusual ways
Frank Reininghaus [Fri, 24 Aug 2012 21:21:31 +0000 (23:21 +0200)]
Do not crash when finishing inline renaming in unusual ways

The crash was caused by a null pointer dereference when, e.g.,
minimizing Dolphin. The root cause was that
KStandardItemListWidget::closeRoleEditor() was called twice: once when
the role editor loses focus, and once again when the window is resized.
After m_roleEditor was set to 0, the second call dereferenced this null
pointer. I think the best solution is to disconnect from the role
editor's signals when the editor is not needed any more by the
KStandardItemListWidget.

CCBUG: 304524
(cherry picked from commit a9c2bdc3b53955693e716bbab58c318fe25bdc9b)

13 years agoDo not crash when finishing inline renaming in unusual ways
Frank Reininghaus [Fri, 24 Aug 2012 21:21:31 +0000 (23:21 +0200)]
Do not crash when finishing inline renaming in unusual ways

The crash was caused by a null pointer dereference when, e.g.,
minimizing Dolphin. The root cause was that
KStandardItemListWidget::closeRoleEditor() was called twice: once when
the role editor loses focus, and once again when the window is resized.
After m_roleEditor was set to 0, the second call dereferenced this null
pointer. I think the best solution is to disconnect from the role
editor's signals when the editor is not needed any more by the
KStandardItemListWidget.

BUG: 304524
FIXED-IN: 4.9.1

13 years agoFix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus
Frank Reininghaus [Fri, 24 Aug 2012 16:51:27 +0000 (18:51 +0200)]
Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus

For top-level roles like "Name" and "Size", the group translation is 0.
In that case, the "group" member of the corresponding RoleInfo struct
must be an empty string. This is expected by the code which generates
Dolphin's menus, which group the top-level roles into a sub menu with
the name "(I18N_EMPTY_MESSAGE)" otherwise. This is a recent regression
caused by 199fabbaa8d8a12fb49e4c9922c38ec8b033923c.

Thanks to Christoph Feck for investigating this issue!

CCBUG: 305228
(cherry picked from commit 168d0511c754008cc679589566d961beb9f6cc10)

13 years agoFix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus
Frank Reininghaus [Fri, 24 Aug 2012 16:51:27 +0000 (18:51 +0200)]
Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus

For top-level roles like "Name" and "Size", the group translation is 0.
In that case, the "group" member of the corresponding RoleInfo struct
must be an empty string. This is expected by the code which generates
Dolphin's menus, which group the top-level roles into a sub menu with
the name "(I18N_EMPTY_MESSAGE)" otherwise. This is a recent regression
caused by 199fabbaa8d8a12fb49e4c9922c38ec8b033923c.

Thanks to Christoph Feck for investigating this issue!

CCBUG: 305228

13 years agoFix includes
Christophe Giboudeaux [Fri, 24 Aug 2012 11:38:43 +0000 (13:38 +0200)]
Fix includes

13 years agoSelect the correct item in places-panel, when a directory is opened.
Emmanuel Pescosta [Sat, 18 Aug 2012 13:11:53 +0000 (15:11 +0200)]
Select the correct item in places-panel, when a directory is opened.

BUG: 304541
REVIEW: 106074
FIXED-IN: 4.9.1
(cherry picked from commit 1ec8de2c619006e3fe997fbf6074035d65dea6c5)

13 years agoSelect the correct item in places-panel, when a directory is opened.
Emmanuel Pescosta [Sat, 18 Aug 2012 13:11:53 +0000 (15:11 +0200)]
Select the correct item in places-panel, when a directory is opened.

BUG: 304541
REVIEW: 106074

13 years agoChanged the behaviour when middle clicking folders in places- and folders-dockwidget...
Emmanuel Pescosta [Sat, 18 Aug 2012 09:14:09 +0000 (11:14 +0200)]
Changed the behaviour when middle clicking folders in places- and folders-dockwidget. Now it opens the folders in a new background tab (General behaviour of Dolphin)

BUG: 196263
REVIEW: 106069

13 years agoRemove one unneeded #include
Jekyll Wu [Fri, 17 Aug 2012 07:47:09 +0000 (15:47 +0800)]
Remove one unneeded #include

13 years agoFix translations not showing in the Sort by and Additional Information submenus
Albert Astals Cid [Thu, 16 Aug 2012 20:27:12 +0000 (22:27 +0200)]
Fix translations not showing in the Sort by and Additional Information submenus

Acked by Frank
REVIEW: 106049
BUGS: 305228
FIXED-IN: 4.9.1
(cherry picked from commit 199fabbaa8d8a12fb49e4c9922c38ec8b033923c)

13 years agoFix translations not showing in the Sort by and Additional Information submenus
Albert Astals Cid [Thu, 16 Aug 2012 20:27:12 +0000 (22:27 +0200)]
Fix translations not showing in the Sort by and Additional Information submenus

Acked by Frank
REVIEW: 106049
BUGS: 305228
FIXED-IN: 4.9.1

13 years agoFix wrong text color in Places Group Header. Use QPalette::Window for base color...
Emmanuel Pescosta [Tue, 14 Aug 2012 20:02:24 +0000 (22:02 +0200)]
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
FIXED-IN: 4.9.1
(cherry picked from commit b3c3da985159a9627c079ad615cd77fc5f7bb72a)

13 years agoMerge branch 'master' of git://anongit.kde.org/kde-baseapps
Emmanuel Pescosta [Wed, 15 Aug 2012 13:00:51 +0000 (15:00 +0200)]
Merge branch 'master' of git://anongit.kde.org/kde-baseapps

13 years agoMerge branch 'ivan/dolphin-activities'
Ivan Čukić [Wed, 15 Aug 2012 06:24:17 +0000 (08:24 +0200)]
Merge branch 'ivan/dolphin-activities'
REVIEW:105973

13 years agoDolphin reporting opened locations to activity manager
Ivan Čukić [Fri, 10 Aug 2012 15:49:39 +0000 (17:49 +0200)]
Dolphin reporting opened locations to activity manager

13 years agoFix wrong text color in Places Group Header. Use QPalette::Window for base color...
Emmanuel Pescosta [Tue, 14 Aug 2012 20:02:24 +0000 (22:02 +0200)]
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

13 years agoCorrecting code according to KDE Policy
Amandeep Singh [Tue, 14 Aug 2012 14:57:35 +0000 (20:27 +0530)]
Correcting code according to KDE Policy

13 years agoFix compiler warning, which spotted a real bug.
David Faure [Fri, 20 Jul 2012 10:11:45 +0000 (12:11 +0200)]
Fix compiler warning, which spotted a real bug.

ItemLayout is an enum, not a flag, so == is even more correct than '&'.

13 years agoFix bug 303375 - Dots in directory names treated as file extension.
David Faure [Fri, 20 Jul 2012 10:09:04 +0000 (12:09 +0200)]
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

13 years agoFix open-in-new-window to work with remote URLs
David Faure [Wed, 18 Jul 2012 18:40:56 +0000 (20:40 +0200)]
Fix open-in-new-window to work with remote URLs

FIXED-IN: 4.9.0
BUGS: 274655, 292822

13 years agoReverting KListSelectionManager, removing unneccessary a11y factories
Amandeep Singh [Mon, 13 Aug 2012 18:02:50 +0000 (23:32 +0530)]
Reverting KListSelectionManager, removing unneccessary a11y factories

13 years agoRemove unneccessary dependency and polish the Accessibility Interfaces
Amandeep Singh [Mon, 13 Aug 2012 05:41:26 +0000 (11:11 +0530)]
Remove unneccessary dependency and polish the Accessibility Interfaces

13 years agoEnclose accessibility code within QT_NO_ACCESSIBILITY
Amandeep Singh [Fri, 10 Aug 2012 15:42:29 +0000 (21:12 +0530)]
Enclose accessibility code within QT_NO_ACCESSIBILITY

13 years agoAdding calls to updateAccessibility
Amandeep Singh [Fri, 10 Aug 2012 15:01:06 +0000 (20:31 +0530)]
Adding calls to updateAccessibility

Items location changes when scrollbar is moved in dolphin.
Accordingly calls to updateAccessibility should be made.

13 years agoMinor fixes to accessible interfaces
Amandeep Singh [Fri, 10 Aug 2012 05:10:47 +0000 (10:40 +0530)]
Minor fixes to accessible interfaces

13 years agoFocus-tracking for widgets in Dolphin View now works.
Amandeep Singh [Wed, 8 Aug 2012 12:55:21 +0000 (18:25 +0530)]
Focus-tracking for widgets in Dolphin View now works.

Added the calls to updateAccessibility, for DragDrop & Focus scenarios

13 years agoImproving Accessibility implementation
Amandeep Singh [Tue, 7 Aug 2012 18:40:20 +0000 (00:10 +0530)]
Improving Accessibility implementation

13 years agoAccessibility: Implement rect for cells and view.
Frederik Gladhorn [Tue, 7 Aug 2012 18:31:01 +0000 (20:31 +0200)]
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.

13 years agoRenaming the a11y classes and adding implementation
Amandeep Singh [Tue, 7 Aug 2012 14:12:50 +0000 (19:42 +0530)]
Renaming the a11y classes and adding implementation

13 years agoDo not claim HasInvokeExtension.
Frederik Gladhorn [Mon, 6 Aug 2012 16:32:58 +0000 (18:32 +0200)]
Do not claim HasInvokeExtension.

This leads to crashes since it implies that
casting to QAccessible2Interface is valid.

13 years agoRemove some dubious code for now (crash less)
Frederik Gladhorn [Mon, 6 Aug 2012 16:08:43 +0000 (18:08 +0200)]
Remove some dubious code for now (crash less)

13 years agoAdd some fixmes, comment out broken rect()
Frederik Gladhorn [Mon, 6 Aug 2012 16:00:57 +0000 (18:00 +0200)]
Add some fixmes, comment out broken rect()

13 years agoRemove reimplementation of functions.
Frederik Gladhorn [Mon, 6 Aug 2012 15:35:27 +0000 (17:35 +0200)]
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.

13 years agoRemove unused function.
Frederik Gladhorn [Mon, 6 Aug 2012 15:27:04 +0000 (17:27 +0200)]
Remove unused function.

And also bad use of "" instead of QString().

13 years agoUse KDebug in favor of qdebug.
Frederik Gladhorn [Mon, 6 Aug 2012 15:23:41 +0000 (17:23 +0200)]
Use KDebug in favor of qdebug.

13 years agoFix parent navigation for KItemListContainerAccessible.
Frederik Gladhorn [Mon, 6 Aug 2012 15:22:37 +0000 (17:22 +0200)]
Fix parent navigation for KItemListContainerAccessible.

13 years agoInstantiate KItemListContainerAccessible when needed.
Frederik Gladhorn [Mon, 6 Aug 2012 15:08:18 +0000 (17:08 +0200)]
Instantiate KItemListContainerAccessible when needed.

13 years agoAdding the Accessibility classes
Amandeep Singh [Mon, 6 Aug 2012 12:10:30 +0000 (17:40 +0530)]
Adding the Accessibility classes

13 years agoFix compiler warning, which spotted a real bug.
David Faure [Fri, 20 Jul 2012 10:11:45 +0000 (12:11 +0200)]
Fix compiler warning, which spotted a real bug.

ItemLayout is an enum, not a flag, so == is even more correct than '&'.

13 years agoFix bug 303375 - Dots in directory names treated as file extension.
David Faure [Fri, 20 Jul 2012 10:09:04 +0000 (12:09 +0200)]
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

13 years agoFix open-in-new-window to work with remote URLs
David Faure [Wed, 18 Jul 2012 18:40:56 +0000 (20:40 +0200)]
Fix open-in-new-window to work with remote URLs

FIXED-IN: 4.9.0
BUGS: 274655, 292822

13 years agoFix wrong text color in places and in folders panel.
Emmanuel Pescosta [Mon, 13 Aug 2012 16:40:43 +0000 (18:40 +0200)]
Fix wrong text color in places and in folders panel.

FIXED-IN: 4.9.1
REVIEW: 105832
BUG: 303133

13 years agoFix wrong text color in places and in folders panel.
Emmanuel Pescosta [Mon, 13 Aug 2012 16:40:43 +0000 (18:40 +0200)]
Fix wrong text color in places and in folders panel.

FIXED-IN: 4.9.1
REVIEW: 105832
BUG: 303133

13 years agoShow icon size as tooltip when adjusting icon size
Jekyll Wu [Sat, 11 Aug 2012 08:06:10 +0000 (16:06 +0800)]
Show icon size as tooltip when adjusting icon size

BUG:292700
FIXED-IN: 4.9.1
REVIEW: 105990
(cherry picked from commit 5e87cefd4c17467c3a650b133dc9bdadea22f9f7)

13 years agoSwap shortcuts of "editable_location" and "replace_location" actions
Jekyll Wu [Sun, 12 Aug 2012 14:18:50 +0000 (22:18 +0800)]
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

13 years agoShow icon size as tooltip when adjusting icon size
Jekyll Wu [Sat, 11 Aug 2012 08:06:10 +0000 (16:06 +0800)]
Show icon size as tooltip when adjusting icon size

BUG:292700
FIXED-IN: 4.10.0
REVIEW: 105990

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 10 Aug 2012 15:24:32 +0000 (17:24 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 10 Aug 2012 10:09:12 +0000 (12:09 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoUse a better icon for recently accessed items in the Places Panel
Frank Reininghaus [Thu, 9 Aug 2012 21:38:48 +0000 (23:38 +0200)]
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 d7e7ca53bb95c7555bbf107d92b47ac25eda1918)

13 years agoFollow-up to d7e7ca53bb95c7555bbf107d92b47ac25eda1918 - use correct icon
Frank Reininghaus [Thu, 9 Aug 2012 21:52:51 +0000 (23:52 +0200)]
Follow-up to d7e7ca53bb95c7555bbf107d92b47ac25eda1918 - 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

13 years agoUse a better icon for recently accessed items in the Places Panel
Frank Reininghaus [Thu, 9 Aug 2012 21:38:48 +0000 (23:38 +0200)]
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

13 years agoUse a saner check for multimedia files in infopanel.
Martin Sandsmark [Thu, 9 Aug 2012 01:27:11 +0000 (03:27 +0200)]
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 2fb4419de053c43a0a70ffb21920db687fa87b6e)

13 years agoUse a saner check for multimedia files in infopanel.
Martin Sandsmark [Thu, 9 Aug 2012 01:27:11 +0000 (03:27 +0200)]
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

13 years agoFix the size of the rating stars in Icons View
Frank Reininghaus [Tue, 7 Aug 2012 20:52:31 +0000 (22:52 +0200)]
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 146c77eaa226915cd3cd01e112fcde42fd8c06c4)

13 years agoFix the size of the rating stars in Icons View
Frank Reininghaus [Tue, 7 Aug 2012 20:52:31 +0000 (22:52 +0200)]
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

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 7 Aug 2012 16:26:07 +0000 (18:26 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoStop preview jobs when closing Dolphin
Frank Reininghaus [Mon, 6 Aug 2012 00:21:23 +0000 (02:21 +0200)]
Stop preview jobs when closing Dolphin

Patch by Benni Hill. Thanks for the patch!
CCBUG: 304467
(cherry picked from commit 4d39dbc9620cd30826bfab4a42cf31702aeac6d8)

13 years agoStop preview jobs when closing Dolphin
Frank Reininghaus [Mon, 6 Aug 2012 00:21:23 +0000 (02:21 +0200)]
Stop preview jobs when closing Dolphin

Patch by Benni Hill. Thanks for the patch!
BUG: 304467
FIXED-IN: 4.9.1

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 2 Aug 2012 08:53:11 +0000 (10:53 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 30 Jul 2012 07:50:07 +0000 (09:50 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agomsvc needs to have the class definition for reference parameters in methods
Patrick Spendrin [Sat, 28 Jul 2012 23:11:21 +0000 (01:11 +0200)]
msvc needs to have the class definition for reference parameters in methods

13 years agomsvc needs to have the class definition for reference parameters in methods
Patrick Spendrin [Sat, 28 Jul 2012 23:11:21 +0000 (01:11 +0200)]
msvc needs to have the class definition for reference parameters in methods

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 24 Jul 2012 17:23:37 +0000 (19:23 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoShow the "Find File" and "Open Terminal" actions in the Tools for file URLs only.
Dawit Alemayehu [Wed, 18 Jul 2012 02:47:10 +0000 (22:47 -0400)]
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 9a622c16d969a39571b610304db759f941b5d4f3)

13 years agoShow the "Find File" and "Open Terminal" actions in the Tools for file URLs only.
Dawit Alemayehu [Wed, 18 Jul 2012 02:47:10 +0000 (22:47 -0400)]
Show the "Find File" and "Open Terminal" actions in the Tools for file URLs only.

BUG: 279283
FIXED-IN: 4.9.0
REVIEW: 105607

13 years agoFix compiler warning, which spotted a real bug.
David Faure [Fri, 20 Jul 2012 10:11:45 +0000 (12:11 +0200)]
Fix compiler warning, which spotted a real bug.

ItemLayout is an enum, not a flag, so == is even more correct than '&'.

13 years agoFix bug 303375 - Dots in directory names treated as file extension.
David Faure [Fri, 20 Jul 2012 10:09:04 +0000 (12:09 +0200)]
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

13 years agoFix open-in-new-window to work with remote URLs
David Faure [Wed, 18 Jul 2012 18:40:56 +0000 (20:40 +0200)]
Fix open-in-new-window to work with remote URLs

FIXED-IN: 4.9.0
BUGS: 274655, 292822

13 years agoRespect platform's icon sizes
Christoph Feck [Tue, 17 Jul 2012 23:22:55 +0000 (01:22 +0200)]
Respect platform's icon sizes

Use QStyle icon sizes instead of hard coding 16 or 32 pixels.
Using styles that follow KDE settings (every KStyle, e.g.
Oxygen) the icon sizes can be configured by the user in
System Settings.

The size for the icon/details view can be later changed
by the user, overriding the defaults. The icon size for the
places panel is not (yet?) configurable separately.

(Not resolving the bug, see comment in review request)

CCBUG: 301959
REVIEW: 105548
(cherry picked from commit 79211f6e48d33b6be235811912061fda265fefb6)

13 years agoRespect platform's icon sizes
Christoph Feck [Tue, 17 Jul 2012 23:22:55 +0000 (01:22 +0200)]
Respect platform's icon sizes

Use QStyle icon sizes instead of hard coding 16 or 32 pixels.
Using styles that follow KDE settings (every KStyle, e.g.
Oxygen) the icon sizes can be configured by the user in
System Settings.

The size for the icon/details view can be later changed
by the user, overriding the defaults. The icon size for the
places panel is not (yet?) configurable separately.

(Not resolving the bug, see comment in review request)

CCBUG: 301959
REVIEW: 105548

13 years agoRe-implement dropping of files on folders in the Places Panel.
Frank Reininghaus [Wed, 11 Jul 2012 22:27:53 +0000 (00:27 +0200)]
Re-implement dropping of files on folders in the Places Panel.

This resolves a regression caused by the Places Panel rewrite. There is
a small glitch left when reordering items (dragging below the last or
above the first item only shows the drop indicator when first dragging
out of the item and then back), but I prefer not to fix this glitch
right now because this would require a more intrusive change, and I do
not want to risk regressions because is not much time left to fix them
before 4.9.0 is released.

Thanks to Peter Penz for providing some advice about this issue.

BUG: 302557
FIXED-IN: 4.9.0
(cherry picked from commit f4c960025167b7c7e04e1290ac9d9fee03a9b62d)

13 years agoUse the right name when adding a folder to Places with the context menu
Frank Reininghaus [Tue, 10 Jul 2012 06:23:14 +0000 (08:23 +0200)]
Use the right name when adding a folder to Places with the context menu

Without this patch, the name of the parent folder was used for the entry
in the Places Panel. Will backport to the KDE/4.9 branch when the RC2
freeze is over.

Thanks to Daniel Kreuter for the patch!

BUG: 303157
FIXED-IN: 4.9.0
(cherry picked from commit 9940244ddd68fabf2979b9c0832105e43d725619)

13 years agoRe-implement dropping of files on folders in the Places Panel.
Frank Reininghaus [Wed, 11 Jul 2012 22:27:53 +0000 (00:27 +0200)]
Re-implement dropping of files on folders in the Places Panel.

This resolves a regression caused by the Places Panel rewrite. There is
a small glitch left when reordering items (dragging below the last or
above the first item only shows the drop indicator when first dragging
out of the item and then back), but I prefer not to fix this glitch
right now because this would require a more intrusive change, and I do
not want to risk regressions because is not much time left to fix them
before 4.9.0 is released.

Thanks to Peter Penz for providing some advice about this issue.

CCBUG: 302557

13 years agoAsk before opening more than 5 items.
Chirag Anand [Tue, 10 Jul 2012 18:43:53 +0000 (00:13 +0530)]
Ask before opening more than 5 items.

Thanks to A JANARDHAN REDDY for the patch.
CCBUG: 54990
CCMAIL: annapareddyjanardhanreddy@gmail.com

13 years agoUse the right name when adding a folder to Places with the context menu
Frank Reininghaus [Tue, 10 Jul 2012 06:23:14 +0000 (08:23 +0200)]
Use the right name when adding a folder to Places with the context menu

Without this patch, the name of the parent folder was used for the entry
in the Places Panel. Will backport to the KDE/4.9 branch when the RC2
freeze is over.

Thanks to Daniel Kreuter for the patch!

CCBUG: 303157

13 years agoChange of Dolphin Maintainership (patch by Peter Penz)
Frank Reininghaus [Tue, 10 Jul 2012 06:12:16 +0000 (08:12 +0200)]
Change of Dolphin Maintainership (patch by Peter Penz)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 9 Jul 2012 09:10:38 +0000 (11:10 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoIncrease version to 2.1
Peter Penz [Sun, 24 Jun 2012 14:45:58 +0000 (16:45 +0200)]
Increase version to 2.1

13 years agoAdd the missing "FileTools" category suggested by FDO menu spec.
Jekyll Wu [Mon, 18 Jun 2012 01:42:36 +0000 (09:42 +0800)]
Add the missing "FileTools" category suggested by FDO menu spec.

REVIEW: 105288

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 18 Jun 2012 08:06:11 +0000 (10:06 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoAllow to customize text for system-bookmarks
Peter Penz [Sat, 16 Jun 2012 20:31:39 +0000 (22:31 +0200)]
Allow to customize text for system-bookmarks

BUG: 301339
FIXED-IN: 4.9.0

13 years agoRenaming: Don't select unknown extensions
Peter Penz [Sat, 16 Jun 2012 20:51:39 +0000 (22:51 +0200)]
Renaming: Don't select unknown extensions

If a file with an unknown extension gets renamed, it is assumed
that the letters after the last point represent the extension and
won't be selected.

BUG: 301893
FIXED-IN: 4.9.0

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 16 Jun 2012 10:13:06 +0000 (12:13 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoUpdate the URL if the accessibility has been changed
Peter Penz [Fri, 15 Jun 2012 09:36:41 +0000 (11:36 +0200)]
Update the URL if the accessibility has been changed

CCBUG: 301071

13 years agoFix regression: Open file if entering it in the URL-navigator
Peter Penz [Wed, 13 Jun 2012 13:15:54 +0000 (15:15 +0200)]
Fix regression: Open file if entering it in the URL-navigator

The regression has been introduced when hiding the DolphinDirLister
inside KFileItemModel. Now the signal urlIsFileError() gets forwarded
to the container again where the file will be opened.

BUG: 301757
FIXED-IN: 4.9.0

13 years agoDrag pixmap: Turn off the hover-state
Peter Penz [Tue, 12 Jun 2012 11:25:59 +0000 (13:25 +0200)]
Drag pixmap: Turn off the hover-state

13 years agoDrag-pixmap fixes
Peter Penz [Tue, 12 Jun 2012 11:19:16 +0000 (13:19 +0200)]
Drag-pixmap fixes

- Don't use the selection-tinted icon when dragging a single item
- Decrease the vertical gap for the hotspot
- Prevent drawing tree-lines when dragging items for the Places Panel

CCBUG: 301624

13 years agoUpdate "isExpandable" and "size"-roles
Peter Penz [Mon, 11 Jun 2012 13:43:49 +0000 (15:43 +0200)]
Update "isExpandable" and "size"-roles

If the "isExpandable"- or "size"-role is shown for a folder, the
number of sub-items must be watched to be able to update the
state of those 2 roles.

This fixes the issue that e.g. no expanding-toggle is shown
if an sub-directory has been created inside an empty directory.

BUG: 293972
FIXED-IN: 4.9.0

13 years agoFolders Panel: Also count directory links
Peter Penz [Sat, 9 Jun 2012 11:34:27 +0000 (13:34 +0200)]
Folders Panel: Also count directory links

... otherwise no expansion toggle will be shown. The implementation
is a compromise between performance and correctness: If the directory
contains links that are not directories, an unnecessary expansion
toggle will be shown. But this is better than showing no expansion
toggle in case if the directory contains links that point to other
directories.

BUG: 299997
FIXED-IN: 4.9.0

13 years agoInline renaming: ESC should cancel the renaming
Peter Penz [Sat, 9 Jun 2012 11:01:19 +0000 (13:01 +0200)]
Inline renaming: ESC should cancel the renaming

When emitting the roleEditingCanceled-signal it must be prevented
that a roleEditingFinished-signal is emitted because of some
action taken in the receiver-slot.

BUG: 301480
FIXED-IN: 4.9.0

13 years agoInline renaming: Improve focus handling
Peter Penz [Fri, 8 Jun 2012 20:43:43 +0000 (22:43 +0200)]
Inline renaming: Improve focus handling

Fix issue that cancelling the inline-renaming by clicking
on the other split view applies the wrong focus.

Thanks to Frank Reininghaus for the initial patch and noticing
this issue.

CCBUG: 301252

13 years agoFix wrong loading of sort-role
Peter Penz [Fri, 8 Jun 2012 20:30:04 +0000 (22:30 +0200)]
Fix wrong loading of sort-role

13 years agoKrazy fixes
Peter Penz [Fri, 8 Jun 2012 20:07:59 +0000 (22:07 +0200)]
Krazy fixes

13 years agoInline renaming fixes
Peter Penz [Fri, 8 Jun 2012 14:39:13 +0000 (16:39 +0200)]
Inline renaming fixes

- Don't use an outdated KFileItem when renaming an item more than once
- Use the same font as the view
- Don't lose the focus when an editor-popup is shown

BUG: 299327
BUG: 298883
BUG: 301253
FIXED-IN: 4.9.0

13 years agoEmit zoomLevelChanged() if the preview gets toggled
Peter Penz [Thu, 7 Jun 2012 21:28:21 +0000 (23:28 +0200)]
Emit zoomLevelChanged() if the preview gets toggled

13 years agoHide "Recently Accessed" and "Search for" if indexing is disabled
Peter Penz [Thu, 7 Jun 2012 21:08:05 +0000 (23:08 +0200)]
Hide "Recently Accessed" and "Search for" if indexing is disabled

The bookmarks for "Recently Accessed" and "Search for" require
enabled indexing not only an enabled Nepomuk.

BUG: 301340
FIXED-IN: 4.9.0

13 years agoSetup storage device if needed
Peter Penz [Thu, 7 Jun 2012 20:59:16 +0000 (22:59 +0200)]
Setup storage device if needed

BUG: 301071
FIXED-IN: 4.9.0

13 years agoCtrl+Shift+click should have the same effect as Shift+click
Frank Reininghaus [Sun, 3 Jun 2012 21:03:27 +0000 (23:03 +0200)]
Ctrl+Shift+click should have the same effect as Shift+click

This makes Dolphin 2.0's behaviour consistent with Dolphin 1.x.

BUG: 300788
FIXED-IN: 4.9.0

13 years agoPrepend "cd" and "clear" commands with a space in the Terminal Panel
Frank Reininghaus [Sun, 3 Jun 2012 20:50:05 +0000 (22:50 +0200)]
Prepend "cd" and "clear" commands with a space in the Terminal Panel

This prevents that these commands, which have not been enetered by the
user, but generated automatically, appear in the shell history, provided
that the shell is configured appropriately.

BUG: 204039
FIXED-IN: 4.9.0