┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/informationpanel.cpp
AgeCommit message (Collapse)Author
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
2011-12-06Fix selection issue for Information PanelPeter Penz
When the selection changes during the Information Panel is invisible, it still should get applied so that when making the Information Panel visible again a valid selection is shown. Thanks to A. Janardhan Reddy for the patch! (Additionally the obsolete check for an empty selection has been removed, as this cannot happen anymore with the new view engine) BUG: 281452 FIXED-IN: 4.8.0
2011-12-04avoid double marginsNi Hui
2011-07-31normalize signals/slotsMontel Laurent
2011-02-09Coding style update for pointer comparisonPeter Penz
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-09Use capitalized includes of recently committed kdelibs headersPeter Penz
2011-02-04Update e-mail address from [email protected] to [email protected]Peter Penz
2011-02-04Use capitalized KDE includesPeter Penz
2011-02-02Provide a default size-hint for all panelsPeter Penz
This fixes the issue that the initial size of the Filter Panel is too small.
2010-12-31Lock panels per default and allow to unlock them like in Amarok.Peter Penz
BUG: 229811 FIXED-IN: 4.7.0 svn path=/trunk/KDE/kdebase/apps/; revision=1210424
2010-11-04Fix issue that moving the mouse above the viewport might trigger showing the ↵Peter Penz
meta-information of an only shortly hovered file. svn path=/trunk/KDE/kdebase/apps/; revision=1193131
2010-10-07Reset the file-item when the viewport is entered and files are selected. ↵Peter Penz
Otherwise the information of the file-item will be shown instead of the selection. svn path=/trunk/KDE/kdebase/apps/; revision=1183544
2010-10-07Internal cleanups to assure that the asynchronous request for the ↵Peter Penz
folder-information works reliable when switching between directories. svn path=/trunk/KDE/kdebase/apps/; revision=1183537
2010-10-07Internal cleanup for panels: Let the panel-implementations decide whether ↵Peter Penz
they accept an URL or not. svn path=/trunk/KDE/kdebase/apps/; revision=1183480
2010-09-28Fix issue that no content is shown in the Information Panel on startupPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1180723
2010-07-22Properly KIO::stat instead of simply using the KFileItem constructor whenSebastian Trueg
showing metadata for the currently selected folder. This way we can even get rid of the special handling of nepomuksearch:/ URLs since the KIO slave provides a nice name and all you need to show to the user. Even nicer: When clicking an entry in the metadata view the resulting query will be related to the one clicked resource. This resource will then be represented by the query folder. So all in all this patch makes Dolphin more generic while additionally activating a new feature. svn path=/trunk/KDE/kdebase/apps/; revision=1152959
2010-05-29Fix the nasty layout reparenting by adding the InformationPanelContent into ↵Peter Penz
a layout. Thanks to Sebastian Trüg for the hint! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1132028
2010-01-07Fixed issue that the Information Panel might show the old filename after ↵Peter Penz
renaming an item. Added implementation note, as a working code had been removed some time ago because of a performance bottleneck. BUG: 198375 svn path=/trunk/KDE/kdebase/apps/; revision=1071287
2010-01-06When changing the selection, the currently shown file item should be reset. ↵Peter Penz
This fixes the issue that changing the selection with the keyboard might not have an effect if an item is hovered with the mouse. BUG: 210177 svn path=/trunk/KDE/kdebase/apps/; revision=1070745
2010-01-06Fixed issue that Ctrl+A sometimes did not result in an update of the ↵Peter Penz
Information Panel. As a sideeffect some code simplification has been done, which was possible because of the column view refactorization some time ago. svn path=/trunk/KDE/kdebase/apps/; revision=1070740
2009-11-19Provide clickable resources for the Information Panel. Thanks to Sebastian ↵Peter Penz
Trüg für the patch! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1051553
2009-07-05The complexity of the class InformationPanel has grown a lot from KDE 4.0 to ↵Peter Penz
KDE 4.3. One main reason is that a lot of things are done now asynchronously with timers to prevent a blocking UI and unnecessary expensive operations. To keep the Information Panel maintainable and prepared for future features a cleanup has been done. The whole user interface handling has been moved into the class InformationPanelContent that offers a straight forward interface: showItem(const KFileItem& item) and showItems(const KFileItemList& items). The class InformationPanel is responsible for calling those methods in a way that hovering items, changing directories, doing selections, rename and delete operations, ... don't result in calling showItem() 10 times per second. This cleanup won't be backported to KDE 4.3.x svn path=/trunk/KDE/kdebase/apps/; revision=991902
2009-07-05Improve performance of Dolphin:Peter Penz
- When changing a directory the receiving of the meta data is done now with a short delay. This gives the directory lister the chance to show the directory as fast as possible. - Prevent that DolphinInformationPanel::reset() is invoked when changing a directory. The method only needs to get invoked if an item has been deleted or renamed. - Cache an unknown file item. This improves the startup time of Dolphin (-> KFileItem constructor is invoked only once instead of up to 6 times). svn path=/trunk/KDE/kdebase/apps/; revision=991840
2009-06-21Use the name of the property instead of the label, otherwise the stored keys ↵Peter Penz
would get invalid as soon as we get translated labels. svn path=/trunk/KDE/kdebase/apps/; revision=984677
2009-06-21disable Nepomuk legacy code to eliminate deprecated-warningsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984621
2009-06-21Simplify how Nepomuk comments can be edited by the user:Peter Penz
- don't provide any mode for editing, just let the user directly manipulate the comment inside the text widget - automatically save changes, no explicit confirmation required svn path=/trunk/KDE/kdebase/apps/; revision=984592
2009-06-20Disable additional properties per default as discussed with Sebastian Trüg.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984493
2009-06-20We won't get translated labels for Nepomuk literals in KDE 4.3.0... At least ↵Peter Penz
assure that camelcase labels like "fileLocation:" are replaced by "File location:" (thanks to Sebastian Trüg for the code) svn path=/trunk/KDE/kdebase/apps/; revision=984190
2009-06-19Fix bottleneck when renaming several hundrets of items (the expensive update ↵Peter Penz
of m_selection is not required). svn path=/trunk/KDE/kdebase/apps/; revision=984020
2009-06-10fixed resizing issues when having long comments:Peter Penz
* embed the comment label inside a scrollarea * assure that the "add comment..."/"change comment..." link is always visible * assure that the maximum width of the meta data widget is set to the panel width (otherwise the panel would be increased in an unlimited way when having a text without spaces) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=979621
2009-05-26fixed krazy string warningPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=973291
2009-05-06Don't crash if the the metadata widget is 0 (this can happen if Nepomuk has ↵Peter Penz
not been started). svn path=/trunk/KDE/kdebase/apps/; revision=964469
2009-04-24fixed issue that the video preview size was wrong during resizing the ↵Peter Penz
information panel svn path=/trunk/KDE/kdebase/apps/; revision=958762
2009-04-23- Postpone the video player initialization until the play button has been ↵Peter Penz
pressed. - Assure that the video player has the same size as the preview widget. Convincing the embedded video player to dynamically resize during playing a video seems to be impossible - I need to check the Phonon::VideoPlayer source code to get the root cause for the currently strange behavior :-( svn path=/trunk/KDE/kdebase/apps/; revision=958332
2009-04-15Workaround: Phonon::BackendCapabilities::isMimeTypeAvailable(...) returns ↵Peter Penz
true for PNG images, but it makes no sense showing a play/stop button in this case. svn path=/trunk/KDE/kdebase/apps/; revision=954485
2009-04-15Initialize the name-label widget with a maximum size. This is important, ↵Peter Penz
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. BUG: 189596 svn path=/trunk/KDE/kdebase/apps/; revision=954371
2009-04-12The feature freeze is near: Add video support to the Information Panel. ↵Peter Penz
Phonon is quite cool BTW :-) svn path=/trunk/KDE/kdebase/apps/; revision=952882
2009-04-12Allow to enable/disable which information should be shown in the Information ↵Peter Penz
Panel. BUG: 156205 svn path=/trunk/KDE/kdebase/apps/; revision=952833
2009-03-26disable rating, comments and tags if no meta data is availablePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=945040
2009-03-10allow to disable the preview of the Information PanelPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=937927
2009-03-10allow to hide the rating, comments and tags of the Information PanelPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=937915
2009-03-10provide a context menu for the Information Panel, which allows to show/hide ↵Peter Penz
meta information svn path=/trunk/KDE/kdebase/apps/; revision=937910
2009-03-10Fixed issue that when renaming an item that still the old item name will be ↵Peter Penz
shown in the Information Panel. CCBUG: 181534 CCBUG: 186071 svn path=/trunk/KDE/kdebase/apps/; revision=937630
2009-03-03added dialog to configure which meta data should be shown in the Information ↵Peter Penz
Panel svn path=/trunk/KDE/kdebase/apps/; revision=934828
2009-03-03don't show the phonon widget, if more than one file is selectedPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=934812
2009-03-03reset the information panel if an item is shown that got deletedPeter Penz
BUG: 186071 svn path=/trunk/KDE/kdebase/apps/; revision=934807
2009-02-17SVN_SILENT: forgot to remove this include after doing some testsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=927585
2009-02-17* Use Nepomuk for getting the meta data instead of KFileMetaInfo.Peter Penz
* Use a QScrollArea widget to embedd the meta data, as Nepomuk provides so much meta information that it might not fit into the panel. Open issues: * Add the possibility to configure which kind of meta information should be shown. * Check whether the receiving of the meta data for one file also might block the UI like when using KFileMetaInfo in combination with strigi. CCMAIL: [email protected] BUG: 180742 BUG: 181592 svn path=/trunk/KDE/kdebase/apps/; revision=927542
2009-01-31Don't delete and recreate the phonon widget each time the URL changes, use ↵Peter Penz
the existing widget instance if possible. svn path=/trunk/KDE/kdebase/apps/; revision=919058
2009-01-27Initial import of Matthias's draft patch for adding video and audio ↵Simon Paul St James
previewing (similar to the file dialog) to Dolphin's metadata panel. Since Phonon is currently in-process only with the memory/ stability issues that come with this, this might have to be disabled by default - we'll see how it goes. Thanks, Matthias! CCMAIL:[email protected] CCMAIL:[email protected] svn path=/trunk/KDE/kdebase/apps/; revision=917389