]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
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

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 10 May 2012 07:43:29 +0000 (09:43 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoAssure backward compatibility for the sort-role
Peter Penz [Wed, 9 May 2012 13:49:14 +0000 (15:49 +0200)]
Assure backward compatibility for the sort-role

Dolphin 2.1 uses "text" instead of "name" as default-role. Provide
backward compatibility with older .directory files and assure
that they get updated.

13 years agoLet the group-headers respect the item-offset
Peter Penz [Wed, 9 May 2012 12:03:11 +0000 (14:03 +0200)]
Let the group-headers respect the item-offset

13 years agoCreate items for devices that have not been added as bookmarks yet
Peter Penz [Wed, 9 May 2012 07:03:21 +0000 (09:03 +0200)]
Create items for devices that have not been added as bookmarks yet

13 years agoRemove unimplemented declaration
Peter Penz [Tue, 8 May 2012 19:25:42 +0000 (21:25 +0200)]
Remove unimplemented declaration

13 years agoPlaces Panel: Add missing translation strings
Peter Penz [Mon, 7 May 2012 21:22:52 +0000 (23:22 +0200)]
Places Panel: Add missing translation strings

Provide a temporary dummy-implementation with the missing translation
strings, so that the translation-string-freeze gets respected.

13 years agoRemove workaround to start/stop the resource watcher
Peter Penz [Sun, 6 May 2012 20:07:08 +0000 (22:07 +0200)]
Remove workaround to start/stop the resource watcher

Using the latest resource-watcher from kde-runtime does not make
this workaround necessary anymore.

13 years agoRemove kde-runtime dependency "nepomukdatamanagement"
Peter Penz [Sun, 6 May 2012 19:49:47 +0000 (21:49 +0200)]
Remove kde-runtime dependency "nepomukdatamanagement"

Follow the suggestion from Vishesh Handa and copy the ResourceWatcher
code from kde-runtime instead of creating a dependency. This will of
course get removed again as soon as Nepomuk's resource watcher will
get a public API.

13 years agoShow "duration" in the format hh::mm::ss
Peter Penz [Sun, 6 May 2012 11:31:52 +0000 (13:31 +0200)]
Show "duration" in the format hh::mm::ss

13 years agoFix sorting issues for Nepomuk-roles
Peter Penz [Sun, 6 May 2012 10:59:37 +0000 (12:59 +0200)]
Fix sorting issues for Nepomuk-roles

Just use a string-comparison as default-compare.

13 years agoFix issue that no Nepomuk-data is shown when searching
Peter Penz [Sun, 6 May 2012 10:43:01 +0000 (12:43 +0200)]
Fix issue that no Nepomuk-data is shown when searching

13 years agoAllow to remember view-properties for search-results
Peter Penz [Sun, 6 May 2012 10:31:21 +0000 (12:31 +0200)]
Allow to remember view-properties for search-results

Until now it was only possible to adjust the view-properties for
searching in general. Now the view-properties can be adjusted
dependent on the query (e.g. images, documents, ...).

13 years agoAdditional information: Use "Audio" instead of "Music"
Peter Penz [Sun, 6 May 2012 09:56:41 +0000 (11:56 +0200)]
Additional information: Use "Audio" instead of "Music"

This is consistent to the term used in the places panel.

13 years agoAssure that a newly created item gets selected/focused and visible
Peter Penz [Sat, 5 May 2012 20:02:21 +0000 (22:02 +0200)]
Assure that a newly created item gets selected/focused and visible

Thanks to Franz Fellner for the patch!

CCBUG: 291064
CCMAIL: alpine.art.de@googlemail.com

13 years agoPlaces Panel: Provide access to devices
Peter Penz [Sat, 5 May 2012 19:38:01 +0000 (21:38 +0200)]
Places Panel: Provide access to devices

13 years agoPlaces Panel: Implement PlacesItemModel::setHiddenItemsShown(false)
Peter Penz [Thu, 3 May 2012 20:26:10 +0000 (22:26 +0200)]
Places Panel: Implement PlacesItemModel::setHiddenItemsShown(false)

13 years agoPlaces Panel: Provide "Open in New Tab" entry
Peter Penz [Thu, 3 May 2012 14:36:00 +0000 (16:36 +0200)]
Places Panel: Provide "Open in New Tab" entry

Additionally some translation cleanups have been done because of the
soft-feature-freeze.

BUG: 176718
FIXED-IN: 4.9.0

13 years agoPlaces Panel: Allow showing of hidden items
Peter Penz [Wed, 2 May 2012 21:56:22 +0000 (23:56 +0200)]
Places Panel: Allow showing of hidden items

13 years agoPlaces Panel: Fix implementation issues when hiding items
Peter Penz [Wed, 2 May 2012 19:23:38 +0000 (21:23 +0200)]
Places Panel: Fix implementation issues when hiding items

13 years agoPlaces Panel: Allow hiding of items
Peter Penz [Tue, 1 May 2012 21:11:06 +0000 (23:11 +0200)]
Places Panel: Allow hiding of items

Related changes:
- Animate changed items for the details-view in case it is not expandable
- Remove the hardcoded "isHidden"-code in KStandardItemListWidget and
  allow derived widgets to define themselves what means "hidden" within
  their context.

The current code needs a lot of bugfixing, but lets make this in smaller
steps during the next days...

13 years agoFix crash when closing Dolphin during generating previews
Peter Penz [Mon, 30 Apr 2012 16:54:12 +0000 (18:54 +0200)]
Fix crash when closing Dolphin during generating previews

BUG: 299108
FIXED-IN: 4.9.0

13 years agoPlaces Panel: Minor fixes/improvements
Peter Penz [Mon, 30 Apr 2012 16:26:21 +0000 (18:26 +0200)]
Places Panel: Minor fixes/improvements

- Determine group of a new entry dependent from the protocol
- Allow panels to forward error-messages to the view-container
  (also applied to Folders Panel)

13 years agoPlaces Panel fixes
Peter Penz [Sat, 28 Apr 2012 21:58:56 +0000 (23:58 +0200)]
Places Panel fixes

Implement adding, editing and removing of entries. Note that the
result currently is still not stored in bookmarks.xml (this needs
to wait until the hiding is implemented in the model).

13 years agoNever pass null-items to version-control-plugins
Peter Penz [Fri, 27 Apr 2012 07:28:00 +0000 (09:28 +0200)]
Never pass null-items to version-control-plugins

Some plugins are not prepared for this and might crash. Although
the additional check in VersionControlObserver::actions() should not
be necessary because of the fix in DolphinView, it is left here
to catch potential other cases where a null-item might get passed
accidently.

Thanks to Ilya for initially patching the Box-plugin which gave
a hint whats going wrong.

BUG: 294336
FIXED-IN: 4.9.0

13 years agoPlaces Panel: Provide dialog for editing places
Peter Penz [Thu, 26 Apr 2012 21:39:48 +0000 (23:39 +0200)]
Places Panel: Provide dialog for editing places

13 years agoReset to ascending sort order when changing the column
Peter Penz [Thu, 26 Apr 2012 19:27:59 +0000 (21:27 +0200)]
Reset to ascending sort order when changing the column

When changing the sort-column the sort order should always be reset
to 'ascending' to by consistent with the QListView behavior.

BUG: 298830
FIXED-IN: 4.9.0

13 years agoUpdate the view when changing the directory using 'cd' in the terminal
Frank Reininghaus [Thu, 26 Apr 2012 06:31:46 +0000 (08:31 +0200)]
Update the view when changing the directory using 'cd' in the terminal

Thanks to Jekyll Wu for helping to implement this feature!

FEATURE: 156732
FIXED-IN: 4.9.0

13 years agoPlaces panel: Internal cleanup
Peter Penz [Wed, 25 Apr 2012 21:01:15 +0000 (23:01 +0200)]
Places panel: Internal cleanup

Move the bookmark handling into a custom model, so that the
PlacesPanel only contains UI + controller code.

13 years agoProvide correct labels for Nepomuk resources
Peter Penz [Wed, 25 Apr 2012 19:14:02 +0000 (21:14 +0200)]
Provide correct labels for Nepomuk resources

13 years agoWhen the current item is removed, make -1 the current index temporarily
Frank Reininghaus [Wed, 25 Apr 2012 07:20:11 +0000 (09:20 +0200)]
When the current item is removed, make -1 the current index temporarily

This fixes two problems:
1. KItemListKeyboardSearchManger can cancel the current search when a
   new folder is opened (note that this action removes the current item
   from the view).
2. The view can underline the new current item (which is the item that
   used to be below the removed item). Note that this did not work
   before because the view did not receive a currentChanged() signal in
   this case and therefore did not update the "current item" status of
   the new current item.

CCBUG: 297488
CCBUG: 298782
REVIEW: 104709
(cherry picked from commit 68ce395a192362969783615e50a8004d3029eb7e)

13 years agoWhen Esc is pressed, clear the selection and cancel the keyboard search
Frank Reininghaus [Wed, 25 Apr 2012 07:17:30 +0000 (09:17 +0200)]
When Esc is pressed, clear the selection and cancel the keyboard search

This patch restores the Dolphin 1.x behaviour that Esc clears the
selection (Dolphin 2.0 did not have an easy way to clear the selection
using the keyboard so far). Moreover, Esc now also cancels the current
keyboard search. This fixes the problem that the only way to cancel the
search is to wait until the timeout has expired.

CCBUG: 298742
CCBUG: 297458
(cherry picked from commit d3b1312d3edc615b03fb17c1a5fa62ccb61cdabd)

13 years agoReduce the timeout in KItemListKeyboardSearchManager to 1 second
Frank Reininghaus [Wed, 25 Apr 2012 07:16:27 +0000 (09:16 +0200)]
Reduce the timeout in KItemListKeyboardSearchManager to 1 second

It turned out that the longer timeout, introduced recently in
02eab49b2de51c31fe46a0d9501327b579b3648e, not only made multi-letter
keyboard searches easier, but also had some unwanted side effects. I
hope that 1 second, which is between the previous value of 5 seconds and
the pre-KDE 4.8.2 value of 0.4 seconds, is a compromise which will fit
most users' needs.
We will try to improve the situation further in future releases by
providing visual feedback about the keyboard search, but such a change
would not be suitable for a bug-fix release.
(cherry picked from commit d8732a59d3b1f2d0bebf43f294df7e9f333abde4)

13 years agoFix search-UI issues in combination with the new places entries
Peter Penz [Wed, 25 Apr 2012 00:16:35 +0000 (02:16 +0200)]
Fix search-UI issues in combination with the new places entries

The places-entries for searching revealed some serious issues in
combination with the search-panel. Move the filtering away from
QDockWidget and bring it back below the search-bar.

13 years agoProvide additional default groups for the Places Panel
Peter Penz [Tue, 24 Apr 2012 21:16:35 +0000 (23:16 +0200)]
Provide additional default groups for the Places Panel

If Nepomuk is enabled, it is now possible to easily search for
some most common queries by having additional groups.

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 24 Apr 2012 14:54:04 +0000 (16:54 +0200)]
SVN_SILENT made messages (.desktop file)

