]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
12 years agoEnsure that the "Sort by Type" setting is respected
Frank Reininghaus [Tue, 18 Jun 2013 15:39:56 +0000 (17:39 +0200)]
Ensure that the "Sort by Type" setting is respected

Before this commit, switching from, e.g., "Sort by Name" to "Sort by
Type" sometimes had no effect until the view was refreshed. The problem
was that the re-sorting was triggered before the type information was
actually added to the model.

BUG: 310705
BUG: 312014
FIXED-IN: 4.10.5
REVIEW: 111004

12 years agoDo not rename files unexpectedly when changing the URL
Frank Reininghaus [Sun, 9 Jun 2013 10:14:26 +0000 (12:14 +0200)]
Do not rename files unexpectedly when changing the URL

This is the real fix now - note that the last commit
4de9a233642a62ee96bac6031340d3eea21f14f9 was actually the fix for bug
320823. Somehow, I have messed up the local branches in my git
respository clone - sorry for the confusion!

BUG: 319912
FIXED-IN: 4.10.5
REVIEW: 110908

12 years agoDo not rename files unexpectedly when changing the URL
Frank Reininghaus [Mon, 10 Jun 2013 19:15:53 +0000 (21:15 +0200)]
Do not rename files unexpectedly when changing the URL

If the role editor loses focus, it considers the current renaming
operation finished, and tells DolphinView to rename the file. This is a
problem when changing the directory, because the URL change happens
before DolphinView receives the signal, which results in a file in the
new directory being renamed unexpectedly.

The solution is to establish the connection to the
slotRoleEditingFinished signal only when the "rename inline" editor is
opened, and disconnect it when renaming is finished or canceled or the
URL changes.

BUG: 319912
FIXED-IN: 4.10.5
REVIEW: 110908

12 years agoDo not reset the 'isExpanded' state when an expanded folder is refreshed
Frank Reininghaus [Wed, 22 May 2013 16:14:21 +0000 (18:14 +0200)]
Do not reset the 'isExpanded' state when an expanded folder is refreshed

If an item is moved out of an expanded folder, the model receives the
dir lister's refreshItems signal for the folder. The method
retrieveData() then updates the folder's properties. This commit makes
sure that the 'isExpanded' state is not touched by retrieveData(). A
side-effect is that the 'isExpanded' role is not initialized to 'false',
but this does not matter because trying to read a non-existing role from
the QHash<QByteArray, QVariant> yields a default-constructed QVariant,
which evaluates to 'false'.

BUG: 299675
FIXED-IN: 4.10.4
REVIEW: 110401

12 years agoKFileItemModelRolesUpdater: only update the size for changed folders
Frank Reininghaus [Wed, 22 May 2013 16:06:54 +0000 (18:06 +0200)]
KFileItemModelRolesUpdater: only update the size for changed folders

