Commit graph

19127 commits

Author SHA1 Message Date
l10n daemon script da39a8f87f SVN_SILENT made messages (.desktop file) 2014-10-25 07:15:29 +00:00
Andrey Bondrov 3866c88ce9 Fix the information panel video player in Dolphin.
Patch from ROSA Linux.

BUG: 337107
BUG: 337033
BUG: 334924
CCBUG: 339882
REVIEW: 120745
FIXED-IN: 4.14.3
2014-10-24 08:26:40 +02:00
Frank Reininghaus 62c7120acd Connect to the currentDirectoryChanged signal after the shell setup
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-23 23:17:43 +02:00
Emmanuel Pescosta 3b7e6afbf1 Made the free space indicator and zoom slider a little bit larger. (was reduced by an older commit)
BUG: 339768
FIXED-IN: 4.14.3
2014-10-13 11:53:06 +02:00
l10n daemon script b39d937311 SVN_SILENT made messages (.desktop file) 2014-10-12 07:05:59 +00:00
l10n daemon script dbe2a1604c SVN_SILENT made messages (after extraction) 2014-10-12 05:17:04 +00:00
l10n daemon script 27e79225d9 SVN_SILENT made messages (.desktop file) 2014-10-09 07:06:23 +00:00
l10n daemon script 6f5ae80abc SVN_SILENT made messages (after extraction) 2014-10-09 05:14:24 +00:00
Rex Dieter 9f2a0643e5 Fix scrollbar appearing on FolderView
BUG: 294795
FIXED-IN: 4.14.2
REVIEW: 120057

Workaround for some kind of memory corruption error which can lead to
availRect.bottom() being set to 0 after availableScreenRect returns.
If this happens, use qdesktopwidget instead.
2014-09-25 09:28:35 -05:00
Arjun AK dd4b4d5bcd Do not allow files or folders inside trash to be added to dolphin's places panel
REVIEW: 120286
BUG: 339204
FIXED-IN: 4.14.2
2014-09-21 17:16:19 +05:30
Frank Reininghaus 421e7ea410 Make it possible to open archives via the command line
This used to work before afcf8961f6 (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-09-01 00:06:18 +02:00
Emmanuel Pescosta 13efd5950b Only keep the active view container connected with the main window, all inactive
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-31 17:00:10 +02:00
Arjun AK e7ef1cb8ec 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
Mathieu Tarral 1b6ce8a9e5 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
l10n daemon script 0391f5b9d8 SVN_SILENT made messages (after extraction) 2014-08-13 05:58:14 +00:00
Frank Reininghaus 1c9a92dae0 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 cb04f335cb 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
l10n daemon script c23e97b6fe SVN_SILENT made messages (after extraction) 2014-08-10 05:48:43 +00:00
Emmanuel Pescosta a203c27116 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
Michael Reeves b28f9628f2 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 b9653e12c2 SVN_SILENT made messages (.desktop file) 2014-08-03 07:30:09 +00:00
l10n daemon script 2d825bc248 SVN_SILENT made messages (after extraction) 2014-08-03 05:46:42 +00:00
l10n daemon script 859145b0b0 SVN_SILENT made messages (after extraction) 2014-08-02 05:39:42 +00:00
l10n daemon script 96a8937b5e SVN_SILENT made messages (.desktop file) 2014-08-01 08:03:05 +00:00
l10n daemon script dcad942d7e SVN_SILENT made messages (after extraction) 2014-07-31 05:55:50 +00:00
l10n daemon script b8d54d31fb SVN_SILENT made messages (after extraction) 2014-07-27 05:45:07 +00:00
Vishesh Handa bf800910e5 UserManager KCM: Only delete the face file if it already exists 2014-07-25 04:53:32 +10:00
Vishesh Handa 00d66fec7a UserAccount KCM: Change the name using the AccountManager
Instead of calling chfn, parsing its output (which depends on the
version of chfn which is present) and also additionally requires the
password.

This is also much more secure since we aren't storing the password in
memory.

REVIEW: 118974
BUG: 156396
FIXED-IN: 4.14.0

Conflicts:
	kdepasswd/kcm/chfnprocess.cpp
	kdepasswd/kcm/chfnprocess.h
2014-07-25 04:49:46 +10:00
Christoph Feck a7828a3b86 Indicate used text encoding in generated HTML file
Thanks André!

BUG: 336853
FIXED-IN: 4.14.0
2014-07-21 21:10:21 +02:00
l10n daemon script af0d4b0dbf SVN_SILENT made messages (after extraction) 2014-07-21 05:43:56 +00:00
l10n daemon script f1771ce815 SVN_SILENT made messages (.desktop file) 2014-07-16 08:22:33 +00:00
Frank Reininghaus 15e68c7a02 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
Emmanuel Pescosta e47052925c 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 31e3e82da3 SVN_SILENT made messages (after extraction) 2014-07-06 01:33:37 +00:00
l10n daemon script 0bc1cc66db SVN_SILENT made messages (after extraction) 2014-07-05 01:36:55 +00:00
Emmanuel Pescosta 6a98d83312 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 1f69714a23 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
Frank Reininghaus d329e0ed72 Remove current item highlighting in the Places Panel
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-04 00:42:38 +02:00
l10n daemon script 77dbc27e5a SVN_SILENT made messages (after extraction) 2014-07-03 01:30:12 +00:00
Arjun AK ac6bbb4f8b Fix typo: chnage -> change
REVIEW: 119084
GIT_SILENT
2014-07-02 16:17:18 +05:30
Jonathan Riddell 898fde8c27 Revert "Rename icons which use obsolete KDE 3 categories"
committed to wrong branch
This reverts commit 2018f8dc86.
2014-07-01 22:12:31 +02:00
Jonathan Riddell 7b50e913a5 Revert "Rename icons which use obsolete KDE 3 categories"
commited to wrong branch
This reverts commit 0837644150.
2014-07-01 22:12:17 +02:00
Jonathan Riddell d7996a7086 Revert "Rename icons which use obsolete KDE 3 categories"
committed to wrong branch
This reverts commit 66874caf8b.
2014-07-01 22:12:02 +02:00
Jonathan Riddell 66874caf8b Rename icons which use obsolete KDE 3 categories
Move icons to hicolour (ahead of move away from oxygen)
2014-07-01 18:32:27 +02:00
Jonathan Riddell 0837644150 Rename icons which use obsolete KDE 3 categories
Move icons from oxygen to hicolor for theme change
2014-07-01 18:29:17 +02:00
Jonathan Riddell 2018f8dc86 Rename icons which use obsolete KDE 3 categories 2014-07-01 18:23:42 +02:00
l10n daemon script 75af47afb7 SVN_SILENT made messages (after extraction) 2014-06-30 01:42:40 +00:00
l10n daemon script ee38eac0a0 SVN_SILENT made messages (after extraction) 2014-06-29 01:36:02 +00:00
l10n daemon script 8ca6be19cd SVN_SILENT made messages (after extraction) 2014-06-28 01:32:56 +00:00
l10n daemon script c0d59756ba SVN_SILENT made messages (after extraction) 2014-06-27 01:41:26 +00:00