Commit graph

538 commits

Author SHA1 Message Date
Peter Penz de077f8477 Let each DolphinMainWindow run in a custom process
A possible crash in one Dolphin window should not result in crashing
other Dolphin windows. Beside this it also prevents issues with
modal dialogs or notifications.

BUG: 269950
BUG: 206053
BUG: 196034
FIXED-IN: 4.7.0
2011-04-12 20:08:08 +02:00
Peter Penz 2baa9ec45a Optimize alignment of toolbar menu
Try to align the toolbar menu within the Dolphin window to
reduce the cases where the sub-menus overlap with the right
screen border.
2011-04-08 19:38:37 +02:00
Frederik Schwarzer 33635cd40c Add missing i18n call 2011-04-06 00:36:39 +02:00
Peter Penz 5ff682d852 Readd the "go home" action
It got accidently lost during the menu-button changes. Also the
clearStatusBar() calls have been removed as this is handled in the
DolphinViewContainer internally since a long time already.
2011-03-29 18:37:40 +02:00
Peter Penz c80b261505 Update the size of the menu toolbar-item
If the icon size of the toolbar has been changed, the manually added
menu toolbar-item must be updated.
2011-03-27 19:07:14 +02:00
Peter Penz 5647aab1e3 Minor optimizations for the menu toolbar-item 2011-03-27 18:46:08 +02:00
Peter Penz bbef0013a1 Don't use a submenu for the settings
If the toolbar-menu is used just put the settings-related entries
directly to the root instead of collecting them in a sub-menu.
2011-03-27 17:43:02 +02:00
Peter Penz 9af429cae1 Provide toolbar-menu when the menubar is hidden
Use a similar default UI like in Rekonq and other browsers: Hide the
menubar and add access to all actions by a button in the toolbar.
Of course it is still possible to show the menubar so that the same UI
is given like before.
2011-03-26 23:26:39 +01:00
Peter Penz a90938c414 Show places selector of URL navigator only when required
The places selector of the URL navigator only needs to get shown
if the Places panel is invisible.
2011-03-26 16:38:34 +01:00
Peter Penz 984c20161b Add search modes for the Search Panel
The search panel must get a hint whether clicking on the facets should result in searching everywhere or from the current folder. It is not sufficient to check the search-settings of the "Find:"-box, as when the "Find:"-box is invisible there is no hint for the user what kind of searching is done and the setting must be ignored.
2011-03-10 23:21:42 +01:00
Peter Penz 65b5d7d8e3 Rename the "Filter Panel" to "Search Panel"
Bug reports indicate that users are confused by the term "filter" for this.
2011-03-09 19:19:54 +01:00
Peter Penz 39911cad18 Prevent unnecessary reloading of KDirLister on startup
When Dolphin is started with a directory as argument unnecessary reload operations of KDirListers are done. The patch improves this by just letting the DolphinView internally do a loading as soon as it gets visible (and without reloading). Also in case if only one directory is passed as argument the current tab gets reused instead of creating new tabs and removing the current tab.

Thanks a lot to David Faure for pointing out this unefficient handling.
2011-03-08 22:32:49 +01:00
Sebastian Dörner 2a5b3ec615 Consistently use binary operators to connect QFlags 2011-02-27 23:06:14 +01:00
Peter Penz 4a9561e6b7 Fix regression that creating a sub-folder is not possible
CCBUG: 265714
2011-02-09 21:15:55 +01:00
Peter Penz d3496b1231 Coding style update for pointer comparison
Most developers seem to prefer
  if (ptr) ...
  if (!ptr) ...
in comparison to
  if (ptr != 0) ...
  if (ptr == 0) ...

Adjusted the Dolphin-code to use the "most-prefered style" to make contributors happy.
2011-02-09 19:24:27 +01:00
Peter Penz ceba0f6f6a Use capitalized includes of recently committed kdelibs headers 2011-02-09 18:42:04 +01:00
Peter Penz fd74aa8e20 Update e-mail address from peter.penz@gmx.at to peter.penz19@gmail.com 2011-02-04 15:57:33 +01:00
Peter Penz 8eb9b508ca Use capitalized KDE includes 2011-02-04 15:43:21 +01:00
Peter Penz 7045a25e3a Fix visibility- and enabled-issues for the filter-panel
The filter-panel should be disabled if the current folder is not indexed at all. Also when triggering a "Find" the filter-panel should stay invisible per default when the current folder is not indexed.

CCBUG: 264969
2011-02-02 19:36:08 +01:00
Sebastian Doerner aef40807d1 Fix crash when detaching a tab with "Split View Mode" setting enabled
svn path=/trunk/KDE/kdebase/apps/; revision=1217560
2011-01-27 21:30:45 +00:00
Peter Penz 75a6e8fb2a Fix regression introduced by SVN commit 1214916: The navigator should get the focus when "Replace Location" is invoked.
CCMAIL: sebastian@sebastian-doerner.de