When using inotify, we also receive signals for modified files, even if
we only ask KDirWatch to watch the directory containing them. In that
case, we must not set the size to -1 (which means "unknown number of
items" for folders) temporarily, or we end up with an apparent file size
of 2^64 - 1 bytes.

BUG: 309740
FIXED-IN: 4.10.4
REVIEW: 110428

12 years agoDolphinSearchBox setReadOnly: Update if either of the parameters change
Vishesh Handa [Mon, 6 May 2013 13:48:11 +0000 (19:18 +0530)]
DolphinSearchBox setReadOnly: Update if either of the parameters change

This way when another read only query is added, the internal state is
changed and the search label gets updated.

REVIEW: 110324
BUG: 315796
FIXED-IN: 4.10.4

12 years agoFix unit test failure
Frank Reininghaus [Sun, 12 May 2013 07:30:20 +0000 (09:30 +0200)]
Fix unit test failure

The recent commit 022b564831e2295ee3bb6e53ece53191b40d894a, which added
a few source files to kitemlistcontrollertest, caused a crash in that
test - an assert was hit because now a different virtual method was
called in one place (KStandardItemListView::initializeItemListWidget()),
and qobject_cast could not cast the 'item', which is of type
KFileItemListWidget, to its base class KStandardItemListWidget. Adding
the source file kfileitemlistwidget.cpp fixes this.

CCMAIL: ps_ml@gmx.de

12 years agofix building tests under windows
Patrick Spendrin [Fri, 10 May 2013 21:03:23 +0000 (23:03 +0200)]
fix building tests under windows

12 years agoDon't try to change the icon of the "sort" action menu if it doesn't exist
Daniel Faust [Fri, 10 May 2013 20:27:22 +0000 (22:27 +0200)]
Don't try to change the icon of the "sort" action menu if it doesn't exist

BUG: 255819
FIXED-IN: 4.10.4
REVIEW: 109966

12 years agoDolphin Places: React to Nepomuk system changes
Vishesh Handa [Mon, 6 May 2013 13:11:21 +0000 (18:41 +0530)]
Dolphin Places: React to Nepomuk system changes

Reload the places panel when Nepomuk starts up and shutsdown. This way
the user does not need to restart Dolphin to see the custom searches and
places after Nepomuk switches on.

BUG: 304918
REVIEW: 110323

12 years agoDo not change the view URL if it is a symlink to the current directory
Frank Reininghaus [Thu, 2 May 2013 17:38:01 +0000 (19:38 +0200)]
Do not change the view URL if it is a symlink to the current directory

BUG: 302037
FIXED-IN: 4.10.3
REVIEW: 110233

12 years agoUse the same text color for selected hidden and non-hidden items
Frank Reininghaus [Thu, 2 May 2013 17:27:47 +0000 (19:27 +0200)]
Use the same text color for selected hidden and non-hidden items

This fixes the problem that the names of selected hidden items are
unreadable with some color schemes.

BUG: 305734
FIXED-IN: 4.10.3
REVIEW: 110164

12 years agoRename multiple files: Determine correctly if the name pattern is valid
Frank Reininghaus [Thu, 2 May 2013 17:23:19 +0000 (19:23 +0200)]
Rename multiple files: Determine correctly if the name pattern is valid

The "Rename" button in the dialog should be enabled if and only if the
"new name" pattern is valid. This is the case if the pattern contains
exactly one sequence of '#', which will be replaced by digits.

This patch fixes the problem that
(a) A pattern that contains a single '#' is not considered valid, and
(b) A pattern without any '#' at all is not recognized as invalid.

BUG: 318942
FIXED-IN: 4.10.3
REVIEW: 110223

12 years agoDisable Find/Replace in the "rename inline" line edit
Frank Reininghaus [Tue, 23 Apr 2013 17:31:08 +0000 (19:31 +0200)]
Disable Find/Replace in the "rename inline" line edit

These actions do not work correctly because renaming is considered
finished as soon as the line edit loses focus, which happens when the
"Replace" dialog pops up.

BUG: 317772
FIXED-IN: 4.10.3

12 years agoDo not dereference null pointer in KItemListViewAccessible
Frank Reininghaus [Tue, 23 Apr 2013 17:25:52 +0000 (19:25 +0200)]
Do not dereference null pointer in KItemListViewAccessible

BUG: 316285
FIXED-IN: 4.10.3

12 years agoComment out assertion to fix a crash when filtering in Icons/Compat View
Frank Reininghaus [Mon, 22 Apr 2013 19:36:57 +0000 (21:36 +0200)]
Comment out assertion to fix a crash when filtering in Icons/Compat View

I'm not sure yet if there is a problem somewhere else in the code. For
the time being, I think it's better to replace the assert by a TODO
comment to prevent that users find out the hard way that there is
something that we're not quite sure about.

BUG: 317827
FIXED-IN: 4.10.3

12 years agoAlways determine icons for the visible items first
Frank Reininghaus [Mon, 22 Apr 2013 19:21:31 +0000 (21:21 +0200)]
Always determine icons for the visible items first

When entering a folder, KFileItemModelRolesUpdater has not yet been
informed about the visible index range by the view when it tries to
determine icons synchronously. This resulted in the problem that it
tried to determine icons for all items in random order, and some visible
icons were somtimes still unknown after the "synchronous icon loading"
timeout of 200 ms.

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

BUG: 316129
FIXED-IN: 4.10.3
REVIEW: 109843

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 19 Apr 2013 11:27:40 +0000 (13:27 +0200)]
SVN_SILENT made messages (.desktop file)

12 years agoFix moving image while transitioning to hover pixmap
Aurélien Gâteau [Thu, 11 Apr 2013 09:26:16 +0000 (11:26 +0200)]
Fix moving image while transitioning to hover pixmap

See: http://youtu.be/OMYO0U0kSL0

REVIEW: 109960
FIXED-IN: 4.10.3

