]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
13 years agoAdding calls to updateAccessibility
Amandeep Singh [Fri, 10 Aug 2012 15:01:06 +0000 (20:31 +0530)]
Adding calls to updateAccessibility

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

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

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

Added the calls to updateAccessibility, for DragDrop & Focus scenarios

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

13 years agoAccessibility: Implement rect for cells and view.
Frederik Gladhorn [Tue, 7 Aug 2012 18:31:01 +0000 (20:31 +0200)]
Accessibility: Implement rect for cells and view.

Remove comparison of QAccessibleInterfaces - these are pointers that get
instantiated again and again, so they cannot be compared. Use the object()
function in QAI instead for comparison.

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

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

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

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

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

13 years agoRemove reimplementation of functions.
Frederik Gladhorn [Mon, 6 Aug 2012 15:35:27 +0000 (17:35 +0200)]
Remove reimplementation of functions.

The base class implementations are actually good and without some problems.
Save one pointer's worth of memory by not having m_container.

rect was returning a relative rectangle always.

State was wrongly returning HasInvokeExtension which can lead to crashes.

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

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

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

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

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

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

13 years agoFix 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 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 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 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 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 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 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 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.

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

13 years agoFurther preperations for drag & drop support in the places panel
Peter Penz [Sat, 26 May 2012 11:40:48 +0000 (13:40 +0200)]
Further preperations for drag & drop support in the places panel

13 years agoRemoved unused list iterators
Dawit Alemayehu [Fri, 18 May 2012 02:08:36 +0000 (22:08 -0400)]
Removed unused list iterators

13 years agoUse KService to lookup the library name of konsolepart
Jekyll Wu [Thu, 24 May 2012 16:54:08 +0000 (00:54 +0800)]
Use KService to lookup the library name of konsolepart

See https://git.reviewboard.kde.org/r/105028/

13 years agoEnable the "Empty Trash" action if items are deleted by non-KDE apps
Frank Reininghaus [Mon, 21 May 2012 21:15:44 +0000 (23:15 +0200)]
Enable the "Empty Trash" action if items are deleted by non-KDE apps

To achieve this, the Places Panel context menu now checks the icon of
the "Trash" item (which is updated by a dir lister that watches the
state of the trash), rather then reading a config file which is only
used by KDE applications.

BUG: 293651
FIXED-IN: 4.9.0

13 years agoColorize icons when an item is selected
Peter Penz [Mon, 21 May 2012 20:40:57 +0000 (22:40 +0200)]
Colorize icons when an item is selected

BUG: 295515
FIXED-IN: 4.9.0

13 years agoPlaces Panel: Show drop indicator
Peter Penz [Mon, 21 May 2012 19:43:26 +0000 (21:43 +0200)]
Places Panel: Show drop indicator

The dropping itself has not been implemented yet.

13 years agoUse flat control-buttons
Peter Penz [Sat, 19 May 2012 20:44:03 +0000 (22:44 +0200)]
Use flat control-buttons

13 years agoShow video previews according to file content instead of the mimetype-string
Peter Penz [Sat, 19 May 2012 20:27:53 +0000 (22:27 +0200)]
Show video previews according to file content instead of the mimetype-string

Show a video widget depending on the video content instead of the mimetype
string: There are container formats which can be either audios or videos.
Besides, the rmvb video files have a mimetype of
"application/vnd.rn-realmedia", and these files can be recognized as videos
correctly now.

The patch has been provided by Hui Ni.

REVIEW: 104988
FIXED-IN: 4.9

13 years agoEnable basic drag and drop support for the Places Panel
Peter Penz [Fri, 18 May 2012 21:21:49 +0000 (23:21 +0200)]
Enable basic drag and drop support for the Places Panel

The dropping has not been implemented yet, however in the context of
this step the creating of the drag-pixmap is now forwarded to
the item-widgets. This allows creating some optimized dragging-pixmaps
e.g. for the details-view, where only the name and icon should
be provided as drag-pixmap.

13 years agoDon't create a .directory-file for each directory
Peter Penz [Fri, 18 May 2012 17:39:03 +0000 (19:39 +0200)]
Don't create a .directory-file for each directory

This regression has been introduced on master and has not been
released yet: Due to the changed properties-format an update has
been done which resulted in writing a .directory file into each
newly entered directory.

The patch updates the view-properties and version only in the
constructor so that it is assured that reading properties never
accidently will change the internal version.

A unit-test has been added to catch regressions like this in future.

BUG: 300240
FIXED-IN: 4.9.0

13 years agoFix index-range issue
Peter Penz [Thu, 17 May 2012 20:09:45 +0000 (22:09 +0200)]
Fix index-range issue

13 years agoCreate unit-test for KStandardItemModel
Peter Penz [Thu, 17 May 2012 19:59:51 +0000 (21:59 +0200)]
Create unit-test for KStandardItemModel

13 years agoKStandardItemModel: Fix inconsistent internal state
Peter Penz [Thu, 17 May 2012 11:32:09 +0000 (13:32 +0200)]
KStandardItemModel: Fix inconsistent internal state

Assure that the index-cache is kept consistent with the items when
a removing or inserting is done. A unit-test will be created as soon
as possible.

13 years agoAdd unit-test to test a possible crash when updating group-headers
Peter Penz [Thu, 17 May 2012 09:46:16 +0000 (11:46 +0200)]
Add unit-test to test a possible crash when updating group-headers

