David Faure [Mon, 11 Feb 2008 12:44:46 +0000 (12:44 +0000)]
Forwardport 773570:
Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.
David Faure [Mon, 11 Feb 2008 12:34:48 +0000 (12:34 +0000)]
Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.
Peter Penz [Thu, 7 Feb 2008 07:27:06 +0000 (07:27 +0000)]
Fixed issue that the "Show Full Location" action is not synchronized with the editable state of the URL navigator (thanks to David Benjamin for the patch).
Peter Penz [Sat, 2 Feb 2008 20:53:35 +0000 (20:53 +0000)]
Improve the selection toggle: Instead of a delay of one second until appearing, let it appear immediately but provide a smooth fade-in effect. This makes it usable from the start but is less obtrusive for the eyes.
Peter Penz [Wed, 30 Jan 2008 22:39:42 +0000 (22:39 +0000)]
Don't offer a Move Here/Copy Here/Link Here menu when dropping items above the trash, just move the things into the trash instead. TODO: as the inline comment already says KonqOperations::doDrop() should be used as longterm solution...
David Faure [Mon, 28 Jan 2008 11:33:49 +0000 (11:33 +0000)]
Centralize three more actions so that they are available in DolphinPart: 'Show preview' 'Show hidden files' 'Categorized sorting'
Found a way of sharing the actions with even less code duplication, discussed it with Peter, but this will be for after 4.0.1
Peter Penz [Sat, 26 Jan 2008 21:45:28 +0000 (21:45 +0000)]
Blend in a toggle button when hovering items. This allows selecting items without using the rubberband or Ctrl/Shift-keys in the single-click mode. Any feedback from users is highly welcome (I think people will either love or hate this feature, I'm really not sure -> it can be turned off too).
Peter Penz [Sat, 26 Jan 2008 12:48:03 +0000 (12:48 +0000)]
* increase the performance of item previews: each item view provides an icon size hint -> the preview and item effects are only applied to the current size, not to the maximum of 128 x 128 pixels
* make the icons of hidden files semitransparent like in KDE3
David Faure [Tue, 22 Jan 2008 01:22:56 +0000 (01:22 +0000)]
Move the code handling the additional-info-actions to DolphinView; simplify signal from DolphinView (it has the info anyway).
The fact that the last additional-info doesn't show up in the icon view is in fact a KFileItemDelegate bug, not a bug in this code :)
David Faure [Tue, 22 Jan 2008 00:43:51 +0000 (00:43 +0000)]
restore previous behavior: additional info actions are not mutually exclusive.
(although requesting size and type at the same time doesn't show the type...)
David Faure [Mon, 21 Jan 2008 19:31:07 +0000 (19:31 +0000)]
forwardport 764429:
Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).
Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)
David Faure [Mon, 21 Jan 2008 19:08:52 +0000 (19:08 +0000)]
Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).
Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)
Peter Penz [Mon, 21 Jan 2008 16:51:31 +0000 (16:51 +0000)]
Split the "General Settings" into "Startup Settings" and "General Settings" for having a cleaner layout. Still some fine tuning and code cleanups have to be done...
Peter Penz [Mon, 21 Jan 2008 16:07:45 +0000 (16:07 +0000)]
Make it configurable whether a browsing through archives should be done. The default setting is 'off'. TODO: cleanup the "General Settings" dialog and split it as "General" and "Startup".
Peter Penz [Mon, 21 Jan 2008 14:16:31 +0000 (14:16 +0000)]
Cleanup: let the DolphinView be aware about the used action collection. This will allow us cleaning up some code in DolphinMainWindow and will make it easier sharing code with DolphinPart.
Peter Penz [Fri, 18 Jan 2008 20:13:14 +0000 (20:13 +0000)]
Backport:
* Always take the root of an URL as root for the treeview (using a matching Places-URL leads to serious usability issues - see bug #150941 for details).
* Don't reset the horizontal scrollbar position when expanding/reloading the tree.
Peter Penz [Fri, 18 Jan 2008 20:08:21 +0000 (20:08 +0000)]
* Always take the root of an URL as root for the treeview (using a matching Places-URL leads to serious usability issues - see bug #150941 for details).
* Don't reset the horizontal scrollbar position when expanding/reloading the tree.
David Faure [Fri, 18 Jan 2008 01:13:10 +0000 (01:13 +0000)]
Extracted a MimeTypeWriter from the filetypes kcontrol module, to have the code that writes out a xdg-shared-mime compliant mimetype in one place.
Ported nspluginscan to xdg-shared-mime so that it generates mimetypes that work.
When moving left/right by pressing left/right arrows on keyboard, the previous current index becomes selected to see which item was the last one
selected on that column.
Who said there aren't coding races ? haha. Fix the keyboard navigation
in the special case of moving left to the previous column and going
upwards or downwards.
Peter Penz [Thu, 17 Jan 2008 18:12:11 +0000 (18:12 +0000)]
Treeview fixes (backport):
* don't jump to the selected folder when expanding a sub tree within the treeview widget
* don't reset the root of non-local URLs when there is no Places-URL available
Peter Penz [Thu, 17 Jan 2008 18:05:11 +0000 (18:05 +0000)]
Treeview fixes:
* don't jump to the selected folder when expanding a sub tree within the treeview widget
* don't reset the root of non-local URLs when there is no Places-URL available
Peter Penz [Wed, 16 Jan 2008 22:14:34 +0000 (22:14 +0000)]
don't resize the columns automatically, as soon as the user has modified the column widths himself (e. g. by a double-click on the header or by moving the header handle)
Peter Penz [Fri, 11 Jan 2008 11:37:28 +0000 (11:37 +0000)]
Up to now DolphinView and ColumnWidget contained a lot of code duplication regarding generating previews and the dimming of cut items. This has been refactored by introducing an IconManager which takes care itself about generating a preview and dimming cut items. This also allows improving the speed of previews in (near) future (at the moment showing previews from the cache is a lot slower than in KDE 3...).
Peter Penz [Wed, 9 Jan 2008 21:52:38 +0000 (21:52 +0000)]
Backport: Only increase the height of the statusbar for long texts if the message type is not DolphinStatusBar::Default (otherwise the layout of the icons view might get changed when hovering items).
Peter Penz [Wed, 9 Jan 2008 21:42:48 +0000 (21:42 +0000)]
Only increase the height of the statusbar for long texts if the message type is not DolphinStatusBar::Default (otherwise the layout of the icons view might get changed when hovering items).