12 years agoUpdate icon if it couldn't be determined upfront (.desktop file on slow mount)
David Faure [Wed, 27 Mar 2013 13:32:08 +0000 (14:32 +0100)]
Update icon if it couldn't be determined upfront (.desktop file on slow mount)

This requires an up-to-date kdelibs >= 4.10.

CCBUG: 290666

12 years agoImprove grouping by name for non-ASCII file names
Frank Reininghaus [Tue, 26 Mar 2013 00:21:00 +0000 (01:21 +0100)]
Improve grouping by name for non-ASCII file names

This commit prevents that all non-ASCII letters which are not umlauts
are grouped in a single group "Others", and that the joint group of
an ASCII letter and the associated umlaut in some locales is called
"Others" if there is only the umlaut in the group.

BUG: 315569
REVIEW: 109457
FIXED-IN: 4.10.2

12 years agoFix transition between m_pixmap and m_hoverPixmap
Aurélien Gâteau [Thu, 21 Mar 2013 13:06:07 +0000 (14:06 +0100)]
Fix transition between m_pixmap and m_hoverPixmap

The default SourceOver composition mode of QPainter cannot be used
to interpolate between two images, we must use intermediate buffers
to perform the interpolation and blend the result on the widget.

More details are available in the review request.

REVIEW: 109614
FIXED-IN: 4.10.2

12 years agoRefresh all expanded directories too, when reloading a directory.
Emmanuel Pescosta [Sun, 17 Mar 2013 19:13:55 +0000 (20:13 +0100)]
Refresh all expanded directories too, when reloading a directory.

BUG: 295300
FIXED-IN: 4.10.2
REVIEW: 109488

12 years agouse plain text for information panel
Weng Xuetian [Sat, 16 Mar 2013 04:43:22 +0000 (00:43 -0400)]
use plain text for information panel

REVIEW: 109129
BUG: 315693
CCBUG: 262464

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 15 Mar 2013 13:57:44 +0000 (14:57 +0100)]
SVN_SILENT made messages (.desktop file)

12 years agoPrevent accidental deletion of home directory in Terminal Panel
Frank Reininghaus [Thu, 14 Mar 2013 23:12:33 +0000 (00:12 +0100)]
Prevent accidental deletion of home directory in Terminal Panel

The protection against unwanted execution of "rm -rf" when changing the
directory while entering the command did not work if there was never any
automatic "cd" command sent to the terminal before.

This patch ensures that Terminal Panel's member m_clearTerminal is
false after the initialization of the panel, such that the protection is
effective after that.

BUG: 316300
FIXED-IN: 4.10.2
REVIEW: 109431

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 14 Mar 2013 16:08:18 +0000 (17:08 +0100)]
SVN_SILENT made messages (.desktop file)

12 years agoDo not skip rows in when clicking the empty area of the scroll bar
Frank Reininghaus [Mon, 11 Mar 2013 17:18:25 +0000 (18:18 +0100)]
Do not skip rows in when clicking the empty area of the scroll bar

The height of the header widget must be subtracted from the view's
height in Details View to determine the "pageStep" for the scroll bar.

BUG: 315619
FIXED-IN: 4.10.2
REVIEW: 109210

12 years agoRemove filtered children if the parent folder is collapsed
Frank Reininghaus [Sun, 10 Mar 2013 17:26:20 +0000 (18:26 +0100)]
Remove filtered children if the parent folder is collapsed

This is analogous to commit e053ecdcd57cc39fdcbc314fc8dd22c8b9dbdd4f,
which fixes the same problem for the case that the parent folder is
deleted.

BUG: 316335
FIXED-IN: 4.10.2
REVIEW: 109343

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 22 Feb 2013 05:41:23 +0000 (06:41 +0100)]
SVN_SILENT made messages (.desktop file)

12 years agoFix crash when clicking an action in context menu for a removed device
Frank Reininghaus [Mon, 18 Feb 2013 22:58:26 +0000 (23:58 +0100)]
Fix crash when clicking an action in context menu for a removed device

Devices can be added and removed while the context menu is open.
Sfter an action has clicked that needs to access a device, we therefore
have to check if its position in the model has changed, and more
importantly, if it is still there at all in order to prevent a crash.

BUG: 315298
FIXED-IN: 4.10.1
REVIEW: 108989

12 years agoRemove items from m_filteredItems if their parent is deleted
Frank Reininghaus [Mon, 18 Feb 2013 22:49:33 +0000 (23:49 +0100)]
Remove items from m_filteredItems if their parent is deleted

