Commit graph

18028 commits

Author SHA1 Message Date
Script Kiddy
f279feed32 SVN_SILENT made messages (.desktop file) 2012-05-06 10:29:11 +02:00
T.C. Hollingsworth
6b3aac0934 dolphin doc: fix ulink to work on docs.kde.org 2012-05-05 22:26:14 -07:00
Peter Penz
ab877d6d9b 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
2012-05-05 22:03:21 +02:00
Peter Penz
7bab0c8676 Places Panel: Provide access to devices 2012-05-05 21:38:37 +02:00
Peter Penz
3f3f5aec5b Places Panel: Implement PlacesItemModel::setHiddenItemsShown(false) 2012-05-03 22:27:11 +02:00
Peter Penz
3aaa63fab0 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
2012-05-03 16:37:32 +02:00
Peter Penz
adadf9ddea Places Panel: Allow showing of hidden items 2012-05-02 23:57:04 +02:00
Peter Penz
123efcc9c9 Places Panel: Fix implementation issues when hiding items 2012-05-02 21:24:16 +02:00
Script Kiddy
4c1da6909c SVN_SILENT made messages (.desktop file) 2012-05-02 10:08:54 +02:00
Peter Penz
a45ac9f027 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...
2012-05-01 23:14:52 +02:00
Script Kiddy
43c636d5cb SVN_SILENT made messages (.desktop file) 2012-05-01 17:21:43 +02:00
Peter Penz
c2539104b3 Fix crash when closing Dolphin during generating previews
BUG: 299108
FIXED-IN: 4.9.0
2012-04-30 18:55:48 +02:00
Peter Penz
ebdf0e8daf 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)
2012-04-30 18:27:56 +02:00
André Marcelo Alvarenga
fc0e0fa297 Add missing space 2012-04-29 13:38:21 -03:00
Peter Penz
08da2cef70 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).
2012-04-29 00:00:38 +02:00
Peter Penz
c06dae12ff 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
2012-04-27 09:31:57 +02:00
Peter Penz
a83cf45b32 Places Panel: Provide dialog for editing places 2012-04-26 23:41:01 +02:00
Peter Penz
ab7915c8d9 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
2012-04-26 21:29:33 +02:00
Frank Reininghaus
b53f7c6c19 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
2012-04-26 08:31:59 +02:00
Peter Penz
c6f21ebf13 Places panel: Internal cleanup
Move the bookmark handling into a custom model, so that the
PlacesPanel only contains UI + controller code.
2012-04-25 23:02:40 +02:00
Peter Penz
73b7b11a9f Provide correct labels for Nepomuk resources 2012-04-25 21:15:14 +02:00
Frank Reininghaus
922742762f 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 68ce395a19)
2012-04-25 09:20:23 +02:00
Frank Reininghaus
dc6667b72a 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 d3b1312d3e)
2012-04-25 09:17:43 +02:00
Frank Reininghaus
5e115b893c Reduce the timeout in KItemListKeyboardSearchManager to 1 second
It turned out that the longer timeout, introduced recently in
02eab49b2d, 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 d8732a59d3)
2012-04-25 09:16:39 +02:00
Peter Penz
d44b6468be 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.
2012-04-25 02:20:25 +02:00
Alex Fiestas
23492dd1c2 Added missing ) to make this compile again 2012-04-25 01:49:59 +02:00
Peter Penz
07176a8296 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.
2012-04-24 23:18:34 +02:00
Frederik Schwarzer
a35a6c8bc5 Do not patch strings that can be combined.
REVIEW: 104712
2012-04-24 22:33:40 +02:00
Script Kiddy
2d271e3b31 SVN_SILENT made messages (.desktop file) 2012-04-24 16:54:04 +02:00
Script Kiddy
f32af21aa9 SVN_SILENT made messages (.desktop file) 2012-04-23 10:07:32 +02:00
Peter Penz
ef63d85d7a Details mode: Fix wrong required column-width calculation
BUG: 298577
FIXED-IN: 4.9.0
2012-04-23 00:24:40 +02:00
Peter Penz
dfb691587e Bring back basic bookmark support for the Places Panel
The folders-panel signals have been adjusted too for consistency.
2012-04-21 23:29:11 +02:00
Peter Penz
32d8f83712 Inline renaming: Fix wrong assertion
BUG: 298512
FIXED-IN: 4.9.0
2012-04-21 21:41:24 +02:00
Peter Penz
2069c20021 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.
2012-04-21 21:32:42 +02:00
Script Kiddy
8426b7846f SVN_SILENT made messages (.desktop file) 2012-04-18 09:33:46 +02:00
Dawit Alemayehu
b933c1a834 Fixed the signal connection that emits completed in Dolphin's KPart 2012-04-17 19:57:12 -04:00
Peter Penz
403067a785 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
2012-04-18 01:15:49 +02:00
Peter Penz
ff37139bcf 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
2012-04-17 22:21:55 +02:00
Peter Penz
f801d566ce Documentation update for KItemListRoleEditor 2012-04-17 18:18:10 +02:00
Peter Penz
8f9f877e4d Implement inline-renaming for the new view-engine
BUG: 286893
FIXED-IN: 4.9.0
2012-04-17 18:15:12 +02:00
Script Kiddy
234818d7a0 SVN_SILENT made messages (.desktop file) 2012-04-17 16:06:32 +02:00
Peter Penz
a8b5ed22a4 General settings: Use radiobuttons instead of a combo-box
Revert the change to use a combo-box, it results to clipped texts
with some languages.
2012-04-15 20:59:37 +02:00
Peter Penz
ee3455ae6a Minor statusbar fixes
- Don't show information messages as KMessageWidget
- Assure that a set text in a statusbar will be shown for at least
  one second
