Peter Penz [Fri, 23 Jul 2010 12:26:57 +0000 (12:26 +0000)]
Fix visual artefacts for tooltips, if compositing has been disabled. Thanks to Maciej Mrozowski for analyzing the root cause! Also a minor issue is fixed with the upper/left position: It may never overlap with the icon area.
Sebastian Trueg [Thu, 22 Jul 2010 08:26:07 +0000 (08:26 +0000)]
Properly KIO::stat instead of simply using the KFileItem constructor when
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.
Peter Penz [Mon, 12 Jul 2010 14:42:48 +0000 (14:42 +0000)]
Based on the recent size hint fixes in KFileMetaDataWidget, the handling of the tooltip size can be simplified. This fixes a possible wrong initial size of the tooltip and a flickering because of a relayout.
Peter Penz [Thu, 8 Jul 2010 19:46:56 +0000 (19:46 +0000)]
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).
Peter Penz [Sat, 12 Jun 2010 13:05:13 +0000 (13:05 +0000)]
Don't do a pre-process wrapping of the Information Panel headline, if it is a rich text. This fixes the issue, that selecting multiple files leads to an output like "<html>9 items selected</html>".
Peter Penz [Wed, 2 Jun 2010 17:45:23 +0000 (17:45 +0000)]
Fix issue, that the translations for "Everywhere", "From Here", "All", "Images", "Text" and "Filenames" in the search options are not shown in the UI. The patch has been verified by "KDE_LANG=x-test dolphin".
When pasting or dropping items in the view in Dolphin or the
DolphinPart (running in Konqueror), do not only select the new items,
but also clear the previous selection.
Peter Penz [Thu, 20 May 2010 19:24:12 +0000 (19:24 +0000)]
Return a value for the "LocalPathOrUrl" column.
The values for the columns "LinkDestination" and "LocalPathOrUrl" should be moved from DolphinModel to KDirModel, as otherwise the added Information enums in KFileItemDelegate would not make much sense (I'll provide a patch on the reviewboard next week).
Peter Penz [Thu, 20 May 2010 19:00:33 +0000 (19:00 +0000)]
Fix issue that the columns "Link Destination" and "Path" are shown outside the visible area when enabling them. Also it is assured, that the headline text does not get clipped per default.
Peter Penz [Thu, 13 May 2010 22:06:10 +0000 (22:06 +0000)]
If an information entry will be added to KFileItemDelegate (like done recently), adjusting the corresponding code in Dolphin is a real pain, as the new information will be shown in Dolphin the following way:
- As additional columns in the details view
- As additional lines in the icons view
- As menu entries in the "Sort By" and "Additional Information" groups
- As popup menu entries in the details view header popup
- As checkable entries in the View Properties dialog
To prevent similar painful transitions in future, the class AdditionalInfoManager has been introduced. All parts in Dolphin that access/show/store additional information, use the AdditionalInfoManager now. If a new information entry will be added in KFileItemDelegate in future, only a small adjustment in AdditionalInfoManager will be required.
Still open currently:
- AdditionalInfoDialog does not use AdditionalInfoManager yet
- DolphinView::Sorting should be replaced by KFileItemDelegate::Information, so that the sorting can also be done in a generic way.
- The data for KFileItemDelegate::PathOrUrl is not determined
The open issues will get fixed during the next days.
Kudos to the brave warriors Sebastian and Frank, that tried to add a new information ;-)
Peter Penz [Mon, 3 May 2010 17:49:49 +0000 (17:49 +0000)]
Create QActionGroup like done for other sub menus for consistency. Although a few more lines of code are required, this approach is more flexible.bar, but as the group "Panels" can be added instead, this should be no issue.
Peter Penz [Mon, 3 May 2010 17:46:34 +0000 (17:46 +0000)]
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.
David Faure [Mon, 26 Apr 2010 15:50:59 +0000 (15:50 +0000)]
use KFileItemActions::runPreferredApplications to handle Key_Enter on multiple selected files.
Rewritten to make a direct method call rather than using a signal from 'this'.
REVIEW: 3163
CCMAIL: toddrme2178@gmail.com
Peter Penz [Sun, 4 Apr 2010 20:45:09 +0000 (20:45 +0000)]
Invert default behavior regarding loading of version control plugins: Only load plugins that have been explicitly enabled by the user instead of loading all plugins per default.
Most users won't use version control plugins at all and there is no need in wasting memory and performance. A user interface has been added in the "Services" settings for version control plugins. The user interface is only shown, if at least one plugin is available on the system.
Peter Penz [Sat, 3 Apr 2010 08:48:35 +0000 (08:48 +0000)]
Cleanup of statusbar widgets:
- Provide proper size hints instead of hiding extensions on small widths
- Provide context menu, which allows to enable/disable the zoom level extension and the space info extension. Also copying the status bar text is possible (useful e. g. for error messages).