13 years agoDetails mode: Fix wrong required column-width calculation
Peter Penz [Sun, 22 Apr 2012 22:23:45 +0000 (00:23 +0200)]
Details mode: Fix wrong required column-width calculation

BUG: 298577
FIXED-IN: 4.9.0

13 years agoBring back basic bookmark support for the Places Panel
Peter Penz [Sat, 21 Apr 2012 21:27:53 +0000 (23:27 +0200)]
Bring back basic bookmark support for the Places Panel

The folders-panel signals have been adjusted too for consistency.

13 years agoInline renaming: Fix wrong assertion
Peter Penz [Sat, 21 Apr 2012 19:40:23 +0000 (21:40 +0200)]
Inline renaming: Fix wrong assertion

BUG: 298512
FIXED-IN: 4.9.0

13 years agoPrepare view-engine for non-KFileItem usecase
Peter Penz [Sat, 21 Apr 2012 19:28:16 +0000 (21:28 +0200)]
Prepare view-engine for non-KFileItem usecase

Up to now the view-engine only provided a model-implementation that
supports file-items. The view-engine always had been designed to be able
to work with any kind of model, so now a KStandardItemModel is available.
The plan is to convert the places panel to the new view-engine. It should
be no problem to fix this until the feature freeze - in the worst case
the places-panel code could be reverted while still keeping the
KStandardItemModel changes.