2012-04-15 11:46:07 +02:00
Peter Penz
9541f9ee09 Allow to optionally limit the maximum number of text lines
Showing the whole filename unclipped seems to be a good default,
however for users with a lot of files that have extremely long names
this might get a problem especially in the icons-view.

- Allow to limit the maximum number of lines in the icons-view
- Allow to specify a maximum width in the compact-view

(No limit is required for the details-view, as the name is shortened
automatically to show other columns)

BUG: 288596
FIXED-IN: 4.9.0
2012-04-14 00:28:24 +02:00
Peter Penz
213450d397 Use KMessageWidget for error- and information-messages
See http://agateau.com/2011/04/21/kde-ux-2011/ for more details.
This simplifies the statusbar in Dolphin a lot and allows to
do a proper eliding in case if status-messages are too long: In
this case a tooltip will show the whole status-message (thanks
to Wolfgang Mader for the initial patch!).

There is still missing some finetuning but the general approach
seems to work quite nice.

BUG: 249638
BUG: 245618
BUG: 146533
FIXED-IN: 4.9.0
2012-04-13 00:11:36 +02:00
Peter Penz
0b88a7cbbd Fix outdated statusbar message when entering an empty folder
BUG: 291641
FIXED-IN: 4.9.0
2012-04-11 22:21:46 +02:00
Peter Penz
6390544ef6 KFileItemModel: interface cleanups
Fix some naming inconsistencies regarding the usage of 'dir' vs.
'directory' vs. 'folder'.
2012-04-11 21:53:45 +02:00
Peter Penz
f11e88afb3 Fix compile issue resulted by commit 2caff15b 2012-04-11 20:45:19 +02:00
Peter Penz
a469a5e7f2 Minor API-cleanups for DolphinView 2012-04-11 16:43:11 +02:00
Peter Penz
2caff15bc8 KItemViews: Internal directory restructuration
- Move all private headers from the kitemviews-directory into
the 'private' subdirectory.

- Get rid of DolphinDirLister and just use a directory-lister
  internally in KFileItemModel.

- Minor interface-cleanups for signals
2012-04-11 16:08:32 +02:00