┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-10-29Hide the video player when the video has finished.Emmanuel Pescosta
BUG: 339882 FIXED-IN: 4.14.3 REVIEW: 120776
2014-10-24Fix the information panel video player in Dolphin.Andrey Bondrov
Patch from ROSA Linux. BUG: 337107 BUG: 337033 BUG: 334924 CCBUG: 339882 REVIEW: 120745 FIXED-IN: 4.14.3
2014-10-23Connect to the currentDirectoryChanged signal after the shell setupFrank Reininghaus
This fixes the problem that the view URL may be reset to the Home URL when opening the Terminal Panel while browsing a remote URL. Moreover, it fixes crashes that can occur when the signal is received during the shell setup if the DolphinMainWindow does not have a valid m_activeViewContainer yet. BUG: 339502 BUG: 340233 REVIEW: 120726 FIXED-IN: 4.14.3
2014-10-13Made the free space indicator and zoom slider a little bit larger. (was ↵Emmanuel Pescosta
reduced by an older commit) BUG: 339768 FIXED-IN: 4.14.3
2014-10-12SVN_SILENT made messages (.desktop file)l10n daemon script
2014-10-12SVN_SILENT made messages (after extraction)l10n daemon script
2014-10-09SVN_SILENT made messages (after extraction)l10n daemon script
2014-09-21Do not allow files or folders inside trash to be added to dolphin's places panelArjun AK
REVIEW: 120286 BUG: 339204 FIXED-IN: 4.14.2
2014-09-01Make it possible to open archives via the command lineFrank Reininghaus
This used to work before afcf8961f6666a912e0e6e5072a000837f7cf6aa (only if "Open archives as folder" was enabled in the settings though). The reason why this commit broke it is that the mime type of a file is not determined automatically any more before asking KProtocolManager::protocolForArchiveMimetype for the correct protocol, so the determination of the protocol may fail. Keeping the isMimeTypeKnown() check in DolphinView::openItemAsFolderUrl still makes sense, because it prevents GUI blocking if the user tries to open many files at the same time. Therefore, we now call determineMimeType() in DolphinViewContainer::slotUrlIsFileError(const KUrl&) and then try to determine the correct protocol and use it to open the archive in the view, rather than hoping that slotItemActivated(item) will do the right thing. BUG: 333078 REVIEW: 119877 FIXED-IN: 4.14.1
2014-08-31Only keep the active view container connected with the main window, all inactiveEmmanuel Pescosta
view containers are disconnected. Changing the connections is done whenever the active view has been changed, so we can always guarantee that the active view is connected. The problem with restoring saved sessions is, that we create a new view container in DolphinTabPage::restoreState() when split view was used in the previous session, but this view container isn't connected to the main window slots because DolphinMainWindow::connectViewSignals() is not called for this container. This leads to these strange problems: no context menu, ... BUG: 338549 REVIEW: 119961 FIXED-IN: 4.14.1
2014-08-22Hide an already visible KMessageWidget message before showing a new oneArjun AK
1. Do some operation that causes the KMessageWidget to show an error message 2. Immediately Repeat the same action. The user has no way to know whether the error message is from the second operation or is a leftover from the first one. By hiding the widget first and then showing it using animatedShow(), the user can clearly see that a new message was generated. Also once the directory successfully loads, the widget should be hidden. BUG: 323077 FIXED-IN: 4.14.1 REVIEW: 119401
2014-08-14Fixes display issues of Dolphin statusbar widgets when a high DPI value is ↵Mathieu Tarral
used (>= 196 for example). BUG: 334271 REVIEW: 119701 FIXED-IN: 4.14.1
2014-08-13SVN_SILENT made messages (after extraction)l10n daemon script
2014-08-12Always clear DolphinView's m_currentItemUrl member in updateViewState()Frank Reininghaus
Before this patch, we still kept the URL in m_currentItemUrl if the URL was not found in the model. This could cause problems the next time updateViewState() was called, because the current index would then be set to 0, which could cause other issues. For example, all items between the first item in the view and a folder which was expanded in Details View could be selected. In principle, it is possible that updateViewState() is called multiple times if many large files are being pasted in the view, but since the item which should be made the current item (and which the view should be scrolled to) should always be the first pasted item, this change will most likely not cause any other problems. BUG: 329377 REVIEW: 119703 FIXED-IN: 4.14.0
2014-08-12Fix crash when restoring a session stored with Dolphin 4.13 or earlierFrank Reininghaus
Since DolphinTabPage::saveState() and DolphinTabPage::restoreState(const QByteArray& state) save and restore the state of each tab in a different format than DolphinMainWindow did before the refactoring, we can run into problems: the first time a user logs into a session that has Dolphin 4.14, Dolphin might read session data that does not contain the QByteArray that DolphinTabPage wants to read the data from. In restoreState, isSplitViewEnabled will thus have the value false, and no secondary view will be created. Later on, m_primaryViewActive will also be set to false, but the else branch of the following "if (m_primaryViewActive)" then tries to activate the secondary view, which does not exist -> we get a crash. The easiest solution is to not restore the tab state if no session data in the new format is found. BUG: 338187 REVIEW: 119718 FIXED-IN: 4.14.0
2014-08-10SVN_SILENT made messages (after extraction)l10n daemon script
2014-08-04Fix wrong text eliding in some corner cases.Emmanuel Pescosta
BUG: 337104 FIXED-IN: 4.14.0 REVIEW: 119546
2014-08-03Fix warning on launch "QPixmap::scaled: Pixmap is a null pixmap"Michael Reeves
If Dolphin is launched with the information panel on and set to display previews, PixmapViewer::paintEvent is called three times before any pixmap is set. Each time the above warning message is output. REVIEW: 119553 FIXED-IN: 4.14.0
2014-08-03SVN_SILENT made messages (.desktop file)l10n daemon script
2014-08-03SVN_SILENT made messages (after extraction)l10n daemon script
2014-08-02SVN_SILENT made messages (after extraction)l10n daemon script
2014-07-31SVN_SILENT made messages (after extraction)l10n daemon script
2014-07-27SVN_SILENT made messages (after extraction)l10n daemon script
2014-07-21SVN_SILENT made messages (after extraction)l10n daemon script
2014-07-16SVN_SILENT made messages (.desktop file)l10n daemon script
2014-07-16Fix regression concerning the "Places" selector in the location barFrank Reininghaus
This commit ensures that the selector is visible in all location bars if and only if the Places Panel is hidden. It fixes a regression caused by commit 6a98d83312ff2b14ab878e1427bbace3b683eacc. BUG: 337389 FIXED-IN: 4.14.0 REVIEW: 119238
2014-07-08Avoid opening unused tabs which are closed again after startup has finished ↵Emmanuel Pescosta
(when directory/file urls are given) Instead of always opening a new tab with the home url and closing it again when directory/file urls are passed on, we now use the given directories/files directly to open new tabs on startup. Makes the code easier and we can reuse openDirectories/openFiles in future (if needed). REVIEW: 118966
2014-07-06SVN_SILENT made messages (after extraction)l10n daemon script
2014-07-05SVN_SILENT made messages (after extraction)l10n daemon script
2014-07-04Implemented DolphinTabPage class to encapsulate the split view handling from ↵Emmanuel Pescosta
DolphinMainWindow. The signal activeViewUrlChanged in DolphinTabPage is currently unused, but we need it later when we implement the tab widget and tab bar. DolphinTabPage has saveState/restoreState which are using a QByteArray instead of the KConfigGroup to be more generic. REVIEW: 118964
2014-07-04Improve drawing selected items in Compact/Details View and Places PanelFrank Reininghaus
This commit removes the icon tinting for the selected item in Compact and Details View, and extends the selection rectangle such that it includes the icon area as well. The icon tinting can be disturbing, and having a selection rectangle that only includes the text can look a bit strange, especially in the Places Panel. BUG: 304643 REVIEW: 119018 FIXED-IN: 4.14.0
2014-07-04Remove current item highlighting in the Places PanelFrank Reininghaus
In the Places Panel, there is always exactly one selected item, which is equal to the current item. Since the selected item is highlighted by drawing its background in a different color, it is not really necessary to highlight additionally that it is the current item. This is achieved by removing the calls to KItemListWidget::setCurrent(true) from KItemListView. The "current" information in the widget is only used for deciding if the "current item highlighting", like an underline in Oxygen, should be drawn. The motivation for this change is that I have seem some complaints about the "current item" highlighting, which can be even more distracting with non-Oxygen styles. REVIEW: 119019
2014-07-03SVN_SILENT made messages (after extraction)l10n daemon script
2014-07-02Fix typo: chnage -> changeArjun AK
REVIEW: 119084 GIT_SILENT
2014-06-30SVN_SILENT made messages (after extraction)l10n daemon script
2014-06-29SVN_SILENT made messages (after extraction)l10n daemon script
2014-06-28SVN_SILENT made messages (after extraction)l10n daemon script
2014-06-27SVN_SILENT made messages (after extraction)l10n daemon script
2014-06-25Add AppStream meta data file (imported from ↵Emmanuel Pescosta
https://github.com/ximion/kde-appstream-metadata-templates/blob/master/apps/dolphin.appdata.xml) Thanks to Matthias Klumpp for providing this file! REVIEW: 118701
2014-06-19Implemented DolphinRecentTabsMenu to encapsulate the recentEmmanuel Pescosta
tabs menu related code from DolphinMainWindow in a new class. The DolphinRecentTabsMenu remembers the tab configuration if a tab has been closed. REVIEW: 118805
2014-06-19Implement TODO concerning changed rolesFrank Reininghaus
When emitting the itemsChanged signal in KFileItemModel::setRoles, use the changed roles in the argument of the signal. A warning message which was related to this issue was removed in 7a83252e0d919d8408e0808ccbd7b401d57444d3 REVIEW: 118815
2014-06-19Merge branch 'KDE/4.13'Frank Reininghaus
2014-06-19Remove confusing warning messageFrank Reininghaus
The message "TODO: Emitting itemsChanged() with no information what has changed!" is not helpful for the user. The implementation of the TODO will be done in master, see https://git.reviewboard.kde.org/r/118815/ CCBUG: 336174
2014-06-12Do not crash if QApplication::clipboard()->mimeData() is a null pointerFrank Reininghaus
This removes the remaining unchecked accesses to the clipboard mime data after commit 7828b057da0491f1b08bfaec681067e195d7b6ca. According to a bug report, it can be a null pointer on Wayland. BUG: 335053 REVIEW: 118649
2014-06-09SVN_SILENT made messages (.desktop file)l10n daemon script
2014-06-05Merge remote-tracking branch 'origin/KDE/4.13'Frank Reininghaus
2014-06-05Separate width and height info in the layouting codeFrank Reininghaus
By separating the width and height info, we can save some unnecessary overhead in terms of memory and CPU cycles, and make the calculation of the height of a row (or the width of a column in Compact View) a bit simpler. To achieve this, this patch extends the concept of "logical rows" (which are actually columns in Compact View) to "logical width" and "logical height" (which is the actual height and width, respectively, in Compact View). The distinction between rows/columns and "logical" rows/columns may be a bit confusing, but the confusion is already in the current code, and I hope that it will be mitigated a bit by prefixing the corresponding variables with "logical". REVIEW: 118454
2014-06-04Fix possible crash if a kioslave adds multiple items with the same URLFrank Reininghaus
When opening the URL "man:", there are multiple items with the same name (for example, _exit is shown twice here). When opening a new tab, the kioslave reports some items as deleted (I have not quite understood why). The problem is that it reports some of the duplicate items twice in the list of deleted items. This confused KFileItemModel and corrupted the internal data structures, and finally, caused a crash. The fix is to remove all duplicates from KItemRangeList::fromSortedContainer(const Container& container). New unit tests included. BUG: 335672 REVIEW: 118507 FIXED-IN: 4.13.2
2014-06-01Merge remote-tracking branch 'origin/KDE/4.13'Frank Reininghaus
2014-05-29Fix Bug 334696 - File/directory icons/names move to the right when ↵Emmanuel Pescosta
opening/refreshing contents of Dolphin Take the scrollbar spacing into account. BUG: 334696 REVIEW: 118319 FIXED-IN: 4.13.2