]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
13 years agoImplemented the new KParts' listing filter extension, KParts::ListingFilterExtension.
Dawit Alemayehu [Mon, 3 Sep 2012 21:53:03 +0000 (17:53 -0400)]
Implemented the new KParts' listing filter extension, KParts::ListingFilterExtension.

REVIEW: 106289
(cherry picked from commit cb79ee6a881e2b4418bccc22480e3e269e5b0af9)

13 years agoDolphin Places: Only show file results in Nepomuk Queries
Vishesh Handa [Thu, 30 Aug 2012 11:01:34 +0000 (16:31 +0530)]
Dolphin Places: Only show file results in Nepomuk Queries

Dolphin is a file manager, and shouldn't be concerned with non-file
resources like notes, contacts and other stuff.

Use FileQuery instead of Query.

This also results in a faster queries. With File Queries Nepomuk can
perform some internal optimizations.

BUG: 306029
REVIEW: 106274

13 years agofix missing enum
Weng Xuetian [Wed, 29 Aug 2012 11:43:03 +0000 (07:43 -0400)]
fix missing enum

REVIEW: 106239

13 years agoMake --select can automatically scroll to the selected file.
Weng Xuetian [Mon, 27 Aug 2012 17:55:17 +0000 (13:55 -0400)]
Make --select can automatically scroll to the selected file.

REVIEW: 106209

13 years agoMerge branch 'KDE/4.9'
Raphael Kubo da Costa [Sun, 26 Aug 2012 04:30:51 +0000 (01:30 -0300)]
Merge branch 'KDE/4.9'

`git merge -s recursive --log --edit KDE/4.9' was run first, and it looked
like the only conflicts were in some docbooks. I then aborted the merge and
ran `git merge' with `-Xours' to use this branch's version of the
conflicting files.

Even though a lot of changes are listed below, all but the last two are
already present in master because they were cherry-picked from one branch to
another.

Hopefully this sets a trend and people start using git as it was intended to
be used.

* KDE/4.9: (50 commits)
  Adjust to Ark's drag'n'drop D-Bus interface changes.
  Adjust to Ark's drag'n'drop D-Bus interface changes.
  Fix wrong behaviour, when Dolphin is started with --split argument.
  Do not crash when finishing inline renaming in unusual ways
  Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus
  Select the correct item in places-panel, when a directory is opened.
  SVN_SILENT made messages (.desktop file)
  avoid duplicate entries in konqueror address completion list
  Fix translations not showing in the Sort by and Additional Information submenus
  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.
  Fix wrong text color in places and in folders panel.
  Show icon size as tooltip when adjusting icon size
  Fix a long standing security issue with the hiding of Konqueror's location (address) bar through javascript.
  Fixed the display of the security sheild icon for SSL sites.
  SVN_SILENT made messages (.desktop file)
  Follow-up to d7e7ca53bb95c7555bbf107d92b47ac25eda1918 - use correct icon
  Use a better icon for recently accessed items in the Places Panel
  Use a saner check for multimedia files in infopanel.
  Fix the size of the rating stars in Icons View
  Stop preview jobs when closing Dolphin
  ...

13 years agoAdjust to Ark's drag'n'drop D-Bus interface changes.
Raphael Kubo da Costa [Fri, 24 Aug 2012 01:58:05 +0000 (22:58 -0300)]
Adjust to Ark's drag'n'drop D-Bus interface changes.

Ark's drag'n'drop D-Bus interface needs to be changed: so far, the object
path was always /DndExtract, but this does not work if Ark is being used as
an embedded KPart (in Konqueror or Rekonq, for example), as all tabs will
end up calling QDBusConnection::registerObject() with the same path. Only
the first call will work, and the result is that dragging and dropping from
any tab previewing an archive with Ark will extract from the first archive
being previewed.

To fix that, applications that accept the application/x-kde-dndextract
mimetype should now be adjusted to check the
application/x-kde-ark-dndextract-service and
application/x-kde-ark-dndextract-path ones instead; the former contains the
same service information that used to be passed, while the latter tells
which object path should be talked to.

This is the Dolphin part of the change, which also needs to be made to
the folderview plasmoid.

REVIEW: 106131
CCBUG: 304860

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

(cherry picked from commit d430a1c3b3c7485149f5486e38f4188074d09c0d)

