]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
13 years agoFix Bug 309760 - Crash while inline-renaming a file and apply change with return-key
Emmanuel Pescosta [Fri, 9 Nov 2012 11:10:36 +0000 (12:10 +0100)]
Fix Bug 309760 - Crash while inline-renaming a file and apply change with return-key

BUG: 309760
FIXED-IN: 4.9.4

13 years agoPrevent crashes caused by nested event loops run when renaming inline
Frank Reininghaus [Mon, 5 Nov 2012 21:03:52 +0000 (22:03 +0100)]
Prevent crashes caused by nested event loops run when renaming inline

When renaming inline and starting a drag or invoking the context menu,
a nested event loop will be run. If the role editor loses focus and
emits roleEditingFinished(), we must prevent that deleteLater() is
called because this would delete the role editor inside a nested event
loop which is run from one of its own functions. We would get a crash
when returning from that event loop otherwise.

BUG: 308018
BUG: 309421
FIXED-IN: 4.9.4

13 years agoDo not use a hardcoded size for the buttons in the Information panel
Frank Reininghaus [Sun, 4 Nov 2012 13:39:49 +0000 (14:39 +0100)]
Do not use a hardcoded size for the buttons in the Information panel

Thanks to Kai Uwe Broulok and Jekyll Wu for the investigation!

BUG: 309498
FIXED-IN: 4.9.4

13 years agoRemoved customm setText for mtp devices and check for kio_mtp
Alex Fiestas [Wed, 31 Oct 2012 23:25:36 +0000 (00:25 +0100)]
Removed customm setText for mtp devices and check for kio_mtp

We are already checking if kio_mtp is installed when we build the
predicate so we don't need to check if it is installed again.

Also, the fix for "Showing the product as a name for some kind of
massive storage" will have to be delayed to 4.9.4, so removing this.

13 years agoDo not show an incorrect file name after a failed rename operation
Frank Reininghaus [Wed, 31 Oct 2012 22:06:39 +0000 (23:06 +0100)]
Do not show an incorrect file name after a failed rename operation

BUG: 303742
FIXED-IN: 4.9.3

13 years agoOnly store the HomeUrl in dolphinrc if it is not the user's home folder
Frank Reininghaus [Wed, 31 Oct 2012 21:43:40 +0000 (22:43 +0100)]
Only store the HomeUrl in dolphinrc if it is not the user's home folder

This fixes the problem that copying the dolphinrc from another user
results in Dolphin starting up in a folder that might wither not be
accessible or not exist at all.

BUG: 308569
FIXED-IN: 4.9.3

13 years agoFix Bug 309338 - flood of error boxes while renaming a folder in the folder panel
Emmanuel Pescosta [Wed, 31 Oct 2012 21:43:21 +0000 (22:43 +0100)]
Fix Bug 309338 - flood of error boxes while renaming a folder in the folder panel

BUG: 309338
FIXED-IN: 4.9.3
REVIEW: 107070

13 years agoFix Bug 279333 - Panels can be moved even if locked
Emmanuel Pescosta [Tue, 30 Oct 2012 22:10:43 +0000 (23:10 +0100)]
Fix Bug 279333 - Panels can be moved even if locked

BUG: 279333
FIXED-IN: 4.9.3
REVIEW: 107135

13 years agoWorkaround for failed comparison of items in KFileItemModelRolesUpdater
Frank Reininghaus [Sat, 27 Oct 2012 07:48:51 +0000 (09:48 +0200)]
Workaround for failed comparison of items in KFileItemModelRolesUpdater

The real fix is in the KDE/4.10 branch of kdelibs
(commit b8f64ca3f4b6311519c21046031d66d9d0a570c6). We work around the
problem that the KFileItem that a preview has been requested for is
different from the KFileItems in the sets m_pendingVisibleItems and
m_pendingInvisibleItems by refreshing those sets when we detect that
the bug has been triggered.

BUG: 304986
FIXED-IN: 4.9.3

13 years agoFix color role of tree view arrows
Christoph Feck [Thu, 25 Oct 2012 23:52:20 +0000 (01:52 +0200)]
Fix color role of tree view arrows

BUG: 307734
FIXED-IN: 4.9.3
REVIEW: 107031