Fixes the problem that filtered children of expanded deleted folders
reappear if the filter is cleared.

BUG: 315210
FIXED-IN: 4.10.1
REVIEW: 108976

12 years agoAnother fix for KItemListControllerTest::testMouseClickActivation()
Frank Reininghaus [Sun, 17 Feb 2013 11:12:52 +0000 (12:12 +0100)]
Another fix for KItemListControllerTest::testMouseClickActivation()

One one machine, I see that changing the global "single click" setting
fails. I don't know why that is the case, but I think we should better
just skip the test in that case and not hang forever.

12 years agoPrevent repeated re-layouting of all items while previews are generated
Frank Reininghaus [Sun, 17 Feb 2013 10:21:00 +0000 (11:21 +0100)]
Prevent repeated re-layouting of all items while previews are generated

There was some code in KStandardItemListView::itemSizeHintUpdateRequired
already that was supposed to prevent an expensive re-layouting of all
items when a preview is received. However, it didn't quite work as
intended because also the "iconOverlays" role changed.

The new approach is to only re-layout if text of a visible role changes,
because this is the only way how the space needed by an item might
change (see KStandardItemListWidgetInformant::itemSizeHint()).

BUG: 315315
FIXED-IN: 4.10.1
REVIEW: 108984

12 years agoImprove the recently added test testMouseClickActivation
Frank Reininghaus [Wed, 13 Feb 2013 16:56:03 +0000 (17:56 +0100)]
Improve the recently added test testMouseClickActivation

The method to make sure that the first item is visible turned out to be
less reliable than I thought. This could make the test hang forever.
Moreover, this commit removes some trailing whitespace that had been
added accidentally.

12 years agoFix blinking when moving the mouse over an hidden item
Aurélien Gâteau [Fri, 8 Feb 2013 14:44:37 +0000 (15:44 +0100)]
Fix blinking when moving the mouse over an hidden item

The opacity of the unhovered pixmap must be gradually reduced while
animating otherwise the alpha channel saturates.

REVIEW: 108858
BUG: 299371
FIXED-IN: 4.10.1

12 years agoAdd unit test for bug 313342
Frank Reininghaus [Tue, 5 Feb 2013 19:06:49 +0000 (20:06 +0100)]
Add unit test for bug 313342

12 years agoApply changes of the KGlobalSettings::singleClick() setting immediately
Aniket Anvit [Tue, 5 Feb 2013 18:58:06 +0000 (19:58 +0100)]
Apply changes of the KGlobalSettings::singleClick() setting immediately

Fixes a regression introduced by commit
7a364cbf489af25e123d18713523151a3a53f814.

Patch reviewed and pushed by Frank Reininghaus.

BUG: 313342
FIXED-IN: 4.10.1

12 years agoAdd unit test for bug 314046
Frank Reininghaus [Wed, 30 Jan 2013 20:02:43 +0000 (21:02 +0100)]
Add unit test for bug 314046

The regression happened in the master branch only, but I think it
doesn't hurt to add the test to the stable branch.

CCBUG: 314046

12 years agoUpdate Dolphin version to 2.2 for KDE 4.10.0
Frank Reininghaus [Tue, 29 Jan 2013 18:13:49 +0000 (19:13 +0100)]
Update Dolphin version to 2.2 for KDE 4.10.0

12 years agoescape the existing text instead of set to plain text
Weng Xuetian [Fri, 25 Jan 2013 21:07:33 +0000 (16:07 -0500)]
escape the existing text instead of set to plain text

@info indicates it's rich text and will be added <html> tag by kdelibs,
so just escape the text that will be set to label for KDE/4.10

REVIEW: 108584
BUG: 313992

12 years agoAdd a unit test for a recently fixed crash
Frank Reininghaus [Sun, 27 Jan 2013 13:09:39 +0000 (14:09 +0100)]
Add a unit test for a recently fixed crash

Before commit 90c7fd400c34e6d4d583c54c04631856c387d359, adding a
KFileItem with an empty path caused a crash in
KFileItemModel::expandedParentsCountCompare().

12 years agoKFileItemModelRolesUpdater: Avoid multiple updates for Nepomuk data
Vishesh Handa [Tue, 22 Jan 2013 11:48:48 +0000 (17:18 +0530)]
KFileItemModelRolesUpdater: Avoid multiple updates for Nepomuk data