svn path=/trunk/KDE/kdebase/apps/; revision=1215110
2011-01-17 17:39:36 +00:00
Sebastian Doerner f5f6c89c3f Simplify DolphinMainWindow::replaceLocation()
svn path=/trunk/KDE/kdebase/apps/; revision=1214916
2011-01-16 21:18:18 +00:00
Peter Penz eaf7c9ab2b SVN_SILENT: Remove unused method
svn path=/trunk/KDE/kdebase/apps/; revision=1212992
2011-01-08 23:11:34 +00:00
Sebastian Doerner 6866686dd2 Fix sanity check in toggleViews()
svn path=/trunk/KDE/kdebase/apps/; revision=1212950
2011-01-08 19:08:49 +00:00
Peter Penz d257bcb21c Add the "Lock Panels"/"Unlock Panels"-action to the context-menu of the Places Panel.
svn path=/trunk/KDE/kdebase/apps/; revision=1211709
2011-01-04 17:54:58 +00:00
Peter Penz a5c75b52fe SVN_SILENT: Don't connect to non-existing signal/slot
svn path=/trunk/KDE/kdebase/apps/; revision=1210426
2010-12-31 11:06:49 +00:00
Peter Penz 9481509325 Lock panels per default and allow to unlock them like in Amarok.
BUG: 229811
FIXED-IN: 4.7.0

svn path=/trunk/KDE/kdebase/apps/; revision=1210424
2010-12-31 10:59:46 +00:00
Peter Penz f7bbe21b5b Fix regression introduced in 4.5 and allow to add the menu actions "Show Information Panel", "Show Folders Panel", "Show Terminal Panel", "Show Places Panel" and "Show Places Panel" to the toolbar like in KDE SC 4.4.
BUG: 250847
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1207728
2010-12-19 12:48:24 +00:00
Peter Penz 4422dfd5fa Fix build-issue if no Nepomuk is available
svn path=/trunk/KDE/kdebase/apps/; revision=1196022
2010-11-12 12:34:51 +00:00
Peter Penz 1629b2ee29 Currently the Filter Panel does only work with enabled Nepomuk. Don't show it when Nepomuk is disabled.
svn path=/trunk/KDE/kdebase/apps/; revision=1195652
2010-11-11 17:43:32 +00:00
Peter Penz b1c5243645 Also allow to show/hide the Filter Panel if Nepomuk is disabled
svn path=/trunk/KDE/kdebase/apps/; revision=1195360
2010-11-10 22:20:02 +00:00
Aurélien Gâteau 1a13fffbd9 Revert "showMenuBar is deprecated, use showHideMenuBar instead."
This reverts commit f20cd7fd1836d0f16bc1dec2204bd4356a9f2802.

svn path=/trunk/KDE/kdebase/apps/; revision=1194446
2010-11-09 00:15:14 +00:00
Peter Penz 456d529295 Make the filter-behavior similar to applications like Kate, where activating the filter lets focus it again.
BUG: 256160
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1193912
2010-11-07 14:55:33 +00:00
Peter Penz 369eb4117d Disable the filter-dock if Nepomuk is not active.
svn path=/trunk/KDE/kdebase/apps/; revision=1193611
2010-11-06 14:33:23 +00:00
Peter Penz d83a4ce51d Rename the setter showFilterBar() to setFilterBarVisible().
svn path=/trunk/KDE/kdebase/apps/; revision=1193348
2010-11-05 17:12:35 +00:00
Peter Penz 55a1c26c24 SVN_SILENT: fix typo
svn path=/trunk/KDE/kdebase/apps/; revision=1193345
2010-11-05 17:03:29 +00:00
Peter Penz da1adf7ba4 If the user has changed the startup settings, they should also get applied to the current views.
BUG: 254947
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1193344
2010-11-05 17:02:58 +00:00
Peter Penz 454a0a6539 Fix build-issue if Nepomuk is not available.
svn path=/trunk/KDE/kdebase/apps/; revision=1191041
2010-10-29 13:41:26 +00:00
Peter Penz 8a7591e20b Postpone the initialization of the filter-panel until it is shown. This prevents overhead if the filter-panel is disabled.
svn path=/trunk/KDE/kdebase/apps/; revision=1190460
2010-10-27 18:31:39 +00:00
Peter Penz d9141a2ade Move "Filter"-action to the bottom and apply icon + shortcut
svn path=/trunk/KDE/kdebase/apps/; revision=1190446
2010-10-27 17:17:20 +00:00
Peter Penz 4383f4238e - Automatically show the filter-panel when a searching is done
- Remove filter-prototypes that conflict with the filterpanel