13 years agoShow MTP devices in case support for it is installed
Alex Fiestas [Tue, 23 Oct 2012 23:21:02 +0000 (01:21 +0200)]
Show MTP devices in case support for it is installed

Basically adds a conditional that in case that mtp kioslave is installed
devices with MTP are added to the predicated.
REVIEW: 106651
(cherry picked from commit a09a23795050be4ad6e2c987614cb28096030cc8)

13 years agoFix race condition and deadlock in the version plugin
Simeon Bird [Sat, 20 Oct 2012 01:04:55 +0000 (21:04 -0400)]
Fix race condition and deadlock in the version plugin
when listing directories is slow.

BUG: 302264
FIXED-IN: 4.9.3

13 years agoUse not only Alt+Return, but also Alt+Enter as shortcut for "Properties"
Amol Godbole [Sun, 7 Oct 2012 17:37:32 +0000 (19:37 +0200)]
Use not only Alt+Return, but also Alt+Enter as shortcut for "Properties"

BUG: 307603
REVIEW: 106753
FIXED-IN: 4.9.3

13 years agoFix the hidden "EnlargeSmallPreviews" option
Frank Reininghaus [Wed, 3 Oct 2012 08:14:20 +0000 (10:14 +0200)]
Fix the hidden "EnlargeSmallPreviews" option

This option, introduced in 99e4eb0f3a58c53277b099114a5fd8945937fb9a, did
not work any more since 2069c200211c93e401c3d19850f41eade09d64be.

CCBUG: 307522

13 years agoFind out the main window by calling the parent widget's window() member
Frank Reininghaus [Sat, 29 Sep 2012 17:47:00 +0000 (19:47 +0200)]
Find out the main window by calling the parent widget's window() member

KFileItemModel calls the dir lister's setMainWindow() method to make
sure that the dir lister caches authentication data. However, the method
used to determine the main window (qApp->activeWindow()) is not
guaranteed to yield the DolphinMainWindow or the KonqMainWindow. In
particular, if "Split View" is enabled in Dolphin's settings dialog, the
active window is the dialog, and when it is closed, any later access to
the stored pointer leads to a crash.

A better method is to verify that the model's parent is a QWidget and
then use this widget's window(). I had to make a small modification in
DolphinMainWindow to make sure that it also works correctly when the
view is split (the new view container had been created with a 0 parent
previously).

I tested it in Dolphin and Konqueror and verified that the "main window"
passed to the dir lister is really the application's main window.

BUG: 306459
FIXED-IN: 4.9.3

13 years agoRedo the fix for CTRL+Tab not working when using Dolphin's filemanagement part
Dawit Alemayehu [Fri, 28 Sep 2012 17:56:51 +0000 (13:56 -0400)]
Redo the fix for CTRL+Tab not working when using Dolphin's filemanagement part
in Konqueror. The original fix, commit 4f7ed2b, prevents drag and drop from
working correctly.

CCBUG: 302329
REVIEW: 106569

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

Cherry-picked from 6892d39d292d4f64d808e64c58ef20fa081f0259

13 years agoAdd a new config option for the icon size in the Places Panel
Frank Reininghaus [Thu, 27 Sep 2012 06:11:53 +0000 (08:11 +0200)]
Add a new config option for the icon size in the Places Panel

To change the icon size in the Places Panel to, e.g., 60 pixels, add
the following lines to $KDEHOME/share/config/dolphinrc :

[PlacesPanel]
IconSize=60

A value of -1 means that the standard "Small" size should be used
(which has been the default before this commit).

It is planned to add an "Icon Size" submenu to the context menu of the
Places Panel in KDE 4.10, but we cannot do this in the 4.9 branch
because of the string freeze.

FIXED-IN: 4.9.2
BUG: 301959

13 years agoFix a Bug in KFileItemModelRolesUpdate::setEnabledPlugins.
Emmanuel Pescosta [Wed, 26 Sep 2012 15:36:51 +0000 (17:36 +0200)]
Fix a Bug in KFileItemModelRolesUpdate::setEnabledPlugins.
Changes were never overtaken because of a wrong comparison.

FIXED-IN: 4.9.2

13 years agoFixed CTRL+Tab not working when using Dolphin's filemanagement part in Konqueror.
Dawit Alemayehu [Tue, 25 Sep 2012 07:40:50 +0000 (03:40 -0400)]
Fixed CTRL+Tab not working when using Dolphin's filemanagement part in Konqueror.