The Nepomuk ResourceWatcher emits 3 signals - propertyChanged,
propertyAdded and propertyRemoved. We should only listen to either the
propertyChanged signal or the propertyAdded + Removed signals. There is
no point in listening to all 3 signals. That will just result in
unnecessary updates.

Additionally, we do not need to listen to the resourceCreated signal.
That is only emitted when we are watching for a specific types, which we
are not.

REVIEW: 108543

12 years agoMake the "A folder cannot be dropped into itself" message less intrusive
Frank Reininghaus [Tue, 22 Jan 2013 06:13:34 +0000 (07:13 +0100)]
Make the "A folder cannot be dropped into itself" message less intrusive

Showing this message in the KMessageWidget above the view, which means
that the view contents are moved down, can be extremely annoying
according to user feedback. Just showing the message in the status bar
is probably enough.

BUG: 313466
REVIEW: 108483
FIXED-IN: 4.10.0

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 17 Jan 2013 11:48:56 +0000 (12:48 +0100)]
SVN_SILENT made messages (.desktop file)

12 years agoAllow Timeline-URLs as homepage
Andrea Scarpino [Wed, 16 Jan 2013 22:05:47 +0000 (23:04 +0059)]
Allow Timeline-URLs as homepage

FEATURE: 313151
REVIEW: 108428

12 years agoUse proper IconSize for PlacesItemEditDialog's KIconButton
Kai Uwe Broulik [Wed, 16 Jan 2013 21:54:32 +0000 (22:54 +0100)]
Use proper IconSize for PlacesItemEditDialog's KIconButton

REVIEW: 108443

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 16 Jan 2013 11:34:10 +0000 (12:34 +0100)]
SVN_SILENT made messages (.desktop file)

12 years agoUpdate Dolphin version to 2.1.98 for KDE 4.10 RC 3
Frank Reininghaus [Tue, 15 Jan 2013 17:56:14 +0000 (18:56 +0100)]
Update Dolphin version to 2.1.98 for KDE 4.10 RC 3

12 years agoA crash occurs if updateItemStates runs between the
Simeon Bird [Sun, 13 Jan 2013 18:49:21 +0000 (13:49 -0500)]
A crash occurs if updateItemStates runs between the
UpdateItemStatesThread finishing and the finished() signal being
delivered.

In this case, a new thread was not created, because the old thread
still existed. However, pendingItemStatesUpdate was not set, because the
thread was not running. Instead, the old thread was restarted.

This meant that the finished() signal from the first run could be delivered
while the thread was running for a second time, causing the thread to be
deleted while still running and thus a crash.

Solution: set pendingItemStatesUpdate if the thread is non-null,
even if it is not running, knowing that slotThreadFinished has not yet run,
and will call updateItemStates itself.

BUG: 302264
FIXED-IN: 4.10
REVIEW: 107656

12 years agoSelect right item as current item (first item after the deletion) after deleting...
Emmanuel Pescosta [Mon, 14 Jan 2013 19:01:03 +0000 (20:01 +0100)]
Select right item as current item (first item after the deletion) after deleting files

BUG: 290736
REVIEW: 108356
FIXED-IN: 4.10

12 years agoDon't delay popup menus of "Create New" and "Recently Closed Tabs" toolbar buttons
Kai Uwe Broulik [Mon, 14 Jan 2013 09:42:03 +0000 (10:42 +0100)]
Don't delay popup menus of "Create New" and "Recently Closed Tabs" toolbar buttons

REVIEW: 108397

12 years agoShow the file name as plain text in the file-metadata-tooltip
Emmanuel Pescosta [Fri, 11 Jan 2013 16:27:53 +0000 (17:27 +0100)]
Show the file name as plain text in the file-metadata-tooltip

FIXED-IN: 4.10
BUG: 262464
REVIEW: 108336

12 years agoSlightly reduce the tinting for selected icons and previews
Frank Reininghaus [Fri, 11 Jan 2013 16:12:34 +0000 (17:12 +0100)]
Slightly reduce the tinting for selected icons and previews

The intention of the tinting was to make it more obvious in icons view
which icons are selected. However, some icons and previews look quite
ugly with the current tinting value of 1.0 (i.e., the value passed to
KIconEffect::colorize). A slight reduction of this value to 0.8 makes
this a little less ugly. However, the real fix is to remove the tinting
altogether and find something better to indicate which items are
selected.

CCBUG: 309722

