Let the user choose if folders are always shown first in the views of
Dolphin and Konqueror (the default) or not. This setting can be
changed in the View menu: "View->Sort By->Folders First".
Make Qt 4.5's new "move tab" feature work in Dolphin. Up to now, tabs could be moved in the tab bar using drag&drop, but DolphinMainWindow didn't notice :-(
Note that there's no need to call setActiveTab() because the active tab is the same before and after the move operation - only its index in the tab bar has changed.
Peter Penz [Wed, 15 Apr 2009 20:10:03 +0000 (20:10 +0000)]
Workaround: Phonon::BackendCapabilities::isMimeTypeAvailable(...) returns true for PNG images, but it makes no sense showing a play/stop button in this case.
Peter Penz [Wed, 15 Apr 2009 18:40:08 +0000 (18:40 +0000)]
After restoring the current item when going back to a folder, the current-item URL must be cleared to prevent moving the focus when the directory content will be changed later.
Peter Penz [Wed, 15 Apr 2009 18:01:37 +0000 (18:01 +0000)]
Initialize the name-label widget with a maximum size. This is important, otherwise at least one resize event would be needed to apply a maximum width. This gets a problem if the dock is overlapped by another dock: No resize event is emitted and the preferred size increases in an unlimited way. Result: when hovering files with very long filenames, the overall dock width will increase in an unexpected way.
David Faure [Tue, 7 Apr 2009 12:45:02 +0000 (12:45 +0000)]
We don't know the mimetype here, so better not set it at all, konq will determine it.
Better than setting inode/directory for everything due to the wrong S_IFDIR.
Fixes "foo is a file but a dir was expected" error when doing MMB on a file.
Shaun Reich [Fri, 27 Mar 2009 01:03:02 +0000 (01:03 +0000)]
A few changes...
*The search bar displays "Search..." as that nice inactive-hinted text, this provides a clue as to what it is, aside from merely the small icon. Text disappears upon clicking
*Also changed text on tooltip from "Search" to "Click to begin the search".
*No need to specify layout direction as Left to Right, it is this way on construction.
Peter Penz [Thu, 26 Mar 2009 18:44:36 +0000 (18:44 +0000)]
Use KNewMenu::createDirectory() instead of KonqOperations::newDir() when F10 has been pressed, so that the directory gets automatically selected afterwards.
Rahman Duran [Wed, 25 Mar 2009 22:00:50 +0000 (22:00 +0000)]
BUG: 175658
GUI:
The remote encoding code adapted from Konqueror to Dolphin. Now user can change
encoding for remote urls like ftp. Konqueror doesn't use
KRemoteEncodingPlugin anymore. Instead, this feature is supplied to
Konqueror via DolphinPart.
Peter Penz [Sat, 21 Mar 2009 11:49:10 +0000 (11:49 +0000)]
- Write the settings to the disk as soon as "Apply" or "OK" has been pressed inside a settings dialog.
- Assure that the settings are saved in the DolphinPart destructor for settings that are changed outside the settings dialog (e. g. by using Ctrl + mouse wheel for adjusting the icon size).
Thanks to Frank Reininghaus and David Faure for the analyses.
Shaun Reich [Thu, 19 Mar 2009 01:43:35 +0000 (01:43 +0000)]
Made the accelerator for "Rename" also removed the setMarginHint() or whatever, I'm quite certain this does absolutely nothing and is no longer needed, but please, correct me if I am wrong.
Peter Penz [Tue, 17 Mar 2009 20:55:26 +0000 (20:55 +0000)]
Assure that KNewMenu from DolphinPart attachs itself to the DolphinNewMenuObserver, so that newly created items get selected (DolphinNewMenu - which attachs itself automatically - cannot be used in DolphinPart).
Peter Penz [Tue, 17 Mar 2009 20:47:03 +0000 (20:47 +0000)]
After creating an item with the "Create New..." menu, the new item should get selected and it must be assured that the item stays visible. Thanks a lot to Rahman Duran for the original patch and the good discussions :-)
Open issues:
- F10 shortcut does not work yet (interface extension might be done in KNewMenu)
- Does not work in column view yet, but this is a colum view specific issue.
Shaun Reich [Sun, 15 Mar 2009 04:01:49 +0000 (04:01 +0000)]
Added F8 as an alternate shortcut for "Show Hidden Files". Reasoning: Open file and folder dialogs (do, except for the latter(but all will) use this shortcut).
Shaun Reich [Fri, 13 Mar 2009 01:07:51 +0000 (01:07 +0000)]
Added "document-properties" icon to "Properties", I added in another menu also, for the same action, but this is a different menu, yet used in the same context.
Ask for confirmation when closing a Dolphin window with more than one tab. This can be disabled by checking the "Do not ask again" checkbox in the confirmation dialog or in Dolphin's settings dialog.
Shaun Reich [Wed, 11 Mar 2009 20:47:46 +0000 (20:47 +0000)]
The last commit made the menu be on the heap, this switches it back to stack... (I initially couldn't figure out how to do that (had to pass by reference)).
Shaun Reich [Tue, 10 Mar 2009 00:35:59 +0000 (00:35 +0000)]
The tab icon now obeys the icon of the folder that it is currently browsing. Before it would just use the "folder" icon, but it now finds the icon of that folder, and uses it.
Shaun Reich [Mon, 9 Mar 2009 18:10:35 +0000 (18:10 +0000)]
The "Recently Closed Tabs" action menu now has a limit of 10, before it could just go on for practically ever, which would yield an annoyingly huge list of closed tabs.
Shaun Reich [Mon, 9 Mar 2009 02:31:41 +0000 (02:31 +0000)]
There is no point in setting the text of a tab, each time a tab is selected, the only time we should have to do that is when we are using a split view.
This also kind of hides the Qt 4.5 tab bug (a very ugly one) from "regular" users (who don't use the split view).