13 years agoFix crash related to group-headers
Peter Penz [Thu, 17 May 2012 09:14:04 +0000 (11:14 +0200)]
Fix crash related to group-headers

If multiple ranges are inserted or removed, the updating of
the group-headers may only be done after _all_ ranges have been
inserted/removed and not after each individual range. Otherwise
the layouter-cache is not in a consistent state yet.

13 years agoShorten the "path" content if possible
Peter Penz [Wed, 16 May 2012 21:41:04 +0000 (23:41 +0200)]
Shorten the "path" content if possible

Replace the home-path by '~' for having a shorter content.

13 years agoFix default sort-role
Peter Penz [Wed, 16 May 2012 21:26:24 +0000 (23:26 +0200)]
Fix default sort-role

The default sort-role property internally has been renamed from
"name" to "text" to be open for more generic usecases like in
the KStandardItemModel.

13 years agoProvide default view properties for system-places
Peter Penz [Wed, 16 May 2012 21:11:56 +0000 (23:11 +0200)]
Provide default view properties for system-places

For the "Recently Accessed"-places and "Search For"-places like
documents, images, audio-files and videos proper default properties
are created now (e.g. previews and images-sizes are shown when
searching for "images" etc).

13 years agoUpdate trash-icon dependent on whether the thrash is empty or not
Peter Penz [Wed, 16 May 2012 17:15:49 +0000 (19:15 +0200)]
Update trash-icon dependent on whether the thrash is empty or not

The class PlacesItemStorageAccessListener has been renamed to
PlacesItemSignalHandler and represents a generic signal handler
for the PlacesItem.

13 years agoFix possible crash when hiding items
Peter Penz [Wed, 16 May 2012 14:50:41 +0000 (16:50 +0200)]
Fix possible crash when hiding items

13 years agoImplement bookmark synchronization
Peter Penz [Wed, 16 May 2012 11:46:28 +0000 (13:46 +0200)]
Implement bookmark synchronization

Whenever the bookmarks are changed by another application, the
state must be synchronized within the model.

13 years agoLet the places-item determine the group itself
Peter Penz [Mon, 14 May 2012 20:08:32 +0000 (22:08 +0200)]
Let the places-item determine the group itself

Related improvements: When loading the bookmarks assure in any
case that items having the same group are inserted as one single
group.

13 years agoFix several bookmark synchronization issues
Peter Penz [Mon, 14 May 2012 15:41:18 +0000 (17:41 +0200)]
Fix several bookmark synchronization issues

13 years agoTranslation improvements
Peter Penz [Mon, 14 May 2012 13:03:10 +0000 (15:03 +0200)]
Translation improvements

Thanks to Frederik Schwarzer for the suggestions!

13 years agoPlacesItemModel: Automatically save bookmarks
Peter Penz [Mon, 14 May 2012 12:57:08 +0000 (14:57 +0200)]
PlacesItemModel: Automatically save bookmarks

Prevent that a manual call to save changed bookmarks is
necessary.

13 years agoPlacesItemModel: Remove setItemHidden and isItemHidden
Peter Penz [Sun, 13 May 2012 21:29:28 +0000 (23:29 +0200)]
PlacesItemModel: Remove setItemHidden and isItemHidden

This should be handled automatically when the hidden-state of
the item itself gets toggled.

13 years agoPlaces Panel: Prepare code to save state of bookmarks
Peter Penz [Sun, 13 May 2012 19:44:58 +0000 (21:44 +0200)]
Places Panel: Prepare code to save state of bookmarks

The saving is still disabled currently until 100 % backward
compatibility with KFilePlacesView has been reached.

13 years agoRemove obsolete signal/slot connection
Peter Penz [Sat, 12 May 2012 09:47:18 +0000 (11:47 +0200)]
Remove obsolete signal/slot connection

13 years agoFix faulty signal/slot connection
Peter Penz [Sat, 12 May 2012 09:42:31 +0000 (11:42 +0200)]
Fix faulty signal/slot connection

13 years agoPlaces Panel: Implement eject and teardown actions
Peter Penz [Fri, 11 May 2012 21:00:26 +0000 (23:00 +0200)]
Places Panel: Implement eject and teardown actions

Further fixes:
- Add/remove item when device has been added/removed
- Update emblem if the accessibility-state has been changed

13 years agoAllow moving items to trash also for non-local files
Peter Penz [Fri, 11 May 2012 14:23:49 +0000 (16:23 +0200)]
Allow moving items to trash also for non-local files

See bug 188032 for an ongoing discussion. In case if this behavior
is really not wanted by users (the feedback on bugs.kde.org will
show), the review-request
https://git.reviewboard.kde.org/r/104915/ should be merged too
(after adjusting some parts of the code).

13 years agoAllow to remember view-properties for the search-mode
Peter Penz [Thu, 10 May 2012 21:26:29 +0000 (23:26 +0200)]
Allow to remember view-properties for the search-mode

Per default Dolphin remembers the view-properties for each search-URL
individually. However when being in the search-mode, where the
search-URL is different each time by definition, it should also
be possible for the user to adjust the view-properties. The DolphinView
is not aware about any "search-mode", so an interface has been added
to provide a "context" for storing the view-properties. The context
will be adjusted by the DolphinViewContainer in case if the search-mode
is active.

13 years agoReimplement search-filters
Peter Penz [Thu, 10 May 2012 20:40:51 +0000 (22:40 +0200)]
Reimplement search-filters

BUG: 270721
BUG: 280377
FIXED-IN: 4.9.0