Peter Penz [Sun, 21 Dec 2008 10:15:19 +0000 (10:15 +0000)]
When common view properties are used for all folders, the internal properties should not be changed during the lifetime of a DolphinView instance. This allows to e. g. split a view and work with different view modes on each view.
Peter Penz [Sat, 20 Dec 2008 12:54:46 +0000 (12:54 +0000)]
Assure that the items within the "Others" group are sorted too, when sorting by name and using categorization.
@Rafael: Could you please have a look whether this patch is OK? It fixes bug 173027 but it is unclear for me why the deleted lines had been added at all. Thanks :-)
Peter Penz [Fri, 19 Dec 2008 06:48:57 +0000 (06:48 +0000)]
minor improvement to last commit: only request the focus if we have a listable protocol; otherwise leave the focus where it was (e. g. so that the user can enter another URL)
Peter Penz [Fri, 19 Dec 2008 06:41:26 +0000 (06:41 +0000)]
Don't request the focus for the view because of a completed directory lister, instead directly request it when we know that the user has entered a new URL. This prevents that the focus gets stolen from the Terminal when somebody types "touch foo".
David Faure [Mon, 15 Dec 2008 11:53:29 +0000 (11:53 +0000)]
Ctrl+F when in trash:/ (or any other remote protocol) said "malformed url" because KRun tried to download to a temp file via kioexec. %u tells it not to do that.
Alternatively we could look up kfind.desktop and use KRun::run(KService).
Peter Penz [Sun, 14 Dec 2008 11:25:44 +0000 (11:25 +0000)]
* Don't ignore the maximum file size for previews in the information panel. Corresponding to bug 177740 creating a thumbnail for a 200 MB PNG consumes 700 MB temporary memory...
Peter Penz [Sat, 13 Dec 2008 17:32:12 +0000 (17:32 +0000)]
When dropping an Amarok file into Dolphin, mimeData->hasUrls() returns true although the number of URLs is 0. I'll have to do further investigations to fix this in a clean way, but in the meantime this patch prevents opening an error dialog box.
Peter Penz [Sat, 13 Dec 2008 15:15:04 +0000 (15:15 +0000)]
Especially when using the details view in combination with the split functionality, the size of the name column can get too small. Do an optimized resizing in this case (at least for up to 200 items, otherwise the performance penalty is too big).
Peter Penz [Sat, 13 Dec 2008 14:08:07 +0000 (14:08 +0000)]
Handling the key events for autoscrolling in DolphinViewAutoscroller does not work good enough (e. g. when letters are pressed, the current index might change too). Revert to Frank Reininhaus' original patch to fix this issue :-)
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)"