David Faure [Mon, 9 Jun 2008 11:59:15 +0000 (11:59 +0000)]
Another fix for redirections: "Create New" was missing from the konqpopupmenu when doing RMB on ftp://user@host, because after the redirection, part->url() was still the old url (so it didn't look like a popup opened for the current directory, in the konqpopupemenu code)
Peter Penz [Sat, 7 Jun 2008 15:53:34 +0000 (15:53 +0000)]
Update the keypress state before invoking QTreeView::keyPressEvent(), as this call invokes QTreeView::currentChanged(), where the value is needed. This fix assures that the selection is changed when the current index is changed like in QListView.
1) Make sure that size qprogressbar is really updated after each change
2) Get rid of flicker when after changing partition new size is smaller
than used space on old one - in this case setMaximum calls reset()
3) User proper value for comparison when checking if progressbar should
be changed
Peter Penz [Sat, 7 Jun 2008 12:14:29 +0000 (12:14 +0000)]
Fixed the following Information Panel issues:
* Trash icon is not updated when trash has been emptied or got filled.
* When renaming an item the old name will be shown in the Information Panel.
* When unmounting media, still the mounted icon is shown.
Peter Penz [Sat, 7 Jun 2008 11:00:42 +0000 (11:00 +0000)]
Do a delayed initialization of all widgets when showing the the Information Panel. This assures that no expensive initializations are done when the Information Panel is not shown at all.
David Faure [Thu, 5 Jun 2008 22:25:07 +0000 (22:25 +0000)]
When "move_to_trash" is disabled and "delete" is enabled (e.g. non-local files),
enable a hidden action with Key_Del as shortcut, so that the user can press Del to delete the file.
BUG: 76016
David Faure [Thu, 5 Jun 2008 19:19:14 +0000 (19:19 +0000)]
Move the "Create New" action (for the Edit menu, not for the context menu) to dolphinpart, so that
it doesn't appear while browsing the web [with a filemanagement profile initially]. The point is to
make the GUI sensible whatever initial profile was selected and hopefully get rid of konq-filemanagement.rc/konq-webbrowsing.rc.
David Faure [Wed, 4 Jun 2008 11:51:54 +0000 (11:51 +0000)]
Continue cleaning up the menus of "konqueror as a webbrowser" : moved "Tools / Open Terminal" action to DolphinPart.
Thanks to Kevin for reminding me of this one.
David Faure [Mon, 2 Jun 2008 16:36:29 +0000 (16:36 +0000)]
Use KonqMenuActions to add the "open with" actions to the popupmenu, to avoid this independent reimplementation,
which brought back bug 121728 ('&' in application name treated as accelerator)
George Goldberg [Mon, 2 Jun 2008 10:07:13 +0000 (10:07 +0000)]
Fix the edit-menu action disabling/enabling bug in dolphinpart finally! Also, move FileItemCapabilities from dolphin to KonqFileItemCapabilities at dfaure's request (making it implicitly shared along the way).
George Goldberg [Mon, 2 Jun 2008 02:50:36 +0000 (02:50 +0000)]
Fix dolphinpart context menu so that the delete/rename/send to trash options are disabled when the directory containing the selected files/dirs is not writable.
CCBUGS: 161594
Issues remaining: Send to trash should be disabled on remote files (and replaced with delete) and edit menu of konqueror still has the actions like cut/delete/rename always enabled.
Peter Penz [Sun, 1 Jun 2008 22:15:13 +0000 (22:15 +0000)]
Improve the performance when creating previews for thousands of items by the following strategy:
- The previews for currently visible items are created before
the previews for invisible items.
- If the user changes the visible area by using the scrollbars,
all pending previews get paused. As soon as the user stays
on the same position for a short delay, the previews are
resumed. Also in this case the previews for the visible items
are generated first.
Fix problem when descending order on "Today" and "Thursday" for example. Now we also have week independant maths, so we get a Yesterday tag even if yesterday was 31st and today is 1st. Peter, the
order should be correct now, please recheck (I added a '-', so the order now is the inverse that the one shown on the kfm-devel thread).
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.