BUG: 302329
FIXED-IN: 4.9.2
REVIEW: 106569

13 years agoFixes Bug 305783 - dragging a file over a directory #c4
Emmanuel Pescosta [Wed, 12 Sep 2012 17:33:28 +0000 (19:33 +0200)]
Fixes Bug 305783 - dragging a file over a directory #c4
     does not expand the dir => Bug discovered: When you drag a
     item onto a folder-view-item and then move it away
     instantly before the autoactivation event is triggered
     (After 750ms), the folder will be opened anyway.

BUG: 305783
REVIEW: 106381
FIXED-IN: 4.9.2
(cherry picked from commit 9ab8bcd6aa3ce5d96ee380d5f22d77c2f0a38881)

13 years agoFix crash when receiving Nepomuk info for a recently deleted file.
Frank Reininghaus [Mon, 24 Sep 2012 20:59:59 +0000 (22:59 +0200)]
Fix crash when receiving Nepomuk info for a recently deleted file.

BUG: 306036
FIXED-IN: 4.9.2

13 years agoFix Bug 297355 - Dolphin leaves file preview tooltips open even when is not visible
Emmanuel Pescosta [Thu, 20 Sep 2012 15:57:10 +0000 (17:57 +0200)]
Fix Bug 297355 - Dolphin leaves file preview tooltips open even when is not visible

BUG: 297355
FIXED-IN: 4.9.2
REVIEW: 106499

13 years agoRestore old behavior: Navigating by double-clicking in folder panel (Double-Click...
Emmanuel Pescosta [Thu, 20 Sep 2012 15:56:32 +0000 (17:56 +0200)]
Restore old behavior: Navigating by double-clicking in folder panel (Double-Click - show folder content and expand folder)

BUG: 295573
REVIEW: 106497
FIXED-IN: 4.9.2

13 years agoFixes Bug 304878 - Dolphin shows "ghost" folders in places after autofs umount nfs...
Emmanuel Pescosta [Thu, 20 Sep 2012 15:56:00 +0000 (17:56 +0200)]
Fixes Bug 304878 - Dolphin shows "ghost" folders in places after autofs umount nfs shares

BUG: 304878
REVIEW: 106456
FIXED-IN: 4.9.2

13 years agoFixes Bug 293200 - Drag&drop files in dolphin doesnt preserve origin
Emmanuel Pescosta [Wed, 19 Sep 2012 17:00:52 +0000 (19:00 +0200)]
Fixes Bug 293200 - Drag&drop files in dolphin doesnt preserve origin

Patch 106381 Comment #3:
When "Open folders during drag operations" is enabled, two things happen, both in the DolphinView and in the Folders Panel:

1) When hovering a folder that can be expanded (this is the case for folders with sub-folders in the Folders Panel and in the DolphinView if in Details View mode), toggle its "expanded" state.
2) When hovering a folder that can not be expanded (i.e., a folder without sub-folders or any folder in Icons or Compact View), open this folder in the DolphinView via the KItemListController's itemActivated(int) signal.

The bug described in bug 293200 comment 3 is that 1) is always wanted, but 2) is not wanted for the Folders Panel.

BUG: 293200
FIXED-IN: 4.9.2

13 years agoPrevent unwanted URL changes when using the Terminal Panel
Frank Reininghaus [Wed, 19 Sep 2012 07:28:22 +0000 (09:28 +0200)]
Prevent unwanted URL changes when using the Terminal Panel

The root cause of the problem was that TerminalPanel's member
m_konsolePartCurrentDirectory, which is used to determine in
TerminalPanel::sendCdToTerminal(QString& dir) if the Konsole part's
directory is aleady 'dir', such that issuing the 'cd' command is not
needed, was updated too late, namely when the part's
currentDirectoryChanged(QString) signal was received, which may be up
to one second after the 'cd' command.

When changing the directory from "dir1" to "dir2" and going back to
the "dir1" in less than one second (either by using the 'Back' action
or by activating a tab which still had "dir1" open), the 'cd dir1'
command was therefore suppressed because the Terminal Panel still
thought that "dir1" was the current directory in the part. However,
the directory of the part was actually "dir2", and when the
currentDirectoryChanged(QString) signal was received from the part, the
view's URL was set to "dir2" as well.

