Peter Penz [Sat, 6 Dec 2008 20:06:04 +0000 (20:06 +0000)]
Fixed serious usability issue: QAbstractItemView::setAutoScroll() is not usable when trying to select items outside the visible view area (reported to Qt Software with bug ID #214542) -> implemented custom auto scrolling algorithm.
Peter Penz [Mon, 1 Dec 2008 20:56:00 +0000 (20:56 +0000)]
* assure that the keyboard focus is in the view when switching between tabs
* assure that the URL navigator gets the focus when it is editable and a new tab is opened by File -> New Tab
Peter Penz [Mon, 1 Dec 2008 19:42:51 +0000 (19:42 +0000)]
Fixed regression that triggering of items with the keyboard did not work anymore. This regression has been introduced because of checking the mouse buttons in DolphinController::triggerItem()...
Peter Penz [Sat, 22 Nov 2008 21:07:20 +0000 (21:07 +0000)]
The opening/closing animation of subtrees flickers in combination with the sidebar when using the Oxygen style. As workaround the animation is turned off.
Peter Penz [Wed, 19 Nov 2008 20:52:30 +0000 (20:52 +0000)]
* fixed issue that the autoresizing of columns is applied when adding/removing columns
* assure that QTreeView::resizeEvent() is called before applying the autoresizing for having an updated state
Peter Penz [Wed, 19 Nov 2008 20:09:51 +0000 (20:09 +0000)]
Disable the "quick view" feature: I like the Previewer plasmoid, but I think after a few months of trying to use it there is no need for having a separate menu entry (shortcut: CTRL+Return) in Dolphin: Doing a drag & drop operation to the previewer plasmoid is faster than selecting a file and pressing CTRL+Return (or selecting the menu entry). Using "Space" as shortcut conflicts with the Terminal and is still slower than simply just opening the file...
The i18n() string is still part of the code, so that it could be reactivated during the 4.2 cycle.
Peter Penz [Fri, 14 Nov 2008 17:49:30 +0000 (17:49 +0000)]
when renaming a variable number of items, it is important that the selection order does not define the new sort order -> the sort order with the renamed files should stay similar with the old sort order
Peter Penz [Thu, 13 Nov 2008 21:01:24 +0000 (21:01 +0000)]
When only one item is selected, show the item name in the statusbar instead of "1 Folder selected" or "1 File selected". This is useful in combination with the keyboard navigation.
Jordi Polo [Wed, 12 Nov 2008 15:15:14 +0000 (15:15 +0000)]
Changed a bunch of QCombobox to KCombobox and other similar classes as
suggested by Krazy.
But I didn't see any improvement in the style or funcionality...
David Faure [Mon, 10 Nov 2008 13:48:43 +0000 (13:48 +0000)]
Fix "two instances of the DragAndDropHelper" singleton: Vir found the reason, draganddrophelper.cpp was compiled
both into libdolphinprivate and into dolphin.
Also fix missing newline in copyright header.
Peter Penz [Sat, 8 Nov 2008 16:22:30 +0000 (16:22 +0000)]
* implement the DragAndDropHelper as singleton derived from QObject, so that emitting of signals is possible
* show an information message in the statusbar, if items are dragged into the same directory
TODO: although the signal seems to get connected correctly, the slot DolphinMainWindow::showInformationMessage() is not invoked when the signal is emitted -> will debug this later, it is important that the new string is added before the message freeze
If the elastic band ventures beyond the logical top-left of the view (NOTE: not the viewport), then startIndex will likely be invalid, resulting in broken selection behaviour. Prevent this.
Peter Penz [Wed, 5 Nov 2008 19:37:51 +0000 (19:37 +0000)]
Allow having a smaller text width for the icons view (Text size: "Small"), so that the same grid size can be achieved like in Konqueror for KDE 3. The default size for Dolphin will stay on "Medium".
Peter Penz [Mon, 3 Nov 2008 08:20:41 +0000 (08:20 +0000)]
* Show the total size of files in the statusbar (thanks to Bram Schoenmakers for the patch).
* Changed the format of the string to be consistent with the format used when doing a selection. Maybe it would be useful adjusting KIO::itemsSummaryString() instead using a custom output format. Currently KIO::itemsSummaryString() shows "20 Items (5 Files, 15 Folders) - (200 KiB Total)", which is quite confusing IMO, as the total size is only counted for the files. Dolphin currently shows: "15 Folders, 5 Files (200 KiB)"
Be better behaved in the presence of scroll events in the middle of an elastic band selection by storing the last selection elastic band in view (rather than viewport) coordinates.
If ignoreOldInfo, we should manually clear oldSelectionRect - an obscure bug where it is no longer possible to use rubber band selection(!) occurs otherwise!
Sometimes, the penultimate item in the bounds would get deselected when it shouldn't - this is because lastIndex is always included in the toggle range, even if it needn't be toggled. Fixed now - hopefully, there are no more "elastic band selection" bugs, now :)
Restore behaviour (I don't have an old version to check against, though!) - if CTRL is pressed when initiating elastic band, respect the item selection at that time while dragging the band.
KFileItem name() and text() needn't be the same, and we should prefer text(). Testcase - very (very) recent settings:/ in Konqueror. Thanks to dfaure for clairvoyant diagnosis!
If we commit a toggle range due to a change of parent, check to see if we should immediately form a new range with the current index. This stops child items from sometime being missed by the band.
Revert http://websvn.kde.org/?view=rev&revision=876107 - it introduced a massive performance regression and also didn't really fix the issue. Use new way that fixes the issue in a less direct but more general way.
Peter Penz [Fri, 24 Oct 2008 22:19:23 +0000 (22:19 +0000)]
* Move code from DolphinDropController to DragAndDropHelper.
* Move code which checks whether the dragging of a MIME type is supported to DragAndDropHelper. This allows adding an improved support for dropping compressed files from Ark to Dolphin later...
Peter Penz [Fri, 24 Oct 2008 21:12:11 +0000 (21:12 +0000)]
Provide a UI option for the "auto expand folders during drag operations" feature. The feature is not 100 % finished yet (dragging into a folder having a different view type does not work yet), but it's important to get in the UI string for the translators.