12 years agoOnly use parallel sorting when sorting by name
Frank Reininghaus [Fri, 11 Jan 2013 15:57:43 +0000 (16:57 +0100)]
Only use parallel sorting when sorting by name

The reentrant natural comparison of strings is the only really
expensive operation. Other comparison functions are much cheaper and
might not be reentrant at all. Therefore, we disable parallel sorting
when not sorting by name to prevent crashes and other unpleasant
behaviour.

BUG: 312679
FIXED-IN: 4.10
REVIEW: 108309

13 years agoFix information panel interpreting html tags
Kai Uwe Broulik [Wed, 9 Jan 2013 21:10:04 +0000 (22:10 +0100)]
Fix information panel interpreting html tags
Only fixes the most obvious file name, the other entries in the table
probably have to be fixed in the FileMetaDataWidget.
REVIEW: 108307
BUG: 262464
(cherry picked from commit 3d7d900d2830c71255ff8c02f5f7439224cd4122)

13 years agoShow the real audio file duration in additional informations
Emmanuel Pescosta [Wed, 9 Jan 2013 15:24:15 +0000 (16:24 +0100)]
Show the real audio file duration in additional informations

Big Thanks to Frank Reininghaus and Vishesh Handa!

BUG: 311794
REVIEW: 108281
FIXED-IN: 4.10

13 years agoShow the file name as plain text in the rename dialog
Emmanuel Pescosta [Wed, 9 Jan 2013 15:17:55 +0000 (16:17 +0100)]
Show the file name as plain text in the rename dialog

