]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 22 Nov 2014 01:41:29 +0000 (01:41 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoMerge branch 'Applications/14.12'
Frank Reininghaus [Fri, 21 Nov 2014 16:28:32 +0000 (17:28 +0100)]
Merge branch 'Applications/14.12'

11 years agoUpdate Dolphin version to 4.14.98 for Release Candidate
Frank Reininghaus [Fri, 21 Nov 2014 16:25:19 +0000 (17:25 +0100)]
Update Dolphin version to 4.14.98 for Release Candidate

Using KDE_VERSION_STRING as the Dolphin version was convenient, but it
does not make sense anymore because it is fixed at 4.14.3 now.

REVIEW: 121195

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Mon, 17 Nov 2014 05:13:00 +0000 (05:13 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Tue, 11 Nov 2014 01:45:07 +0000 (01:45 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoMerge branch 'Applications/14.12'
Emmanuel Pescosta [Mon, 10 Nov 2014 08:24:17 +0000 (09:24 +0100)]
Merge branch 'Applications/14.12'

11 years agoMake sure that m_selectionToggle is not 0 before calling deleteLater()
Frank Reininghaus [Sun, 9 Nov 2014 20:57:40 +0000 (21:57 +0100)]
Make sure that m_selectionToggle is not 0 before calling deleteLater()

Commit 1938ad54d4ee640f04d24bad3b690095bc9b8668 replaced delete by
deleteLater(). However, the latter cannot be used safely with null
pointers. This commit adds a safety check in order to make sure that
we do not get a crash.

Thanks to Christoph Feck for pointing out this issue.

11 years agoUse deleteLater() to delete the selection toggle in KItemListWidget
Frank Reininghaus [Sun, 9 Nov 2014 17:08:29 +0000 (18:08 +0100)]
Use deleteLater() to delete the selection toggle in KItemListWidget

This patch should make a crash with a backtrace as provided in the bug
report impossible. I'm not sure if this would really prevent the crash
- it looks like the actual cause of the problem could be in
QGraphicsView or anywhere else, but it's hard to tell because the bug
was reported just once and does not seem reproducible. But I'm pretty
sure that this change doesn't make anything worse.

BUG: 334785
REVIEW: 121087

11 years agoEnsure input is a valid regexp before enabling regexp filter mode
Arjun AK [Sun, 9 Nov 2014 13:50:30 +0000 (19:20 +0530)]
Ensure input is a valid regexp before enabling regexp filter mode

Checking whether the input contains '*', '?' or '[' alone will
not do since there can be files with '[' in their name.

REVIEW: 120986
BUG: 340470
FIXED-IN: 14.12

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 9 Nov 2014 05:29:52 +0000 (05:29 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 9 Nov 2014 01:37:06 +0000 (01:37 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Fri, 7 Nov 2014 01:38:12 +0000 (01:38 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Tue, 4 Nov 2014 06:32:18 +0000 (06:32 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoMerge branch 'KDE/4.14'
Emmanuel Pescosta [Wed, 29 Oct 2014 11:20:10 +0000 (12:20 +0100)]
Merge branch 'KDE/4.14'

11 years agoHide the video player when the video has finished.
Emmanuel Pescosta [Fri, 24 Oct 2014 06:35:33 +0000 (08:35 +0200)]
Hide the video player when the video has finished.

BUG: 339882
FIXED-IN: 4.14.3
REVIEW: 120776

11 years agoMerge remote-tracking branch 'origin/KDE/4.14'
Frank Reininghaus [Fri, 24 Oct 2014 16:45:28 +0000 (18:45 +0200)]
Merge remote-tracking branch 'origin/KDE/4.14'

11 years agoMake the view/Terminal Panel synchronization less error-prone
Frank Reininghaus [Fri, 24 Oct 2014 16:13:47 +0000 (18:13 +0200)]
Make the view/Terminal Panel synchronization less error-prone

The previous solution could cause problems if the user navigates to a
different URL in one view, and then activates another split view very
quickly: the new active view might be switched to the same URL as the
first view, which is unwanted.

To fix this problem, we record a history of "cd" commands that Dolphin
sends to the Terminal Panel in a queue. If a currentDirectoryChanged
signal is received, and the new terminal directory is "dir", this patch
does the following:

1.  If the queue is empty, change the view URL to "dir".
2.  Otherwise, take the queue's head, and check if it is equal to
    "dir". If that is the case, ignore the signal and return.
3.  Go back to step 1.

This ensures that every currentDirectoryChange signal that is caused by
a "cd" that was sent from Dolphin to the terminal is ignored.

BUG: 339009
BUG: 314038
REVIEW: 120768

11 years agoFix the information panel video player in Dolphin.
Andrey Bondrov [Fri, 24 Oct 2014 06:21:37 +0000 (08:21 +0200)]
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

11 years agoMerge branch 'KDE/4.14'
Frank Reininghaus [Thu, 23 Oct 2014 21:23:19 +0000 (23:23 +0200)]
Merge branch 'KDE/4.14'

11 years agoConnect to the currentDirectoryChanged signal after the shell setup
Frank Reininghaus [Thu, 23 Oct 2014 21:17:43 +0000 (23:17 +0200)]
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

11 years agoMerge remote-tracking branch 'origin/KDE/4.14'
Frank Reininghaus [Thu, 16 Oct 2014 18:33:19 +0000 (20:33 +0200)]
Merge remote-tracking branch 'origin/KDE/4.14'

11 years agoUpdate "About" dialog after maintainership change
Frank Reininghaus [Thu, 16 Oct 2014 18:19:59 +0000 (20:19 +0200)]
Update "About" dialog after maintainership change

See http://lists.kde.org/?t=140990649300001&r=1&w=2

REVIEW: 120608

11 years agoMade the free space indicator and zoom slider a little bit larger. (was reduced by...
Emmanuel Pescosta [Mon, 13 Oct 2014 09:53:06 +0000 (11:53 +0200)]
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

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Sun, 12 Oct 2014 07:05:59 +0000 (07:05 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 12 Oct 2014 05:17:04 +0000 (05:17 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Sun, 12 Oct 2014 04:06:23 +0000 (04:06 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 12 Oct 2014 01:38:49 +0000 (01:38 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 9 Oct 2014 05:14:24 +0000 (05:14 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 9 Oct 2014 01:31:06 +0000 (01:31 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoMerge branch 'KDE/4.14'
Luca Beltrame [Sun, 21 Sep 2014 12:36:02 +0000 (14:36 +0200)]
Merge branch 'KDE/4.14'

11 years agoDo not allow files or folders inside trash to be added to dolphin's places panel
Arjun AK [Sun, 21 Sep 2014 11:31:51 +0000 (17:01 +0530)]
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

11 years agoMerge branch 'KDE/4.14'
Emmanuel Pescosta [Thu, 11 Sep 2014 08:49:58 +0000 (10:49 +0200)]
Merge branch 'KDE/4.14'

11 years agoSet the focus to the active view if the current tab has been changed.
Emmanuel Pescosta [Tue, 9 Sep 2014 22:23:04 +0000 (00:23 +0200)]
Set the focus to the active view if the current tab has been changed.

BUG: 338892
FIXED-IN: 4.15.0
REVIEW: 120125

11 years agoRename "Recently Accessed" to "Recently Saved"
kdeuser 56 [Tue, 2 Sep 2014 19:37:41 +0000 (21:37 +0200)]
Rename "Recently Accessed" to "Recently Saved"

In dolphin the Section that leads you to timeline claims
to show "Recently Accessed", which is not true, it shows
"Recently Saved" instead.

BUG: 304854
REVIEW: 119986

11 years agoMake it possible to open archives via the command line
Frank Reininghaus [Sun, 31 Aug 2014 22:06:18 +0000 (00:06 +0200)]
Make it possible to open archives via the command line

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

11 years agoMerge branch 'KDE/4.14'
Emmanuel Pescosta [Sun, 31 Aug 2014 15:09:29 +0000 (17:09 +0200)]
Merge branch 'KDE/4.14'

Conflicts:
dolphin/src/dolphinmainwindow.cpp

11 years agoOnly keep the active view container connected with the main window, all inactive
Emmanuel Pescosta [Wed, 27 Aug 2014 20:40:06 +0000 (22:40 +0200)]
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

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 24 Aug 2014 01:43:17 +0000 (01:43 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoMerge branch 'KDE/4.14'
Emmanuel Pescosta [Fri, 22 Aug 2014 20:44:53 +0000 (22:44 +0200)]
Merge branch 'KDE/4.14'

11 years agoHide an already visible KMessageWidget message before showing a new one
Arjun AK [Fri, 22 Aug 2014 13:12:50 +0000 (18:42 +0530)]
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

11 years agoSave the view states in addition to the view urls and splitter state in DolphinTabPage.
Emmanuel Pescosta [Wed, 20 Aug 2014 21:06:39 +0000 (23:06 +0200)]
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

11 years agoMerge branch 'KDE/4.14'
Emmanuel Pescosta [Thu, 14 Aug 2014 16:28:51 +0000 (18:28 +0200)]
Merge branch 'KDE/4.14'

Conflicts:
dolphin/src/dolphin.appdata.xml

11 years agoFixes display issues of Dolphin statusbar widgets when a high DPI value is used ...
Mathieu Tarral [Sun, 10 Aug 2014 20:40:40 +0000 (22:40 +0200)]
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

11 years agoMerge branch 'master' of git://anongit.kde.org/kde-baseapps
Emmanuel Pescosta [Thu, 14 Aug 2014 15:57:44 +0000 (17:57 +0200)]
Merge branch 'master' of git://anongit.kde.org/kde-baseapps

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 14 Aug 2014 01:41:42 +0000 (01:41 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoReact on the redirection signal from DolphinView to properly update the tab and windo...
Emmanuel Pescosta [Wed, 13 Aug 2014 20:06:28 +0000 (22:06 +0200)]
React on the redirection signal from DolphinView to properly update the tab and window titles.

REVIEW: 119697
BUG: 305721

11 years agoUse DolphinTabPage saveState/restoreState to remember and re-open closed tabs.
Emmanuel Pescosta [Sun, 10 Aug 2014 18:36:44 +0000 (20:36 +0200)]
Use DolphinTabPage saveState/restoreState to remember and re-open closed tabs.

REVIEW: 118968

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Wed, 13 Aug 2014 05:58:14 +0000 (05:58 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoMerge branch 'KDE/4.14'
Frank Reininghaus [Tue, 12 Aug 2014 07:23:24 +0000 (09:23 +0200)]
Merge branch 'KDE/4.14'

11 years agoAlways clear DolphinView's m_currentItemUrl member in updateViewState()
Frank Reininghaus [Tue, 12 Aug 2014 07:17:41 +0000 (09:17 +0200)]
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

11 years agoFix crash when restoring a session stored with Dolphin 4.13 or earlier
Frank Reininghaus [Tue, 12 Aug 2014 07:08:30 +0000 (09:08 +0200)]
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

11 years agoImplemented DolphinTabWidget class to encapsulate the tab handling from DolphinMainWi...
Emmanuel Pescosta [Sun, 10 Aug 2014 16:52:06 +0000 (18:52 +0200)]
Implemented DolphinTabWidget class to encapsulate the tab handling from DolphinMainWindow.

REVIEW: 119115

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 10 Aug 2014 05:48:43 +0000 (05:48 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 10 Aug 2014 01:35:56 +0000 (01:35 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoFix wrong text eliding in some corner cases.
Emmanuel Pescosta [Mon, 4 Aug 2014 17:43:07 +0000 (19:43 +0200)]
Fix wrong text eliding in some corner cases.

BUG: 337104
FIXED-IN: 4.14.0
REVIEW: 119546

11 years agoMerge branch 'KDE/4.14'
Frank Reininghaus [Sun, 3 Aug 2014 08:55:58 +0000 (10:55 +0200)]
Merge branch 'KDE/4.14'

11 years agoFix warning on launch "QPixmap::scaled: Pixmap is a null pixmap"
Michael Reeves [Sun, 3 Aug 2014 08:48:21 +0000 (10:48 +0200)]
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

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Sun, 3 Aug 2014 07:30:09 +0000 (07:30 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 3 Aug 2014 05:46:42 +0000 (05:46 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Sun, 3 Aug 2014 04:28:42 +0000 (04:28 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 3 Aug 2014 01:38:10 +0000 (01:38 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 2 Aug 2014 05:39:42 +0000 (05:39 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 2 Aug 2014 01:34:38 +0000 (01:34 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Fri, 1 Aug 2014 01:49:50 +0000 (01:49 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 31 Jul 2014 05:55:50 +0000 (05:55 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 31 Jul 2014 01:40:02 +0000 (01:40 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoPrevent multiple connections between sender and receiver
Arjun AK [Wed, 30 Jul 2014 12:56:39 +0000 (18:26 +0530)]
Prevent multiple connections between sender and receiver

Use a Qt::uniqueConnection so that only one connection exists between the sender and receiver.

REVIEW: 119532

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 27 Jul 2014 05:45:07 +0000 (05:45 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Fri, 25 Jul 2014 05:22:21 +0000 (05:22 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Fri, 25 Jul 2014 01:49:32 +0000 (01:49 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Thu, 24 Jul 2014 04:37:28 +0000 (04:37 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 24 Jul 2014 01:34:11 +0000 (01:34 +0000)]
SVN_SILENT made messages (after extraction)

11 years agomake CTRL+SHIFT+T reopen last closed tab
Arjun AK [Tue, 22 Jul 2014 12:01:49 +0000 (17:31 +0530)]
make CTRL+SHIFT+T reopen last closed tab

BUG: 336818
FEATURE: 118994

11 years agoMerge remote-tracking branch 'origin/KDE/4.14'
Christoph Feck [Mon, 21 Jul 2014 19:12:52 +0000 (21:12 +0200)]
Merge remote-tracking branch 'origin/KDE/4.14'

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Mon, 21 Jul 2014 05:43:56 +0000 (05:43 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 19 Jul 2014 01:34:04 +0000 (01:34 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Wed, 16 Jul 2014 08:22:33 +0000 (08:22 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoMerge branch 'KDE/4.14'
Frank Reininghaus [Wed, 16 Jul 2014 07:16:24 +0000 (09:16 +0200)]
Merge branch 'KDE/4.14'

11 years agoFix regression concerning the "Places" selector in the location bar
Frank Reininghaus [Wed, 16 Jul 2014 07:12:16 +0000 (09:12 +0200)]
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 6a98d83312ff2b14ab878e1427bbace3b683eacc.

BUG: 337389
FIXED-IN: 4.14.0
REVIEW: 119238

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Wed, 16 Jul 2014 04:52:24 +0000 (04:52 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Wed, 16 Jul 2014 01:50:43 +0000 (01:50 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoImplemented (QTabBar based) DolphinTabBar class to encapsulate the tab bar handling...
Emmanuel Pescosta [Tue, 8 Jul 2014 17:38:18 +0000 (19:38 +0200)]
Implemented (QTabBar based) DolphinTabBar class to encapsulate the tab bar handling from DolphinMainWindow.

REVIEW: 118969

11 years agoAvoid opening unused tabs which are closed again after startup has finished (when...
Emmanuel Pescosta [Tue, 8 Jul 2014 17:16:17 +0000 (19:16 +0200)]
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

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 6 Jul 2014 01:33:37 +0000 (01:33 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 5 Jul 2014 01:36:55 +0000 (01:36 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoImplemented DolphinTabPage class to encapsulate the split view handling from DolphinM...
Emmanuel Pescosta [Wed, 2 Jul 2014 13:30:37 +0000 (15:30 +0200)]
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

11 years agoImprove drawing selected items in Compact/Details View and Places Panel
Frank Reininghaus [Thu, 3 Jul 2014 22:49:31 +0000 (00:49 +0200)]
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

11 years agoRemove current item highlighting in the Places Panel
Frank Reininghaus [Fri, 27 Jun 2014 11:02:12 +0000 (13:02 +0200)]
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

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 3 Jul 2014 01:30:12 +0000 (01:30 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoFix typo: chnage -> change
Arjun AK [Wed, 2 Jul 2014 10:47:18 +0000 (16:17 +0530)]
Fix typo: chnage -> change

REVIEW: 119084
GIT_SILENT

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Mon, 30 Jun 2014 01:42:40 +0000 (01:42 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 29 Jun 2014 01:36:02 +0000 (01:36 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 28 Jun 2014 01:32:56 +0000 (01:32 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Fri, 27 Jun 2014 01:41:26 +0000 (01:41 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoAdd AppStream meta data file (imported from https://github.com/ximion/kde-appstream...
Emmanuel Pescosta [Thu, 12 Jun 2014 19:25:17 +0000 (21:25 +0200)]
Add AppStream meta data file (imported from https://github.com/ximion/kde-appstream-metadata-templates/blob/master/apps/dolphin.appdata.xml)

Thanks to Matthias Klumpp for providing this file!

REVIEW: 118701

11 years agoImplemented DolphinRecentTabsMenu to encapsulate the recent
Emmanuel Pescosta [Thu, 19 Jun 2014 20:04:36 +0000 (22:04 +0200)]
Implemented DolphinRecentTabsMenu to encapsulate the recent
tabs menu related code from DolphinMainWindow in a new class.

The DolphinRecentTabsMenu remembers the tab configuration if a
tab has been closed.

REVIEW: 118805

11 years agoImplement TODO concerning changed roles
Frank Reininghaus [Thu, 19 Jun 2014 18:35:22 +0000 (20:35 +0200)]
Implement TODO concerning changed roles

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

11 years agoMerge branch 'KDE/4.13'
Frank Reininghaus [Thu, 19 Jun 2014 18:32:30 +0000 (20:32 +0200)]
Merge branch 'KDE/4.13'

11 years agoRemove confusing warning message
Frank Reininghaus [Thu, 19 Jun 2014 18:27:58 +0000 (20:27 +0200)]
Remove confusing warning message

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

11 years agoDo not crash if QApplication::clipboard()->mimeData() is a null pointer
Frank Reininghaus [Thu, 12 Jun 2014 06:37:11 +0000 (08:37 +0200)]
Do not crash if QApplication::clipboard()->mimeData() is a null pointer

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