Peter Penz [Thu, 29 May 2008 20:01:13 +0000 (20:01 +0000)]
Before applying the cut item effect to a preview, assure that the cut items cache gets an update of the preview without effect. This assures that when cutting other items that the state of the previously cut items can be restored in any case.
Peter Penz [Thu, 29 May 2008 18:10:28 +0000 (18:10 +0000)]
Assure that the item view gets the keyboard focus when it was activated. This fixes the issue that when the view gets split, that the keyboard focus remained on the inactive view.
David Faure [Wed, 28 May 2008 22:59:26 +0000 (22:59 +0000)]
Wow, giving fileItem.url().url() to KFileMetaInfo is a bad idea -- it takes that as a path, so you end up with
QFile("file://fish://hostname")... I guess the only solution is to skip the whole KFileMetaInfo stuff for non-local-files.
But then we shouldn't see size 0 modified 12:00 am...
Peter Penz [Wed, 28 May 2008 20:48:40 +0000 (20:48 +0000)]
Assure that tabs always have a text. If the file name is empty, use the protocol instead. This fixes the issue that for "trash://" no text is shown in the tab.
Peter Penz [Wed, 28 May 2008 20:40:16 +0000 (20:40 +0000)]
Move the code for restoring the current item from DolphinViewContainer to DolphinView, as the DolphinView must be able to do this without advice from the container.
Beside that this simplifies the code it also fixes a regression of having empty tabs.
Peter Penz [Tue, 20 May 2008 18:17:20 +0000 (18:17 +0000)]
The Oxygen style provides now a nicer progress bar -> increase the content height of the statusbar so that no text is cut (tested also with other styles)
Peter Penz [Wed, 14 May 2008 20:50:00 +0000 (20:50 +0000)]
Fixed following issue for the information sidebar:
- select n files
- hover one selected file (-> old selection preview gets grey, new preview gets started)
- go to the viewport before the preview has been finished
Result: new preview has been displayed, although the viewport has been entered
Wanted behavior: old selection preview should be shown
Peter Penz [Sun, 11 May 2008 19:34:34 +0000 (19:34 +0000)]
Per default QTreeView starts either a selection or a drag operation when dragging the expanding toggle button (tricky and hard to reproducible Qt-issue - see TODO comment in DolphinIconsView::mousePressEvent()). Turn off this behavior in Dolphin to stay predictable.
Peter Penz [Thu, 8 May 2008 21:16:57 +0000 (21:16 +0000)]
* Prevent that the QTreeView::scrollTo() method adjusts the position of the horizontal scrollbar. This is done manually inside KTreeView if automatic scrolling is enabled.
* increased the delay until the auto scrolling starts from 50 to 300
Peter Penz [Thu, 8 May 2008 20:44:26 +0000 (20:44 +0000)]
* If one item is selected and the item is (at least partly) visible, assure that an automatic horizontal scrolling is done so that the item gets fully visible.
Peter Penz [Wed, 7 May 2008 20:50:27 +0000 (20:50 +0000)]
Fixed issue the the current view does not get the focus after opening Dolphin. Although this fixes #161590, further improvements have to be done to minimize the number of necessary tab presses...
David Faure [Sun, 4 May 2008 21:16:30 +0000 (21:16 +0000)]
Move "Adjust view properties" to dolphinviewactionhandler so that it's available in dolphinpart (konqueror) too.
Bug reported by kde-bug-hunter "lemma".
Peter Penz [Sun, 4 May 2008 18:24:28 +0000 (18:24 +0000)]
Fixed issue that sometimes the dragging from an inactive view to an active view does not work. Note that this is just a workaround, QAbstractItemView should take care about this itself. I tried to provide a Qt-only example for this, but it is more tricky than I thought: it seems some expensive operations are required, so that the position of the second mouse-move event is outside the item area... I'll retest this issue without workaround if Qt 4.4 final is out.
Fix CPU 100% bug. This hack couldn't live much more. Peter, about the "we get to an unusabla tree view", I've worked on a patch for QTreeView. Let's see if TT like it :)
Peter Penz [Mon, 28 Apr 2008 21:26:52 +0000 (21:26 +0000)]
Desaturate the preview when a new preview will be generated. This is useful when previews are done for large images, so that an indication is given that the current preview gets replaced.
Peter Penz [Tue, 22 Apr 2008 05:45:16 +0000 (05:45 +0000)]
Provide horizontal auto scrolling for the tree view (implemented by Harald Hvaal). As soon as KTreeView is matured enough, it can be discussed whether it should be moved to kdelibs for KDE 4.2.
David Faure [Sun, 20 Apr 2008 22:07:44 +0000 (22:07 +0000)]
Fix bug with the UndoUiInterface usage: if more than one mainwindow was used, the statusbar of the wrong window could be used for displaying error messages from the undo manager.
Peter Penz [Fri, 18 Apr 2008 19:43:16 +0000 (19:43 +0000)]
Consider the protocol and directory capabilities for file actions like Move To/Copy To (note that this is just an initial version; adjustments must also be done for the global actions like Delete, Rename etc.)
David Faure [Thu, 17 Apr 2008 21:49:53 +0000 (21:49 +0000)]
Ported dolphinpart to K_PLUGIN_FACTORY
Ported konqueror's part loading to KPluginLoader. Factorized some code into a tryLoadingService.
If you miss some khtml actions, update kdelibs/kdecore/util.
Peter Penz [Wed, 16 Apr 2008 21:08:09 +0000 (21:08 +0000)]
* clear the selection toggle when zooming in or out
* clear the selection toggle when using the scroll wheel (this is only a temporary workaround until Qt-issue #200665 has been fixed)
Peter Penz [Wed, 16 Apr 2008 20:26:21 +0000 (20:26 +0000)]
if the mouse is above an item and moved very fast outside the widget, no viewportEntered() signal might be emitted although the mouse has been moved above the viewport
Peter Penz [Sun, 13 Apr 2008 19:12:52 +0000 (19:12 +0000)]
fixes for tabs:
* remember active view when having a split view inside a tab
* prevent a possible recursion when returning into a tab having a split view