BUG: 312812
BUG: 262464
FIXED-IN: 4.10
REVIEW: 108291

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 8 Jan 2013 21:33:48 +0000 (22:33 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoFix build if one of the missing Nepomuk dependencies is missing
Christophe Giboudeaux [Mon, 7 Jan 2013 17:11:07 +0000 (18:11 +0100)]
Fix build if one of the missing Nepomuk dependencies is missing

13 years agoDolphin: Make Nepomuk Support Optional
Vishesh Handa [Mon, 7 Jan 2013 08:54:47 +0000 (14:24 +0530)]
Dolphin: Make Nepomuk Support Optional

Use the KFileMetadataWidget if Nepomuk is not present.

REVIEW: 108236

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 4 Jan 2013 06:40:18 +0000 (07:40 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoFix crash when browsing bluetooth device.
Michael Jansen [Sun, 30 Dec 2012 19:56:59 +0000 (20:56 +0100)]
Fix crash when browsing bluetooth device.

When trying to browse a N900 it crashed here because pathA was empty. Which
lead to index = maxIndex beeing -1 and pathA.at(index) crashing.

Reorder the while condition to prevent that courtesy of tsdgeos.

(cherry picked from commit f0c90a47de3f59e4a98932ae6f0499921d9aa899)

13 years agoDolphin Information Panel: Use Nepomuk2::FileMetadataWidget
Vishesh Handa [Wed, 2 Jan 2013 11:04:18 +0000 (16:34 +0530)]
Dolphin Information Panel: Use Nepomuk2::FileMetadataWidget

Instead of the KFileMetadataWidget. The Nepomuk widget is just a copy of
the KFileMetadataWidget which utilizes Nepomuk2.

13 years agoIncrease Dolphin version to 2.1.97 for the 2nd release candidate
Frank Reininghaus [Thu, 27 Dec 2012 21:20:03 +0000 (22:20 +0100)]
Increase Dolphin version to 2.1.97 for the 2nd release candidate

13 years agoMerge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10
Frank Reininghaus [Thu, 27 Dec 2012 21:08:16 +0000 (22:08 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 24 Dec 2012 07:54:15 +0000 (08:54 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 23 Dec 2012 06:50:02 +0000 (07:50 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 22 Dec 2012 11:09:08 +0000 (12:09 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 22 Dec 2012 07:05:56 +0000 (08:05 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoFix Bug 311782 - Directory loading has been cancelled sometimes falsly triggered...
Emmanuel Pescosta [Wed, 19 Dec 2012 16:31:08 +0000 (17:31 +0100)]
Fix Bug 311782 - Directory loading has been cancelled sometimes falsly triggered which was introduced by commit 9dbc24fd647e0457d50ec901d33100c33967be68

BUG: 311782
REVIEW: 107787
FIXED-IN: 4.10

13 years agoFix Bug 287829 - inline rename multiple files does not honour
Emmanuel Pescosta [Mon, 17 Dec 2012 13:02:22 +0000 (14:02 +0100)]
Fix Bug 287829 - inline rename multiple files does not honour
 sort order

BUG: 287829
FIXED-IN: 4.9.5
REVIEW: 107718

13 years agoFix Bug 304299 - Dolphin launches multiple instances of a program when multiple files...
Emmanuel Pescosta [Thu, 13 Dec 2012 21:54:09 +0000 (22:54 +0100)]
Fix Bug 304299 - Dolphin launches multiple instances of a program when multiple files are selected

BUG: 304299
REVIEW: 107305

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Thu, 13 Dec 2012 21:34:38 +0000 (22:34 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoAdd i18 call to untranslated string
Frank Reininghaus [Thu, 13 Dec 2012 21:24:34 +0000 (22:24 +0100)]
Add i18 call to untranslated string

The string was added in ecb2715ead30c2b9d483748074524322e5ecedcf.
According to the soft message freeze policy on techbase, it's OK to fix
previously untranslated strings. Translators, please tell me if I'm
wrong, then I'll remove the string and the surrounding code and re-add
it to master later for KDE 4.11. Sorry for the trouble.

Thanks to David Faure for pointing out this mistake!

CCMAIL: kde-i18n-doc@kde.org

13 years agoFix Bug 240820 - [Usability Bug] Handling Bad Filenames, dolphin gives unclear error...
Emmanuel Pescosta [Wed, 12 Dec 2012 21:57:20 +0000 (22:57 +0100)]
Fix Bug 240820 - [Usability Bug] Handling Bad Filenames, dolphin gives unclear error message
Fix Bug 308597 - Regression: Renaming a file/folder to something that contains a "/" will result in several message boxes

Uses the same solution as Dolphin-Rename-Dialog does. (KIO::encodeFileName)

BUG: 240820
BUG: 308597
REVIEW: 107681
FIXED-IN: 4.9.5

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 10 Dec 2012 10:27:21 +0000 (11:27 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 10 Dec 2012 06:32:47 +0000 (07:32 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoCorrect value for autostart setting of Service-nepomukfileindexer, part2
Frank Reininghaus [Fri, 7 Dec 2012 21:38:57 +0000 (22:38 +0100)]
Correct value for autostart setting of Service-nepomukfileindexer, part2

After 530c743a89bb5366ff9b6f8be1d7a37f23b46880, this fixes the other
places where the incorrect default value 'false' was used.

Thanks to Luc Menut for noticing this problem!

CCBUG: lmenut@free.fr

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Fri, 7 Dec 2012 21:31:24 +0000 (22:31 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUpdate Dolphin version to 2.1.95 for KDE 4.10 RC 1
Frank Reininghaus [Fri, 7 Dec 2012 21:30:22 +0000 (22:30 +0100)]
Update Dolphin version to 2.1.95 for KDE 4.10 RC 1

13 years agoFix keyboard focus handling after renaming items inline
Frank Reininghaus [Fri, 7 Dec 2012 21:15:32 +0000 (22:15 +0100)]
Fix keyboard focus handling after renaming items inline

This reverts 951cb9c35d7a9ef814b3de5b359915968da9b881 and
3143acc084d54d43df469b54762bfa10a7050a9f, and fixes the crash caused by
nested event loops by delaying the deletion of the KItemListRoleEditor
until the next item is renamed inline.

BUG: 311206
FIXED-IN: 4.9.5
REVIEW: 107606

13 years agoFix incorrect usage of list iterators
Frank Reininghaus [Thu, 6 Dec 2012 18:43:11 +0000 (19:43 +0100)]
Fix incorrect usage of list iterators

The problem was that we erased an iterator from the list and then
incremented it. This can lead to problems (namely, random crashes) if
the iterator pointed to the last list element.

Thanks to Sandro Mani for testing the patch!

BUG: 311246
FIXED-IN: 4.9.5

13 years agoAdded curly brackets around DolphinApplication creation and execution, to make sure...
Hugo Pereira Da Costa [Wed, 5 Dec 2012 20:44:06 +0000 (21:44 +0100)]
Added curly brackets around DolphinApplication creation and execution, to make sure it is deleted before "return 0;" is
called. This might prevent random crashes due to the de-allocation chain in Qt at exit.
CCBUG: 311092

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
David Faure [Wed, 28 Nov 2012 15:40:07 +0000 (16:40 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUse correct value for autostart setting of Service-nepomukfileindexer
Luc Menut [Tue, 27 Nov 2012 16:32:00 +0000 (17:32 +0100)]
Use correct value for autostart setting of Service-nepomukfileindexer

Fixes the problem that the "Recently accessed" entries in the Places
Panel might not be shown when using the default setup.

BUG: 310770
FIXED-IN: 4.10 Beta 2
REVIEW: 107464

13 years agoFix Bug 310465 - Can't switch view mode for non-writable paths
Emmanuel Pescosta [Sun, 25 Nov 2012 20:44:01 +0000 (21:44 +0100)]
Fix Bug 310465 - Can't switch view mode for non-writable paths

BUG: 310465
FIXED-IN: 4.9.4
REVIEW: 107458

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Sun, 25 Nov 2012 11:05:53 +0000 (12:05 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoFix regression caused by 4120805872c2e9fac909a403b83221c09c9110a2
Frank Reininghaus [Sun, 25 Nov 2012 10:45:06 +0000 (11:45 +0100)]
Fix regression caused by 4120805872c2e9fac909a403b83221c09c9110a2

Copied items should not be shown in gray. Thanks to Christoph Feck for
testing and reporting this regression!

CCBUG: 304615
CCMAIL: christoph@maxiom.de

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Sat, 24 Nov 2012 16:28:43 +0000 (17:28 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUpdate Dolphin version to 2.1.85 for KDE 4.10 Beta 2
Frank Reininghaus [Sat, 24 Nov 2012 16:27:48 +0000 (17:27 +0100)]
Update Dolphin version to 2.1.85 for KDE 4.10 Beta 2

13 years agoClear the previous selection when selecting pasted or dropped items
Frank Reininghaus [Mon, 19 Nov 2012 21:06:29 +0000 (22:06 +0100)]
Clear the previous selection when selecting pasted or dropped items

This fixes a recent regression in the 4.9 branch caused by
b25059e803e7eed54f0593605a4066882d63bce2.

BUG: 310365
FIXED-IN: 4.9.4
REVIEW: 107389

13 years agoUpdate the 'isCut' state of items when cutting non-files, e.g., text
Frank Reininghaus [Sat, 24 Nov 2012 03:52:13 +0000 (04:52 +0100)]
Update the 'isCut' state of items when cutting non-files, e.g., text

BUG: 304615
FIXED-IN: 4.9.4
REVIEW: 107390

13 years agoDelete FileMetaDataToolTip using deleteLater() to prevent crashes
Frank Reininghaus [Sat, 24 Nov 2012 04:08:25 +0000 (05:08 +0100)]
Delete FileMetaDataToolTip using deleteLater() to prevent crashes

The problem was that Qt tried to deliver an 'Enter' event to the
dangling pointer that once pointed to the tool tip.

Many thanks to G. Christ for finding a way to reproduce this crash!

BUG: 282257
BUG: 310579
FIXED-IN: 4.9.4

13 years agoMerge branch 'KDE/4.9'
Luca Beltrame [Tue, 20 Nov 2012 06:44:59 +0000 (07:44 +0100)]
Merge branch 'KDE/4.9'

Conflicts:
konqueror/settings/kio/kcookiespolicies.cpp [master only changes]
konqueror/settings/kio/kcookiespolicies.h [ditto]

13 years agoOnly select a created item and make it 'current' in the active view
Frank Reininghaus [Sun, 18 Nov 2012 15:22:52 +0000 (16:22 +0100)]
Only select a created item and make it 'current' in the active view

The 'make the new item the current one in all views' issue has been
around for quite some time, the unexpected selection was a recent
regression caused by commit b25059e803e7eed54f0593605a4066882d63bce2.

Thanks to Jaime Torres for finding the regression early and for testing
this patch!

BUG: 310219
FIXED-IN: 4.9.4

13 years agoUpdate Dolphin version to 2.1.80
Frank Reininghaus [Mon, 12 Nov 2012 20:31:39 +0000 (21:31 +0100)]
Update Dolphin version to 2.1.80

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Dawit Alemayehu [Sat, 10 Nov 2012 21:28:36 +0000 (16:28 -0500)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoFix Bug 217575 - Auto select pasted files doesn't select all files if some have been...
Emmanuel Pescosta [Fri, 9 Nov 2012 13:52:32 +0000 (14:52 +0100)]
Fix Bug 217575 - Auto select pasted files doesn't select all files if some have been skipped

BUG: 217575
REVIEW: 107237
FIXED-IN: 4.9.4

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