13 years agoMerge branch 'KDE/4.9' of git://anongit.kde.org/kde-baseapps into KDE/4.9
Emmanuel Pescosta [Fri, 24 Aug 2012 21:58:49 +0000 (23:58 +0200)]
Merge branch 'KDE/4.9' of git://anongit.kde.org/kde-baseapps into KDE/4.9

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 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

13 years agoHide tooltip when changing the zoomlevel
Peter Penz [Sat, 2 Jun 2012 15:41:20 +0000 (17:41 +0200)]
Hide tooltip when changing the zoomlevel

BUG: 301056
FIXED-IN: 4.9.0

13 years agoAlways support a moving animation in case of the details view
Peter Penz [Sat, 2 Jun 2012 14:08:13 +0000 (16:08 +0200)]
Always support a moving animation in case of the details view

This fixes the issue that resizing items results in flickering
when expandable items are shown.

13 years agoDon't remove/insert an item if no moving has been done at all
Peter Penz [Sat, 2 Jun 2012 13:53:16 +0000 (15:53 +0200)]
Don't remove/insert an item if no moving has been done at all

13 years agoProvide a default name when adding a search query to the places panel
Peter Penz [Sat, 2 Jun 2012 13:45:40 +0000 (15:45 +0200)]
Provide a default name when adding a search query to the places panel

BUG: 300430
FIXED-IN: 4.9.0

13 years agoUse PlacesItemModel instead of KFilePlacesModel
Peter Penz [Sat, 2 Jun 2012 13:02:34 +0000 (15:02 +0200)]
Use PlacesItemModel instead of KFilePlacesModel

This allows inserting items to the corresponding group.

13 years agoAlways use single-click for the places panels
Peter Penz [Thu, 31 May 2012 12:03:00 +0000 (14:03 +0200)]
Always use single-click for the places panels

BUG: 300924
FIXED-IN: 4.9.0

13 years agoImprove arrow key navigation in Details View with expanded folders
Frank Reininghaus [Wed, 30 May 2012 07:21:32 +0000 (09:21 +0200)]
Improve arrow key navigation in Details View with expanded folders

If the current folder is collapsed, pressing the left arrow key now
moves the focus to the parent folder.

CCBUG: 300582
(cherry picked from commit 93daadae28f7e3b5cffd7b713a2a287e4fa62ccd)

13 years agoGet rid of obsolete DolphinPlacesModel
Peter Penz [Tue, 29 May 2012 11:13:32 +0000 (13:13 +0200)]
Get rid of obsolete DolphinPlacesModel

13 years agoImplement dropping of items into the Places Panel
Peter Penz [Mon, 28 May 2012 21:10:20 +0000 (23:10 +0200)]
Implement dropping of items into the Places Panel

Some polishing regarding the icons and group-alignment must still
be done, but at least the basic functionality is back again.

13 years agoFix triggering of Q_ASSERT in PlacesItemModel
Peter Penz [Sat, 26 May 2012 19:59:07 +0000 (21:59 +0200)]
Fix triggering of Q_ASSERT in PlacesItemModel

Check the group-type of an item to decide whether the item
should be inserted as device or not.

BUG: 300671
FIXED-IN: 4.9.0

13 years agoMake tooltip background blurred.
Mark Gaiser [Sat, 26 May 2012 16:05:25 +0000 (18:05 +0200)]
Make tooltip background blurred.

REVIEW: 105061

13 years agoShow all items in the directory when the name filter is cleared
Frank Reininghaus [Sat, 26 May 2012 14:29:51 +0000 (16:29 +0200)]
Show all items in the directory when the name filter is cleared

The problem was the following: While a QMutableSetIterator iterates the
items in the QSet m_filteredItems, all items that match the new filter
are removed from the set. However, to ensure that the iterator still
reaches all items in the set, one must not use QSet::remove(), but
rather the iterator's remove() method (see QMutableSetIterator docs).

CCBUG: 300504
(cherry picked from commit 288473a96cdd8888f7fc91d0a551d6cbde5fd5dc)

13 years agoUse an italic font for symbolic links
Frank Reininghaus [Sat, 26 May 2012 13:32:57 +0000 (15:32 +0200)]
Use an italic font for symbolic links

BUG: 298218
FIXED-IN: 4.9.0

13 years agoMinor coding style fixes
Peter Penz [Sat, 26 May 2012 11:46:10 +0000 (13:46 +0200)]
Minor coding style fixes