svn path=/trunk/KDE/kdebase/apps/; revision=1190445
2010-10-27 17:08:02 +00:00
Kevin Ottens e521e260b6 showMenuBar is deprecated, use showHideMenuBar instead.
svn path=/trunk/KDE/kdebase/apps/; revision=1190390
2010-10-27 14:26:05 +00:00
Peter Penz 90d6867a5e Rename FacetPanel to FilterPanel so that the name reflects the headline.
svn path=/trunk/KDE/kdebase/apps/; revision=1190370
2010-10-27 13:35:24 +00:00
Peter Penz 6e34ec835d Fix build issues if Nepomuk is not available
svn path=/trunk/KDE/kdebase/apps/; revision=1190010
2010-10-26 16:01:43 +00:00
Peter Penz 537ad8a891 Apply the facets-patch written by Sebastian Trüg, which allows to filter search results in a very comfortable way. A lot of finetuning is necessary (e.g. the custom filter-prototypes from Dolphin will get removed etc). This will be done during the next weeks.
svn path=/trunk/KDE/kdebase/apps/; revision=1189951
2010-10-26 13:11:37 +00:00
Peter Penz edd98d7659 - Add support for file item actions (see http://reviewboard.kde.org/r/5659/)
- Internal cleanups of DolphinContextMenu code


svn path=/trunk/KDE/kdebase/apps/; revision=1189651
2010-10-25 13:45:34 +00:00
Andreas Hartmetz c40a3a1ee6 compile in debug mode (asserts enabled)
svn path=/trunk/KDE/kdebase/apps/; revision=1184511
2010-10-10 16:13:25 +00:00
Peter Penz 36e89e9fa6 Internal cleanup: Remove public method selectedUrls() from DolphinView to keep the interface minimal (selectedItems() is already available)
svn path=/trunk/KDE/kdebase/apps/; revision=1184457
2010-10-10 11:11:45 +00:00
Peter Penz a83876c44f Implement the actions "Open in New Window" and "Open in New Tab" for the case if no item is selected.
svn path=/trunk/KDE/kdebase/apps/; revision=1183222
2010-10-06 15:04:37 +00:00
Peter Penz 7f7bea872b If the context-menu is opened for a file shown as search result, offer the actions "Open Parent Folder in New Window" and "Open Parent Folder in New Tab"
svn path=/trunk/KDE/kdebase/apps/; revision=1178362
2010-09-22 20:24:49 +00:00
Peter Penz 5bb2a0f3c9 Unbelievable: I simply forgot to implement the Stop-action in Dolphin since KDE SC 4.0. Well better later than never: Done now :-)
BUG: 233836

svn path=/trunk/KDE/kdebase/apps/; revision=1178344
2010-09-22 19:39:46 +00:00
Peter Penz bf8f150507 - DolphinViewContainer::url() returns an instance, not a reference
- GeneralSettings::homeUrl() returns a QString instance, not a KUrl reference

svn path=/trunk/KDE/kdebase/apps/; revision=1177958
2010-09-21 19:38:26 +00:00
Peter Penz 53dbea61bc Update the title of the tab when closing the second view in the split-mode. Thanks to
Enrique Alonso for analysing the root-cause! 

CCMAIL: enrique_alonso@igluk.com

svn path=/trunk/KDE/kdebase/apps/; revision=1177952
2010-09-21 19:30:26 +00:00
Peter Penz c7e8c4af3d Workaround for a X11-issue in combination with KModifierKeyInfo: When constructing KModifierKeyInfo in the constructor of the context menu, the user interface might freeze. Thanks to Mark Gaiser for clarifying this with the KModifierKeyInfo maintainer and testing the workaround!
CCMAIL: markg85@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=1177658
2010-09-20 19:52:40 +00:00
Peter Penz 9a55b0d704 There is no need to burden DolphinMainWindow with internals of the context-menu.
CCMAIL: markg85@gmail.com


svn path=/trunk/KDE/kdebase/apps/; revision=1176513
2010-09-17 21:16:56 +00:00
Mark Gaiser 304e9524b6 When you view the context menu of a file/folder and shift is pressed (and the delete action line is not enabled in the settings) then the
"Move to trash (del)" action gets replaced by the "Delete (shift del)" action and replaced back to "Move to trash (del)" when you release 
shift.

BUG: 194275

svn path=/trunk/KDE/kdebase/apps/; revision=1176493
2010-09-17 19:47:01 +00:00
Peter Penz 02c02a05c1 Show location in window title for non-local URLs. Thanks to Mark Gaiser for the patch and David Faure for the review on http://reviewboard.kde.org/r/5178.
BUG: 244512
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1176395
2010-09-17 14:42:57 +00:00
Peter Penz 1dfb2f385a Remove custom handling of wheel-events for tabs, this is done now in KTabBar
CCBUG: 248962


svn path=/trunk/KDE/kdebase/apps/; revision=1171577
2010-09-04 13:56:16 +00:00
Peter Penz 09e1cc4d77 Context-menu cleanups:
- KNewMenu has been deprecated by KNewFileMenu. Reflect this in the names of related Dolphin classes.
- Provide context-sensitive actions also when a context-menu is opened on the viewport