13 years agoFixed the signal connection that emits completed in Dolphin's KPart
Dawit Alemayehu [Tue, 17 Apr 2012 23:56:34 +0000 (19:56 -0400)]
Fixed the signal connection that emits completed in Dolphin's KPart

13 years agoInline renaming fixes
Peter Penz [Tue, 17 Apr 2012 23:14:41 +0000 (01:14 +0200)]
Inline renaming fixes

- Increase the editor-height in the icons-view if required
- Don't try to react on resizings of the parent, just finish
  the renaming

13 years agoEnsure authentication data is cached properly
Peter Penz [Tue, 17 Apr 2012 20:19:18 +0000 (22:19 +0200)]
Ensure authentication data is cached properly

The attached patch sets the main window on the main directory
lister in DolphinView and KIO jobs in DolphinMainWindow to ensure
that login data for remote protocols such as sftp, ftp are cached
properly for the duration of the application. Otherwise, the end
user is going to end up being unnecessarily re-prompted to enter
password login information.

Thanks to Dawit Alemayehu for the patch!

REVIEW: 104614
FIXED-IN: 4.9.0

13 years agoDocumentation update for KItemListRoleEditor
Peter Penz [Tue, 17 Apr 2012 16:17:49 +0000 (18:17 +0200)]
Documentation update for KItemListRoleEditor