┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)Author
2012-08-29fix missing enumWeng Xuetian
REVIEW: 106239
2012-08-29fix missing enumWeng Xuetian
REVIEW: 106239
2012-08-27Make --select can automatically scroll to the selected file.Weng Xuetian
REVIEW: 106209
2012-08-27Make --select can automatically scroll to the selected file.Weng Xuetian
REVIEW: 106209
2012-08-26Merge branch 'KDE/4.9'Raphael Kubo da Costa
`git merge -s recursive --log --edit KDE/4.9' was run first, and it looked like the only conflicts were in some docbooks. I then aborted the merge and ran `git merge' with `-Xours' to use this branch's version of the conflicting files. Even though a lot of changes are listed below, all but the last two are already present in master because they were cherry-picked from one branch to another. Hopefully this sets a trend and people start using git as it was intended to be used. * KDE/4.9: (50 commits) Adjust to Ark's drag'n'drop D-Bus interface changes. Adjust to Ark's drag'n'drop D-Bus interface changes. Fix wrong behaviour, when Dolphin is started with --split argument. Do not crash when finishing inline renaming in unusual ways Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus Select the correct item in places-panel, when a directory is opened. SVN_SILENT made messages (.desktop file) avoid duplicate entries in konqueror address completion list Fix translations not showing in the Sort by and Additional Information submenus Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient. Fix wrong text color in places and in folders panel. Show icon size as tooltip when adjusting icon size Fix a long standing security issue with the hiding of Konqueror's location (address) bar through javascript. Fixed the display of the security sheild icon for SSL sites. SVN_SILENT made messages (.desktop file) Follow-up to d7e7ca53bb95c7555bbf107d92b47ac25eda1918 - use correct icon Use a better icon for recently accessed items in the Places Panel Use a saner check for multimedia files in infopanel. Fix the size of the rating stars in Icons View Stop preview jobs when closing Dolphin ...
2012-08-26Adjust to Ark's drag'n'drop D-Bus interface changes.Raphael Kubo da Costa
Ark's drag'n'drop D-Bus interface needs to be changed: so far, the object path was always /DndExtract, but this does not work if Ark is being used as an embedded KPart (in Konqueror or Rekonq, for example), as all tabs will end up calling QDBusConnection::registerObject() with the same path. Only the first call will work, and the result is that dragging and dropping from any tab previewing an archive with Ark will extract from the first archive being previewed. To fix that, applications that accept the application/x-kde-dndextract mimetype should now be adjusted to check the application/x-kde-ark-dndextract-service and application/x-kde-ark-dndextract-path ones instead; the former contains the same service information that used to be passed, while the latter tells which object path should be talked to. This is the Dolphin part of the change, which also needs to be made to the folderview plasmoid. REVIEW: 106131 CCBUG: 304860
2012-08-13Fix compiler warning, which spotted a real bug.David Faure
ItemLayout is an enum, not a flag, so == is even more correct than '&'.
2012-08-13Fix bug 303375 - Dots in directory names treated as file extension.David Faure
Patch by Emmanuel Pescosta <[email protected]> BUG: 303375 REVIEW: 105575 FIXED-IN: 4.9.0
2012-07-20Fix compiler warning, which spotted a real bug.David Faure
ItemLayout is an enum, not a flag, so == is even more correct than '&'.
2012-07-20Fix bug 303375 - Dots in directory names treated as file extension.David Faure
Patch by Emmanuel Pescosta <[email protected]> BUG: 303375 REVIEW: 105575 FIXED-IN: 4.9.0
2012-07-11Ask before opening more than 5 items.Chirag Anand
Thanks to A JANARDHAN REDDY for the patch. CCBUG: 54990 CCMAIL: [email protected]
2012-06-13Fix regression: Open file if entering it in the URL-navigatorPeter Penz
The regression has been introduced when hiding the DolphinDirLister inside KFileItemModel. Now the signal urlIsFileError() gets forwarded to the container again where the file will be opened. BUG: 301757 FIXED-IN: 4.9.0
2012-06-08Inline renaming: Improve focus handlingPeter Penz
Fix issue that cancelling the inline-renaming by clicking on the other split view applies the wrong focus. Thanks to Frank Reininghaus for the initial patch and noticing this issue. CCBUG: 301252
2012-06-08Krazy fixesPeter Penz
2012-06-08Inline renaming fixesPeter Penz
- Don't use an outdated KFileItem when renaming an item more than once - Use the same font as the view - Don't lose the focus when an editor-popup is shown BUG: 299327 BUG: 298883 BUG: 301253 FIXED-IN: 4.9.0
2012-06-07Emit zoomLevelChanged() if the preview gets toggledPeter Penz
2012-06-02Hide tooltip when changing the zoomlevelPeter Penz
BUG: 301056 FIXED-IN: 4.9.0
2012-05-29Get rid of obsolete DolphinPlacesModelPeter Penz
2012-05-26Make tooltip background blurred.Mark Gaiser
REVIEW: 105061
2012-05-26Further preperations for drag & drop support in the places panelPeter Penz
2012-05-18Don't create a .directory-file for each directoryPeter Penz
This regression has been introduced on master and has not been released yet: Due to the changed properties-format an update has been done which resulted in writing a .directory file into each newly entered directory. The patch updates the view-properties and version only in the constructor so that it is assured that reading properties never accidently will change the internal version. A unit-test has been added to catch regressions like this in future. BUG: 300240 FIXED-IN: 4.9.0
2012-05-16Provide default view properties for system-placesPeter Penz
For the "Recently Accessed"-places and "Search For"-places like documents, images, audio-files and videos proper default properties are created now (e.g. previews and images-sizes are shown when searching for "images" etc).
2012-05-10Allow to remember view-properties for the search-modePeter Penz
Per default Dolphin remembers the view-properties for each search-URL individually. However when being in the search-mode, where the search-URL is different each time by definition, it should also be possible for the user to adjust the view-properties. The DolphinView is not aware about any "search-mode", so an interface has been added to provide a "context" for storing the view-properties. The context will be adjusted by the DolphinViewContainer in case if the search-mode is active.
2012-05-09Assure backward compatibility for the sort-rolePeter Penz
Dolphin 2.1 uses "text" instead of "name" as default-role. Provide backward compatibility with older .directory files and assure that they get updated.
2012-05-06Allow to remember view-properties for search-resultsPeter Penz
Until now it was only possible to adjust the view-properties for searching in general. Now the view-properties can be adjusted dependent on the query (e.g. images, documents, ...).
2012-05-05Assure that a newly created item gets selected/focused and visiblePeter Penz
Thanks to Franz Fellner for the patch! CCBUG: 291064 CCMAIL: [email protected]
2012-04-27Never pass null-items to version-control-pluginsPeter Penz
Some plugins are not prepared for this and might crash. Although the additional check in VersionControlObserver::actions() should not be necessary because of the fix in DolphinView, it is left here to catch potential other cases where a null-item might get passed accidently. Thanks to Ilya for initially patching the Box-plugin which gave a hint whats going wrong. BUG: 294336 FIXED-IN: 4.9.0
2012-04-24Provide additional default groups for the Places PanelPeter Penz
If Nepomuk is enabled, it is now possible to easily search for some most common queries by having additional groups.
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-14Allow to optionally limit the maximum number of text linesPeter Penz
Showing the whole filename unclipped seems to be a good default, however for users with a lot of files that have extremely long names this might get a problem especially in the icons-view. - Allow to limit the maximum number of lines in the icons-view - Allow to specify a maximum width in the compact-view (No limit is required for the details-view, as the name is shortened automatically to show other columns) BUG: 288596 FIXED-IN: 4.9.0
2012-04-11Fix outdated statusbar message when entering an empty folderPeter Penz
BUG: 291641 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-10Improvements for slow sorting rolesPeter Penz
If the sorting is done for data which is resolved asynchronously (e.g. rating), it is important to give a visual feedback about the state of the sorting. This is done now by a progress indication in the statusbar. Also optimizations for "Sort by type" have been done: Although resolving a type can be expensive in the most often case it is a very cheap operation. So it the sorting is done by type, try to resolve the type synchronously for at least 200 ms to prevent a asynchronous resorting. This is usually sufficient to have resolved types even for directories with several thousands of items. BUG: 292733 FIXED-IN: 4.9.0
2012-04-10Add some missing includes.Stephen Kelly
These are needed in Qt5/KF5.
2012-04-09Revert the 2.0 decision to always use KB for file-sizesPeter Penz
The feedback on bugs.kde.org has shown that the previous behavior (= show size with best-matching unit) is preferred by most users. I initially wanted to make this configurable, but for implementing it in a non-hacky way extending KLocale from kdelibs would have been required. I'm not sure whether the usecase in Dolphin justifies having such a configuration in KLocale - however as kdelibs is frozen at the moment this is no option and the old behavior has been restored. BUG: 289850 FIXED-IN: 4.9.0
2012-04-08Ignore maximum size for local files when creating previewsPeter Penz
It is up to the plugins to decide what sensible size is required for creating a preview, this cannot be decided by the user for all plugins. A maximum size only makes sense for remote files, where the user implicitely decides how much of the bandwith may be used for having previews. BUG: 273226 FIXED-IN: 4.9.0
2012-04-06Allow to specify whether an upscaling of images should be donePeter Penz
The option is currently hidden as up to now only Nuno requested it, but it seems to be urgent: "my icon making productivity has drop subtantialy" ((c) 2012 Nuno) As I don't want to get blamed for an outdated Oxygen-icon-set I have no other choice ;-) CCMAIL: [email protected]
2012-04-01Allow showing Nepomuk metadata inside viewsPeter Penz
Metadata like image-size, rating, comments, tags, ... can be shown now in the view (e.g. as column in the Details mode). Still open: The rating-information needs to be shown as stars. In the context of this feature also the following bugs have been fixed: - Fix visual glitches in the header of the Details mode - Improve the minimum column width calculation to respect also the headling and not only the content BUG: 296782 FIXED-IN: 4.9.0
2012-03-27Select files which have been pasted or droppedFrank Reininghaus
Also clear the previous selection. CCBUG: 295389 (cherry picked from commit 210e5e3b96883f5d856913f81834310ecb3819bf)
2012-03-25Details view: Don't reset to automatic resizing when adding columnsPeter Penz
Until now when a new column is added in the case where custom column widths are used, the automatic resizing has been turned on again. The patch fixes this so that the current widths stay and the new column gets a proper default width.
2012-03-24Cleanup and minor fixes for column-handlingPeter Penz
2012-03-23Details view: Optionally remember user changed column-widthsPeter Penz
If the user changed a column-width in the details-view, up to now the width got reset when changing a directory or when restarting Dolphin. Now the column-widths automatically get remembered for each directory in case if the user has modified the width. The automatic resizing is still turn on per default. The storing of the custom column-width can easily be reset by right clicking on the header and selecting "Automatic Column Widths" from the context-menu. Some finetuning is still necessary (e.g. the "Adjust View Properties" dialog currently is not aware about this setting) but this will be fixed during the next weeks. BUG: 264434 FIXED-IN: 4.9.0
2012-03-20KFileItemModel: Remove minimum-update timerPeter Penz
The timer became unnecessary after introducing the behavior to collect all new items until KDirLister emits a completed()-signal.
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-03-18remove the : on windows to have a valid path namePatrick Spendrin
BUG:287360 (cherry picked from commit 0bf2e7c29aced29450a2ecb87a94e2d31b35f320)
2012-03-14Use sub-menus for the "Sort By"- and "Additional Information"-menuPeter Penz
This allows doing some grouping for the visible roles by e.g. Image, Document, Music or whatever.