┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
AgeCommit message (Collapse)Author
2013-08-16Cut the ropes between DolphinMainWindow and DolphinNewFileMenu. Error ↵Emmanuel Pescosta
handling is now done via signals. REVIEW: 111989
2013-06-04Bug 196035 - middle clicking on archive files in dolphin does not open them ↵Emmanuel Pescosta
in a new tab When 'browse through archives' is enabled, open archive files like folders on middle clicking, context menu -> new tab action and context menu -> new window action. BUG: 196035 REVIEW: 110487
2013-05-22Added the "Open in new Tabs" action to the Dolphin Context menu.Emmanuel Pescosta
BUG: 312296 REVIEW: 110371 FIXED-IN: 4.11.0
2013-05-05Reimplement handling of Shift while showing menu without KModifierKeyInfoDavid Faure
Finding out whether shift is pressed initially can be done with qApp->keyboardModifiers(), and finding out that the user is pressing or release shift can be done with keyPressEvent/keyReleaseEvent. This required to inherit from KMenu rather than having the KMenu as a member. KModifierKeyInfo is only implemented on X11, so this makes the code more portable. If similar solutions can be found for other users of KModifierKeyInfo, it will be deprecated in KF5. REVIEW: 110303
2013-01-15Merge branch 'KDE/4.10'Simeon Bird
2013-01-14Don't delay popup menus of "Create New" and "Recently Closed Tabs" toolbar ↵Kai Uwe Broulik
buttons REVIEW: 108397
2013-01-09Fix Bug 233335 - Wrong icons selected after pasting files and renaming them ↵Emmanuel Pescosta
(because there exists items with it's names Fixed the "same" buggy behavior when dropping files/folders Select also putted files (PUT operation - SimpleJob) - e.g. Paste content from clipboard BUG: 233335 REVIEW: 107351
2012-10-30Fix some indentation issuesFrank Reininghaus
2012-10-03Merge branch '4.9'Dawit Alemayehu
2012-09-29Find out the main window by calling the parent widget's window() memberFrank Reininghaus
KFileItemModel calls the dir lister's setMainWindow() method to make sure that the dir lister caches authentication data. However, the method used to determine the main window (qApp->activeWindow()) is not guaranteed to yield the DolphinMainWindow or the KonqMainWindow. In particular, if "Split View" is enabled in Dolphin's settings dialog, the active window is the dialog, and when it is closed, any later access to the stored pointer leads to a crash. A better method is to verify that the model's parent is a QWidget and then use this widget's window(). I had to make a small modification in DolphinMainWindow to make sure that it also works correctly when the view is split (the new view container had been created with a 0 parent previously). I tested it in Dolphin and Konqueror and verified that the "main window" passed to the dir lister is really the application's main window. BUG: 306459 FIXED-IN: 4.9.3
2012-09-11Fixes Bug 242007 - "Open Folder during Drag operation" cannot go into ↵Emmanuel Pescosta
different partition using "Places Panel" BUG: 242007 REVIEW: 106380
2012-08-23Changed the behaviour when middle clicking folders in places- and ↵Emmanuel Pescosta
folders-dockwidget. Now it opens the folders in a new background tab (General behaviour of Dolphin) BUG: 196263 REVIEW: 106069
2012-08-13Fix open-in-new-window to work with remote URLsDavid Faure
FIXED-IN: 4.9.0 BUGS: 274655, 292822
2012-08-13Swap shortcuts of "editable_location" and "replace_location" actionsJekyll Wu
That makes "Ctrl+L" less surprising to users who use it frequently in web browsers BUG: 183821 FIXED-IN: 4.10.0 REVIEW: 105994
2012-07-18Fix open-in-new-window to work with remote URLsDavid Faure
FIXED-IN: 4.9.0 BUGS: 274655, 292822
2012-06-02Use PlacesItemModel instead of KFilePlacesModelPeter Penz
This allows inserting items to the corresponding group.
2012-05-29Get rid of obsolete DolphinPlacesModelPeter Penz
2012-04-30Places Panel: Minor fixes/improvementsPeter Penz
- Determine group of a new entry dependent from the protocol - Allow panels to forward error-messages to the view-container (also applied to Folders Panel)
2012-04-26Update the view when changing the directory using 'cd' in the terminalFrank Reininghaus
Thanks to Jekyll Wu for helping to implement this feature! FEATURE: 156732 FIXED-IN: 4.9.0
2012-04-25Places panel: Internal cleanupPeter Penz
Move the bookmark handling into a custom model, so that the PlacesPanel only contains UI + controller code.
2012-04-25Fix search-UI issues in combination with the new places entriesPeter Penz
The places-entries for searching revealed some serious issues in combination with the search-panel. Move the filtering away from QDockWidget and bring it back below the search-bar.
2012-04-21Bring back basic bookmark support for the Places PanelPeter Penz
The folders-panel signals have been adjusted too for consistency.
2012-04-21Prepare view-engine for non-KFileItem usecasePeter Penz
Up to now the view-engine only provided a model-implementation that supports file-items. The view-engine always had been designed to be able to work with any kind of model, so now a KStandardItemModel is available. The plan is to convert the places panel to the new view-engine. It should be no problem to fix this until the feature freeze - in the worst case the places-panel code could be reverted while still keeping the KStandardItemModel changes.
2012-04-17Ensure authentication data is cached properlyPeter Penz
The attached patch sets the main window on the main directory lister in DolphinView and KIO jobs in DolphinMainWindow to ensure that login data for remote protocols such as sftp, ftp are cached properly for the duration of the application. Otherwise, the end user is going to end up being unnecessarily re-prompted to enter password login information. Thanks to Dawit Alemayehu for the patch! REVIEW: 104614 FIXED-IN: 4.9.0
2012-04-17Implement inline-renaming for the new view-enginePeter Penz
BUG: 286893 FIXED-IN: 4.9.0
2012-04-13Use KMessageWidget for error- and information-messagesPeter Penz
See http://agateau.com/2011/04/21/kde-ux-2011/ for more details. This simplifies the statusbar in Dolphin a lot and allows to do a proper eliding in case if status-messages are too long: In this case a tooltip will show the whole status-message (thanks to Wolfgang Mader for the initial patch!). There is still missing some finetuning but the general approach seems to work quite nice. BUG: 249638 BUG: 245618 BUG: 146533 FIXED-IN: 4.9.0
2012-04-11KFileItemModel: interface cleanupsPeter Penz
Fix some naming inconsistencies regarding the usage of 'dir' vs. 'directory' vs. 'folder'.
2012-04-11Minor API-cleanups for DolphinViewPeter Penz
2012-04-11KItemViews: Internal directory restructurationPeter Penz
- Move all private headers from the kitemviews-directory into the 'private' subdirectory. - Get rid of DolphinDirLister and just use a directory-lister internally in KFileItemModel. - Minor interface-cleanups for signals
2012-04-08Remove toolbar-spacer if the menu has been disabledPeter Penz
Aligning the control-button to the right of Dolphin has the problem that sub-menus might be opened on the left of the menu if the Dolphin window reaches the right of the desktop. So the toolbar-spacer has been removed and a default label has been applied to the control-button to increase the target-area for opening the menu.
2012-03-19Let additional mouse buttons trigger history navigationPeter Penz
Thanks to Sebastian Dörner for the patch! REVIEW: 101335 BUG: 181823 FIXED-IN: 4.9
2012-02-23Whitespace cleanups and documentation fixesPeter Penz
2012-01-30Synchronize view-mode settings before the settings dialog gets openedPeter Penz
BUG: 292698 FIXED-IN: 4.8.1
2012-01-30Fix drag & drop issues with non-local URLsPeter Penz
BUG: 292821 BUG: 292355 FIXED-IN: 4.8.1
2012-01-27Fix regression: Allow dragging items on a tabPeter Penz
BUG: 292505 FIXED-IN: 4.8.1
2012-01-27Don't crash when opening a tab with enabled split viewPeter Penz
BUG: 292470 FIXED-IN: 4.8.1
2012-01-10Middle clicking the 'Home' button should open home folder in a new tabJekyll Wu
The general idea is to make it behave consistently with other navigating buttons. BUG: 278194 FIXED-IN:4.8.0 REVIEW:103659
2011-12-07Prevent unwanted item animations (#2)Peter Penz
Use a cleaner approach to prevent item animations when showing a hidden tab the first time. For Dolphin > 2.0 the tab-code should be refactored from DolphinMainWindow and encapsulated into an own module (but well, this is on my TODO-list since KDE SC 4.4...)
2011-12-07Prevent unwanted item animationsPeter Penz
When splitting the view or opening a new tab there should not be any animation of the items due to a wrong initial viewport size.
2011-11-21Fix shortcut issue with panelsPeter Penz
The KAction instance of the panels is added to the menu instance now instead of the QDock-actions. It is assured that the state between the actions gets synchronized. Now it's possible for the user to apply custom shortcuts and the shortcuts are also shown in the menu as expected. CCMAIL: [email protected]
2011-11-20Show panel shortcuts in menuPeter Penz
2011-11-19Fix crash when toggling the menu-bar visibilityPeter Penz
Use a queued connection to prevent that the menu gets hidden during it is still open. Thanks to Christoph Feck for the hint! Frank and I could not reproduce the issue in our environments even when following the steps from bug 278366, however Christoph's hint sounds sane and let's hope it works (leaves a bad gut feeling to "fix" bugs without being able to verify them). CCBUG: 286822 CCBUG: 278366 FIXED-IN: 4.7.4
2011-11-06Delete obsolete class DolphinSettingsPeter Penz
2011-11-06Fix issues with applying wrong view-modePeter Penz
- The view properties dialog mixed the details-view with the compact-view (#285848). - The view properties have been reset when applying a setting from the "Dolphin Preferences" dialog. The rootcause was that the obsolete DolphinSettings class implemented the saving in a wrong way because of the recent refactoring (will remove this class completely now to prevent such issues in future). BUG: 285848 FIXED-IN: 4.8.0
2011-10-10Allow changing shortcuts for the Panel actionsPeter Penz
Until now the shortcuts of the Panel actions could not be changed as they did not show up in the "Configure shortcuts..." dialog. The patch is based on the work of "SiegeLord" and Fabian Henze attached to bug 273050. BUG: 273050 FIXED-IN: 4.8.0
2011-10-09avoid two possible null pointer dereferencesJaime Torres
move the setToolTip lines outside the if(action) inside it. do not crash if there is no action.
2011-10-08Context menu cleanupsPeter Penz
- Open the context menu on the mouse-press event, not on the mouse-release event. - Provide an explicit position-information and don't use QCursor::pos(). This fixes the issue that opening a context-menu by the keyboard opens below the cursor. - Provide different signals in the KItemListController for the different context-menu types (item vs. view vs. header). - Implement turning on/off roles by the header-context-menu.
2011-09-22Fixed bug for selecting files with --select parameter.Chirag Anand
Files selected via --select parameter did not get current item focus. And if files were deleted while being current item, updating the view would select the next item instead of the first item in the list. BUG: 257805 CCMAIL: [email protected] CCMAIL: [email protected]
2011-09-02Simplified code for the viewmode settingsPeter Penz
2011-08-14Remove "FirstRun" propertyPeter Penz
The property got obsoleted by the "Version" property.