BUG: 306349
BUG: 304838
FIXED-IN: 4.9.2

13 years agoCorrected the compile fix commit, rev 965fc6b3.
Dawit Alemayehu [Wed, 12 Sep 2012 19:54:37 +0000 (15:54 -0400)]
Corrected the compile fix commit, rev 965fc6b3.

13 years agoRe-enable renaming items with the rename dialog
Frank Reininghaus [Wed, 12 Sep 2012 19:13:26 +0000 (21:13 +0200)]
Re-enable renaming items with the rename dialog

User feedback has shown that many users used the dialog for renaming
files. Since the dialog is still used when renaming multiple files, I
think there is no good reason not to use it for renaming single files
as well if the user wants.

Note that we cannot add an option in the settings dialog due to string
freeze issues. For the time being, you will have to add the line
"RenameInline=false" to the [General] section of
$KDEHOME/share/config/dolphinrc.

BUG: 304627
FIXED-IN: 4.9.2

13 years agoFix compile against the minimum required kdelibs version (v4.7.97)
Dawit Alemayehu [Tue, 11 Sep 2012 20:40:32 +0000 (16:40 -0400)]
Fix compile against the minimum required kdelibs version (v4.7.97)

13 years agoMount unmounted devices, when a file is dropped upon it in places-panel.
Emmanuel Pescosta [Tue, 11 Sep 2012 18:17:56 +0000 (20:17 +0200)]
Mount unmounted devices, when a file is dropped upon it in places-panel.

BUG: 176277
REVIEW: 106072
FIXED-IN: 4.9.2

(cherry picked from commit 824fa6a43734cf9ad2a690778c50bdaf76a1fb0e)

13 years agoFix possible crash when refreshing the view while renaming inline
Frank Reininghaus [Tue, 11 Sep 2012 17:43:53 +0000 (19:43 +0200)]
Fix possible crash when refreshing the view while renaming inline

It is not reproducible on every machine for me, but it seems that it can
happen that DolphinView's slot slotRoleEditingFinished() is invoked
after the items have already been removed from the model. In that case,
we have to return from the slot immediately to prevent a crash.

BUG: 306147
FIXED-IN: 4.9.2

13 years agoFix possible crash in KStandardItemListWidget::paint()
Frank Reininghaus [Tue, 11 Sep 2012 17:34:23 +0000 (19:34 +0200)]
Fix possible crash in KStandardItemListWidget::paint()

According to the backtrace in the bug report, it is possible that
KStandardItemListWidget::paint() is called if the hash m_textInfo has
not been initialised. The widget's index must be -1 in this case, see
KStandardItemListWidget::triggerCacheRefreshing(). It looks like this
can only happen if the item is about to be removed from the view, see
KItemListView::slotItemsRemoved().

I could not reproduce the crash, so I'm not sure why exactly this
happens, but this commit should at least prevent the crash.

BUG: 306167
FIXED-IN: 4.9.2

13 years agoUse a better icon for recently accessed items, part 2
Frank Reininghaus [Tue, 11 Sep 2012 17:25:20 +0000 (19:25 +0200)]
Use a better icon for recently accessed items, part 2

I had missed one places where the incorrect icon was used in my
previous commit d7e7ca53bb95c7555bbf107d92b47ac25eda1918.

BUG: 304323
FIXED-IN: 4.9.2

13 years agoImplemented the new KParts extension, KParts::ListingiNotificationExtension.
Dawit Alemayehu [Wed, 5 Sep 2012 02:26:28 +0000 (22:26 -0400)]
Implemented the new KParts extension, KParts::ListingiNotificationExtension.

REVIEW: 106333

13 years agoDo not show '-' for additional info which is not available for an item
Frank Reininghaus [Thu, 6 Sep 2012 05:51:22 +0000 (07:51 +0200)]
Do not show '-' for additional info which is not available for an item

I'm only backporting the removal of the '-', not the update for the
line number calculation in Icons View, because this is the safest part
of the patch and also the one that fixes the most annoying part of the
bug.

Thanks to Todd Jennings for the patch!
BUG: 304752
REVIEW: 106304
(cherry picked from commit 20b0cb68bf5cc1099fd6e61982817d9e2ae0130c)

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

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

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

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

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