BUG: 191938
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1168586
2010-08-27 05:26:27 +00:00
Peter Penz a5cf21ff06 Sourcecode hierarchy cleanup: Move further files from src to src/views
svn path=/trunk/KDE/kdebase/apps/; revision=1154150
2010-07-24 22:08:30 +00:00
Peter Penz 49eb864b03 Unify the search interface for non-indexed and indexed folders
svn path=/trunk/KDE/kdebase/apps/; revision=1154073
2010-07-24 16:37:07 +00:00
Peter Penz 42ba5dfd4b Forward port of SVN commit 1147596: Skip redirection URLs when going back or forward in history (otherwise going
back won't be possible for the user, as a redirection will occur again).

CCBUG: 212293

svn path=/trunk/KDE/kdebase/apps/; revision=1147597
2010-07-08 19:46:56 +00:00
Peter Penz 38760a3010 Hide the information panel by default
svn path=/trunk/KDE/kdebase/apps/; revision=1138819
2010-06-16 21:13:41 +00:00
Alexander Potashev d51e3bc2f0 Fix i18n context info: "@action:inmenu File" -> "... View"
svn path=/trunk/KDE/kdebase/apps/; revision=1131720
2010-05-28 20:12:33 +00:00
Ignat Semenov a56b52dc4d Remove separator
svn path=/trunk/KDE/kdebase/apps/; revision=1130874
2010-05-26 17:03:06 +00:00
Peter Penz d33b0066fa Update the edit actions when starting Dolphin, to assure that the state "no_selection" gets triggered
svn path=/trunk/KDE/kdebase/apps/; revision=1130573
2010-05-25 17:59:00 +00:00
Pino Toscano bd7b4faa4a terminalAction is defined only on non-windows systems
svn path=/trunk/KDE/kdebase/apps/; revision=1124310
2010-05-08 19:49:20 +00:00
Peter Penz a77b176d32 Use the dock widgets actions directly, as they are capable of showing the toggle state. Drawback: The actions cannot be added directly to the toolbar, but as the group "Panels" can be added instead, this should be no issue.
svn path=/trunk/KDE/kdebase/apps/; revision=1122363
2010-05-03 17:46:34 +00:00
Peter Penz 23f31b60b0 Allow to add menu groups like "View Mode", "Sort By"... to be added as toolbar item (see http://reviewboard.kde.org/r/3862).
Thanks to Todd for the patch!

CCMAIL: toddrme2178@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=1122320
2010-05-03 15:40:24 +00:00
Peter Penz b28bec6710 Always apply the editable state of the current URL navigator to the URL navigator of the new tab (not only if the current URL navigator is editable)
svn path=/trunk/KDE/kdebase/apps/; revision=1106928
2010-03-24 08:06:34 +00:00
Peter Penz eaa27ac4b4 Assure that when opening a new tab, that the URL navigator of the new tab has the same editable state as the current tab
Thanks to Vishesh Handa for the patch!

svn path=/trunk/KDE/kdebase/apps/; revision=1106757
2010-03-23 21:29:58 +00:00
Peter Penz 7d74e2b70d Use the default keyboard shortcuts for next-tab/previous-tab as primary key, but use the commonly used shortcuts Ctrl+Tab/Ctrl+Shift+Tab as secondary keys.
Of course it is still possible that the user defines custom shortcuts.

BUG: 231541

svn path=/trunk/KDE/kdebase/apps/; revision=1106406
2010-03-22 18:48:12 +00:00
Sebastian Trueg fa24cc8e11 Stat URLs before opening them to make sure they are actually dirs we can list. Otherwise use KRun.
svn path=/trunk/KDE/kdebase/apps/; revision=1103520
2010-03-15 09:55:51 +00:00
Peter Penz 0c71d25a6f Allow to drop files above a tab. Thanks to Todd for the patch.
svn path=/trunk/KDE/kdebase/apps/; revision=1094746
2010-02-23 07:26:02 +00:00
David Faure ad85be955b Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the only way to avoid duplicating code until kde5)
Port all of kdebase' use of KNewMenu to KNewFileMenu.
Also port from KonqNameAndUrlInputDialog to KNameAndUrlInputDialog,
and from KonqMenuActions to KFileItemActions in dolphincontextmenu.cpp

svn path=/trunk/KDE/kdebase/apps/; revision=1080547
2010-01-26 12:04:56 +00:00
Peter Penz 11e1ee53bb Now *really' open a new tab if the URL navigator requests it... (the previous commit missed this 2 quite important lines).
CCBUG: 181223

svn path=/trunk/KDE/kdebase/apps/; revision=1079854
2010-01-25 09:00:51 +00:00
Peter Penz e5eae108ca * Adjust code to use the improved KUrlNavigator API.
* Open a new tab if the URL navigator requests it.
* Get rid of a cyclic dependency between DolphinViewContainer and DolphinMainWindow.

BUG: 181223

svn path=/trunk/KDE/kdebase/apps/; revision=1079843
2010-01-25 07:58:24 +00:00
Peter Penz 2798e5d225 only set the title synchronously for the file-protocol, otherwise use KIO::stat()
svn path=/trunk/KDE/kdebase/apps/; revision=1077599
2010-01-20 13:06:16 +00:00
Sebastian Trueg a567da792a Use a stat job to determine the caption on non-file URLs. This way we get the fancy UDS_DISPLAY_NAMEs for
URLs like the nepomuksearch ones.

BUG: 222095

svn path=/trunk/KDE/kdebase/apps/; revision=1077551
2010-01-20 11:26:39 +00:00
Peter Penz f18e6e6bb8 use KAction::setShortcut() instead of QAction::setShortcut()
svn path=/trunk/KDE/kdebase/apps/; revision=1075127
2010-01-15 15:23:43 +00:00
Peter Penz 2f59a5236a Fixed issue that the keyboard shortcuts for the docks places, folders, information and terminal could not be changed.
BUG: 218485

svn path=/trunk/KDE/kdebase/apps/; revision=1073053
2010-01-11 13:55:21 +00:00
Peter Penz cc06711735 - When the filterbar has been activated as startup setting, still the view should get the keyboard focus.
- Assure that the keyboard focus does not get lost when a tab is opened in background.

CCBUG: 183394

svn path=/trunk/KDE/kdebase/apps/; revision=1072868
2010-01-11 09:21:16 +00:00
Peter Penz 2c3fc5c93f use correct icon when opening new tabs with the middle click
BUG: 212942

svn path=/trunk/KDE/kdebase/apps/; revision=1070717
2010-01-06 15:33:27 +00:00
Maciej Mrozowski b6cf6cc684 Revert r1053349 - this file is included alread when HAVE_NEPOMUK is defined - no need to do it twice.
This fixed compilation without nepomuk libs.

svn path=/trunk/KDE/kdebase/apps/; revision=1064809
2009-12-21 20:58:28 +00:00
Peter Penz 4ce21c5a6e don't try to do anything if no files have been passed
svn path=/trunk/KDE/kdebase/apps/; revision=1063333
2009-12-17 21:14:38 +00:00
Peter Penz e15a9f3a8d * respect the --select startup option
* minor cleanups related to selecting items in general

svn path=/trunk/KDE/kdebase/apps/; revision=1063329
2009-12-17 21:07:18 +00:00
Peter Penz 5e25098037 allow to restrict the search results by the current folder (including all sub folders)
svn path=/trunk/KDE/kdebase/apps/; revision=1061589
2009-12-12 12:23:05 +00:00
Peter Penz a960935b00 * allow to filter the search result by images or text-documents
* minor cleanups

svn path=/trunk/KDE/kdebase/apps/; revision=1061550
2009-12-12 05:59:45 +00:00
Sebastian Trueg d324e790d6 * Fixed execution of links in the metadata widget.
* Do not try to list non-listable URLs.

svn path=/trunk/KDE/kdebase/apps/; revision=1054300
2009-11-25 20:53:37 +00:00
Frank Reininghaus 5592947ec2 Fix Dolphin crash on startup if HAVE_NEPOMUK is false.
svn path=/trunk/KDE/kdebase/apps/; revision=1054165
2009-11-25 17:48:41 +00:00
Dmitry Suzdalev 61813e0df7 Add missing include
svn path=/trunk/KDE/kdebase/apps/; revision=1053349
2009-11-23 21:56:26 +00:00
Peter Penz 35ba6eb132 * show only a minimized set of search options per default
* remember the search options when closing Dolphin, so that the user can adjust his "default search template"

svn path=/trunk/KDE/kdebase/apps/; revision=1052499
2009-11-21 22:08:59 +00:00
Peter Penz 2b6cceb0f6 Provide clickable resources for the Information Panel. Thanks to Sebastian Trüg für the patch!
CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=1051553
2009-11-19 19:38:34 +00:00
David Faure f2c315a147 Warn when the unsuspecting user is about to create a directory that starts with a dot,
like Sabine's ".csv test files" folder, which did not appear in the directory view
after being created.


svn path=/trunk/KDE/kdebase/apps/; revision=1051124
2009-11-18 22:27:31 +00:00
David Faure 23e0b64e60 better fix so that it links, too...
svn path=/trunk/KDE/kdebase/apps/; revision=1050535
2009-11-17 15:16:38 +00:00
David Faure df5b974b1b try to fix compilation for people without nepomuk (dolphinmainwindow.cpp:1008: error: invalid use of incomplete type ‘struct DolphinSearchOptionsConfigurator’)
svn path=/trunk/KDE/kdebase/apps/; revision=1050534
2009-11-17 15:12:10 +00:00
Peter Penz bd30bb6ca9 search finetuning:
* trigger progress information when starting a search
* let the information panel hide the meta data for the search string
* get the search string from the configurator

svn path=/trunk/KDE/kdebase/apps/; revision=1048721
2009-11-13 21:03:19 +00:00
Peter Penz 07f31c2087 Show a progress information when doing a Nepomuk search. As "sideeffect" some KDE3 relicts for the progress bar code have been removed too...
svn path=/trunk/KDE/kdebase/apps/; revision=1048225
2009-11-12 22:45:47 +00:00
Peter Penz f0cab33518 Don't show the search options, if no Nepomuk is available. Hopefully Nepomuk will get a hard build dependency quite soon, those #ifdef-code is really ugly and difficult to maintain...
svn path=/trunk/KDE/kdebase/apps/; revision=1048135
2009-11-12 19:45:55 +00:00
Peter Penz d9e3139e50 * Show the search options as soon as the search bar gains focus.
* Allow the user to manually close the options.
* Added tooltip descriptions.

svn path=/trunk/KDE/kdebase/apps/; revision=1047281
2009-11-10 21:44:24 +00:00
Peter Penz 232e7eaad7 move the "Download New Services..." entry from the Settings menu to the service configuration dialog
svn path=/trunk/KDE/kdebase/apps/; revision=1046788
2009-11-09 18:13:36 +00:00
Frank Reininghaus 7ff8c0d89a When the Back, Forward and Up buttons in the toolbar are clicked with
the middle mouse button, open the URL in a new tab.

FEATURE: 190549

svn path=/trunk/KDE/kdebase/apps/; revision=1046785
2009-11-09 17:50:21 +00:00
Peter Penz 7746fdb9a3 * provide descriptive tooltip texts for actions
* fixed some coding style issue (tabs...)

BUG: 213358

svn path=/trunk/KDE/kdebase/apps/; revision=1045751
2009-11-06 18:02:55 +00:00
Peter Penz 73007f7d63 After some discussions at http://reviewboard.kde.org/r/1938 it turned out that moving KMetaDataWidget and KMetaDataConfigurationDialog to kdelibs should be postponed to KDE 4.5. The main reason is that adding application specific properties is not possible with the current API in a generic way. Also the topic how to hide properties application specific is an open point...
So now all adjustments from the review have been adapted to the Dolphin code. After KDE 4.4 has been released some refactoring will be done so that the open topics above are handled in a nice way.

svn path=/trunk/KDE/kdebase/apps/; revision=1041547
2009-10-28 07:18:00 +00:00
Markus Meik Slopianka 573299f13b Typo
svn path=/trunk/KDE/kdebase/apps/; revision=1038352
2009-10-21 06:59:05 +00:00
Markus Meik Slopianka f1ebbff6e4 Less technical language in status bar messages
svn path=/trunk/KDE/kdebase/apps/; revision=1038270
2009-10-20 22:50:34 +00:00
Peter Penz 213705a22c give the splitter more space than the (optional) search options
svn path=/trunk/KDE/kdebase/apps/; revision=1036783
2009-10-17 19:33:36 +00:00
Peter Penz 884b5ad3a9 add A search options widget, which later on will include Adam Kidder's search prototype from playground
svn path=/trunk/KDE/kdebase/apps/; revision=1036776
2009-10-17 19:24:05 +00:00
Peter Penz 5e123c68d7 * move classes for searching into an own folder (new classes will be added soon)
* Postpone the creation of the searchcompleter, until the editor gets focused. This improves the startup time of Dolphin (reading all available tags is an expensive operation).

svn path=/trunk/KDE/kdebase/apps/; revision=1036658
2009-10-17 15:05:50 +00:00
Peter Penz f9b2c9f0c7 The text of the paste-action is modified dynamically by Dolphin (e. g. to "Paste One Folder"). To prevent that the size of the toolbar changes due to the long text, the text "Paste" is used when the action is shown in the toolbar.
Thanks to Christoph Feck for the hint!

BUG: 209392

svn path=/trunk/KDE/kdebase/apps/; revision=1033985
2009-10-11 17:43:30 +00:00
Will Stephenson 22187ee547 Add view-filter icon as discussed on kde-devel with ppenz.
svn path=/trunk/KDE/kdebase/apps/; revision=1017236
2009-08-30 08:33:59 +00:00
Frank Reininghaus 8e17757ae3 Use KApplication::sessionSaving() to determine if Dolphin is closed by
the session manager - there's no need to reinvent the wheel ;-)

Thanks to Lubos Lunak for the hint.

svn path=/trunk/KDE/kdebase/apps/; revision=1013726
2009-08-20 15:47:38 +00:00
Frank Reininghaus c0922a81d8 Do not warn the user about closing Dolphin windows with multiple tabs
if Dolphin is closed by the session manager, i.e., if the user logs
out. The fix is inspired by the way this issue is handled in
Konqueror.

BUG: 201803

svn path=/trunk/KDE/kdebase/apps/; revision=1011002
2009-08-13 18:54:16 +00:00
Peter Penz 99eacd9f56 move statusbar code into the directory "statusbar"
svn path=/trunk/KDE/kdebase/apps/; revision=1005704
2009-08-01 20:01:51 +00:00
Peter Penz 8e6dbadef2 Fixed performance issues related to selections and deleting of files:
- Don't connect to KDirLister::itemDeleted(const KFileItem&), but KDirLister::itemsDeleted(const KFileItemList&). Otherwise Dolphin is informed about each single file deletion instead of getting the deleted items as a list. Thanks to David Faure for the hint!

- DolphinViewContainer::updateStatusBar() can be expensive when a lot of files are selected, as the file size must get retrieved. Assure that fast calls for updateStatusBar() don't trigger a synchronous update, do the update after 300 ms where no further update has been triggered.

- Dolphin provides a list of file items when emitting the selectionChanged() signal. Collecting the file items is a quite expensive operation, so use the same approach as when updating the statusbar: only emit the selection changed signal when no change has been done within 300 ms. This improves the performance when doing huge selections a lot.

- Make updateStatusBar() a private method, the main window should not need to take care about updating the statusbar (this is done internally now by DolphinViewContainer).

BUG: 199090
BUG: 195787
CCBUG: 199352
CCBUG: 188218

svn path=/trunk/KDE/kdebase/apps/; revision=995015
2009-07-11 17:48:05 +00:00
Peter Penz c3ffc95a73 - adding missing const
- minor adjustment of name
- use same declaration order as other private methods

CCMAIL: predator106@gmail.com 

svn path=/trunk/KDE/kdebase/apps/; revision=994089
2009-07-10 06:07:32 +00:00
Shaun Reich 70915125f7 Fixed the annoying bug (for me) that dealt with having a very long folder name. In this case, the name of the tab could be many more times bigger than the tabBar itself.
Now they are ellided, so e.g. "really really long folder name...is" or something.

Few more cases left for me to fix(shortly), but those are not quite close to this section.

svn path=/trunk/KDE/kdebase/apps/; revision=993618
2009-07-09 04:41:53 +00:00
Peter Penz c1ea2c3491 krazy qtclasses fixes
svn path=/trunk/KDE/kdebase/apps/; revision=973289
2009-05-26 18:52:14 +00:00
Peter Penz 3a612f1f24 use correct icon name (issue reported by krazy)
svn path=/trunk/KDE/kdebase/apps/; revision=973278
2009-05-26 18:39:25 +00:00
Peter Penz ec859058c6 krazy fixes
svn path=/trunk/KDE/kdebase/apps/; revision=969874
2009-05-19 07:25:40 +00:00
Frank Reininghaus 07ad9b3726 Update the directory of the Terminal Panel if the current URL is not a
"file:" URL, but is nevertheless local (e.g., "desktop:").

This fix is also applied to the new "Open external Terminal" action
which will be in KDE 4.3.

BUG: 167810 

svn path=/trunk/KDE/kdebase/apps/; revision=969265
2009-05-17 19:57:07 +00:00
Frank Reininghaus cc8a62ff16 Don't show an empty window caption when browsing "/", "trash:", etc.
BUG: 190783

svn path=/trunk/KDE/kdebase/apps/; revision=964061
2009-05-05 21:49:03 +00:00
Frank Reininghaus cadfb2a3c6 Make it impossible to hide one of the views in a split view setup
completely by dragging the QSplitterHandle to the left or right. This
fixes the problem that a hidden view disappears completely after
closing the visible view. The root cause of this issue still seems to
be unclear though.

BUG: 190265

svn path=/trunk/KDE/kdebase/apps/; revision=957703
2009-04-22 18:29:02 +00:00
Frank Reininghaus b842968e4a 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.

BUG: 189641

svn path=/trunk/KDE/kdebase/apps/; revision=954556
2009-04-15 21:50:50 +00:00
David Faure 402a17bf1f KonqFileItemCapabilities -> KFileItemListProperties
svn path=/trunk/KDE/kdebase/apps/; revision=948007
2009-04-01 23:34:33 +00:00
Peter Penz 66ef40ec88 Use KNewMenu::createDirectory() instead of KonqOperations::newDir() when F10 has been pressed, so that the directory gets automatically selected afterwards.
CCMAIL: rahman.duran@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=945037
2009-03-26 18:44:36 +00:00
Rahman Duran bd2f7179de 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.

svn path=/trunk/KDE/kdebase/apps/; revision=944659
2009-03-25 22:00:50 +00:00
Peter Penz abc9b18816 Fixed issue that tabs are not remembered when restoring a session. Thanks a lot to Rahman Duran for the patch!
BUG: 181227
CCMAIL: rahman.duran@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=941226
2009-03-19 07:23:41 +00:00
Peter Penz 644938fcde SVN_SILENT: remove trailing spaces
svn path=/trunk/KDE/kdebase/apps/; revision=940620
2009-03-17 20:34:32 +00:00
Frank Reininghaus b9b9df7296 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.
FEATURE: 168417

svn path=/trunk/KDE/kdebase/apps/; revision=938767
2009-03-12 22:40:32 +00:00
Shaun Reich fb362b97a7 No need to set the accelerator manually, it's done automatically anyways(or it will be).
svn path=/trunk/KDE/kdebase/apps/; revision=938478
2009-03-11 22:41:57 +00:00
Shaun Reich 7a22141c55 This patch isn't needed anymore thanks to dfaure's up-coming patch to kmenu, the accelerator manager will automatically handle KMenu's.
svn path=/trunk/KDE/kdebase/apps/; revision=938471
2009-03-11 22:25:39 +00:00
Shaun Reich 6e4711a6a8 Changed i++ to ++i. I accidentally did the first when I first made the recently closed tabs feature (habitual).
svn path=/trunk/KDE/kdebase/apps/; revision=938422
2009-03-11 20:48:37 +00:00
Shaun Reich eba839113b 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)).
svn path=/trunk/KDE/kdebase/apps/; revision=938420
2009-03-11 20:47:46 +00:00
Shaun Reich a619ca0872 Changed a tab's KMenu to have it's accelerators managed automatically.
svn path=/trunk/KDE/kdebase/apps/; revision=938417
2009-03-11 20:31:09 +00:00
Peter Penz 7697cad99f Provide an "Open Terminal" entry for the Tools menu (thanks to Rahman Duran for the patch!)
BUG: 164746

