Commit graph

4570 commits

Author SHA1 Message Date
l10n daemon script f27250bf27 SVN_SILENT made messages (after extraction) 2014-08-24 01:43:17 +00:00
Emmanuel Pescosta 7b0c9bbc58 Merge branch 'KDE/4.14' 2014-08-22 22:44:53 +02:00
Arjun AK 4290827540 Hide an already visible KMessageWidget message before showing a new one
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-22 18:42:50 +05:30
Emmanuel Pescosta 2d2d55f3df Save the view states in addition to the view urls and splitter state in DolphinTabPage.
Also added version numbers to view and tab state.

REVIEW: 119792
2014-08-20 23:06:39 +02:00
Emmanuel Pescosta 4b758c386f Merge branch 'KDE/4.14'
Conflicts:
	dolphin/src/dolphin.appdata.xml
2014-08-14 18:28:51 +02:00
Mathieu Tarral b73aeb4598 Fixes display issues of Dolphin statusbar widgets when a high DPI value is used (>= 196 for example).
BUG: 334271
REVIEW: 119701
FIXED-IN: 4.14.1
2014-08-14 18:12:08 +02:00
Emmanuel Pescosta cdebd19925 Merge branch 'master' of git://anongit.kde.org/kde-baseapps 2014-08-14 17:57:44 +02:00
l10n daemon script 4d2877e4bb SVN_SILENT made messages (after extraction) 2014-08-14 01:41:42 +00:00
Emmanuel Pescosta 39d8fb12c1 React on the redirection signal from DolphinView to properly update the tab and window titles.
REVIEW: 119697
BUG: 305721
2014-08-13 22:06:28 +02:00
Emmanuel Pescosta 62418c58a5 Use DolphinTabPage saveState/restoreState to remember and re-open closed tabs.
REVIEW: 118968
2014-08-13 20:50:36 +02:00
l10n daemon script c7e300db90 SVN_SILENT made messages (after extraction) 2014-08-13 05:58:14 +00:00
Frank Reininghaus 4b70446c17 Merge branch 'KDE/4.14' 2014-08-12 09:23:24 +02:00
Frank Reininghaus bf1ac8ee9b Always clear DolphinView's m_currentItemUrl member in updateViewState()
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-12 09:17:41 +02:00
Frank Reininghaus 4ed068ffff Fix crash when restoring a session stored with Dolphin 4.13 or earlier
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-12 09:08:30 +02:00
Emmanuel Pescosta 38381bc6a2 Implemented DolphinTabWidget class to encapsulate the tab handling from DolphinMainWindow.
REVIEW: 119115
2014-08-10 18:52:06 +02:00
l10n daemon script 013b2346f5 SVN_SILENT made messages (after extraction) 2014-08-10 05:48:43 +00:00
l10n daemon script 1ffb64db1f SVN_SILENT made messages (after extraction) 2014-08-10 01:35:56 +00:00
Emmanuel Pescosta 18a976c435 Fix wrong text eliding in some corner cases.
BUG: 337104
FIXED-IN: 4.14.0
REVIEW: 119546
2014-08-04 19:43:07 +02:00
Frank Reininghaus 9203fdc4d9 Merge branch 'KDE/4.14' 2014-08-03 10:55:58 +02:00
Michael Reeves a31b836479 Fix warning on launch "QPixmap::scaled: Pixmap is a null pixmap"
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-03 10:51:41 +02:00
l10n daemon script 3d076f7c5e SVN_SILENT made messages (.desktop file) 2014-08-03 07:30:09 +00:00
l10n daemon script 2b1267d71e SVN_SILENT made messages (after extraction) 2014-08-03 05:46:42 +00:00
l10n daemon script e7bc1cb09d SVN_SILENT made messages (.desktop file) 2014-08-03 04:28:42 +00:00
l10n daemon script 6970c5acb6 SVN_SILENT made messages (after extraction) 2014-08-03 01:38:10 +00:00
l10n daemon script 09ab78a8bb SVN_SILENT made messages (after extraction) 2014-08-02 05:39:42 +00:00
l10n daemon script 9d758fd54b SVN_SILENT made messages (after extraction) 2014-08-02 01:34:38 +00:00
l10n daemon script 7697451998 SVN_SILENT made messages (after extraction) 2014-08-01 01:49:50 +00:00
l10n daemon script 39e1197536 SVN_SILENT made messages (after extraction) 2014-07-31 05:55:50 +00:00
l10n daemon script ec6d53e70e SVN_SILENT made messages (after extraction) 2014-07-31 01:40:02 +00:00
Arjun AK c654019eb9 Prevent multiple connections between sender and receiver
Use a Qt::uniqueConnection so that only one connection exists between the sender and receiver.

REVIEW: 119532
2014-07-30 18:26:39 +05:30
l10n daemon script d1f12e1778 SVN_SILENT made messages (after extraction) 2014-07-27 05:45:07 +00:00
l10n daemon script 7299d007f2 SVN_SILENT made messages (.desktop file) 2014-07-25 05:22:21 +00:00
l10n daemon script ecf7a1d1ed SVN_SILENT made messages (after extraction) 2014-07-25 01:49:32 +00:00
l10n daemon script cb8d725451 SVN_SILENT made messages (.desktop file) 2014-07-24 04:37:28 +00:00
l10n daemon script a2bd1a9188 SVN_SILENT made messages (after extraction) 2014-07-24 01:34:11 +00:00
Arjun AK 9a69506572 make CTRL+SHIFT+T reopen last closed tab
BUG: 336818
FEATURE: 118994
2014-07-22 17:31:49 +05:30
Christoph Feck 0f2f9fd5b8 Merge remote-tracking branch 'origin/KDE/4.14' 2014-07-21 21:12:52 +02:00
l10n daemon script c2f8389acb SVN_SILENT made messages (after extraction) 2014-07-21 05:43:56 +00:00
l10n daemon script 17688f23e7 SVN_SILENT made messages (after extraction) 2014-07-19 01:34:04 +00:00
l10n daemon script 603e1775c8 SVN_SILENT made messages (.desktop file) 2014-07-16 08:22:33 +00:00
Frank Reininghaus abd114f710 Merge branch 'KDE/4.14' 2014-07-16 09:16:24 +02:00
Frank Reininghaus 7cb193de10 Fix regression concerning the "Places" selector in the location bar
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 6a98d83312.

BUG: 337389
FIXED-IN: 4.14.0
REVIEW: 119238
2014-07-16 09:12:16 +02:00
l10n daemon script ebae393190 SVN_SILENT made messages (.desktop file) 2014-07-16 04:52:24 +00:00
l10n daemon script 31a106a63a SVN_SILENT made messages (after extraction) 2014-07-16 01:50:43 +00:00
Emmanuel Pescosta 1dfafcb176 Implemented (QTabBar based) DolphinTabBar class to encapsulate the tab bar handling from DolphinMainWindow.
REVIEW: 118969
2014-07-08 19:38:18 +02:00
Emmanuel Pescosta 00754dda30 Avoid opening unused tabs which are closed again after startup has finished (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-08 19:16:17 +02:00
l10n daemon script c25b501898 SVN_SILENT made messages (after extraction) 2014-07-06 01:33:37 +00:00
l10n daemon script baeb21e96e SVN_SILENT made messages (after extraction) 2014-07-05 01:36:55 +00:00
Emmanuel Pescosta b0fb590ebd Implemented DolphinTabPage class to encapsulate the split view handling from 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-04 17:16:03 +02:00
Frank Reininghaus 20e13c31df Improve drawing selected items in Compact/Details View and Places Panel
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-04 00:49:46 +02:00