svn path=/trunk/KDE/kdebase/apps/; revision=937624
2009-03-10 06:59:27 +00:00
Peter Penz 0e5b55b778 SVN_SILENT: comment update
svn path=/trunk/KDE/kdebase/apps/; revision=937623
2009-03-10 06:36:34 +00:00
Shaun Reich b23c00997a A change in focus between the split view, would not update the icon on the tab that it was in-now does.
svn path=/trunk/KDE/kdebase/apps/; revision=937597
2009-03-10 00:40:37 +00:00
Shaun Reich f320652966 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.
BUG: 182702

svn path=/trunk/KDE/kdebase/apps/; revision=937595
2009-03-10 00:35:59 +00:00
Shaun Reich 0945eb5bc2 Added a few things to the "Recently Closed Tabs" menu:
* Paths now ellide when they get too big. That is, according to the font size, not character length.

* Added automatic mnemomics (or however you spell that crazy word) to the menu's items.

svn path=/trunk/KDE/kdebase/apps/; revision=937504
2009-03-09 19:50:32 +00:00
Shaun Reich abfa3fff9d 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.
svn path=/trunk/KDE/kdebase/apps/; revision=937477
2009-03-09 18:10:35 +00:00
Shaun Reich 9d7103f6ef 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).

svn path=/trunk/KDE/kdebase/apps/; revision=937116
2009-03-09 02:31:41 +00:00
Shaun Reich 86dd791791 Changed deprecated use of signal closeRequested(int) to tabCloseRequested(int)
svn path=/trunk/KDE/kdebase/apps/; revision=933837
2009-03-01 18:19:38 +00:00
Peter Penz 0d4306596a SVN_SILENT: minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=933598
2009-03-01 12:42:51 +00:00
Peter Penz 7a48b5fec1 removed Quick-View code (it has already been disabled before)
svn path=/trunk/KDE/kdebase/apps/; revision=933591
2009-03-01 12:23:05 +00:00
Peter Penz 3b98165a3f don't make the struct ClosedTab accessible for other classes
CCMAIL: predator106@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=933589
2009-03-01 12:20:23 +00:00
Shaun Reich dd89f93181 Fixed a bug in the "Recently Closed Tabs" menu that would cause it to show more recent tabs at the bottom.
The most recent tab will now always be shown right below the separator, which is right below the "Clear Recently Closed Tabs" action.

svn path=/trunk/KDE/kdebase/apps/; revision=933487
2009-03-01 02:27:35 +00:00
Shaun Reich 78e9cc506f Closed tabs are now remembered within Dolphin, so if you accidentally close them, or need to reopen a previous one-go crazy.
Closed tabs now become stored in the "Go"->"Recently Closed Tabs" menu.

To clear this list, there is an action within that menu. 

Clicking on a remembered tab's action, will remove that entry, restore that tab, and focus it.

svn path=/trunk/KDE/kdebase/apps/; revision=933483
2009-03-01 01:38:20 +00:00
Laurent Montel 00e6fb5c7b Fix warning about shortcut
svn path=/trunk/KDE/kdebase/apps/; revision=933227
2009-02-28 12:50:34 +00:00
Shaun Reich 7e7c14ba65 * Remove deprecated use of KTabBar::setCloseButtonEnabled(), use qt-provided method-QTabBar::setTabsClosable().
* Enable dragging of tabs thanks to the new feature in Qt 4.5, QTabBar::setMovable(), now that the KTabBar has been ported. The dragging is a very neat effect.

BUG: 164313

svn path=/trunk/KDE/kdebase/apps/; revision=930077
2009-02-22 17:06:15 +00:00