Commit graph

18028 commits

Author SHA1 Message Date
Frank Reininghaus
a9c2bdc3b5 Do not crash when finishing inline renaming in unusual ways
The crash was caused by a null pointer dereference when, e.g.,
minimizing Dolphin. The root cause was that
KStandardItemListWidget::closeRoleEditor() was called twice: once when
the role editor loses focus, and once again when the window is resized.
After m_roleEditor was set to 0, the second call dereferenced this null
pointer. I think the best solution is to disconnect from the role
editor's signals when the editor is not needed any more by the
KStandardItemListWidget.

BUG: 304524
FIXED-IN: 4.9.1
2012-08-24 23:27:03 +02:00
Frank Reininghaus
168d0511c7 Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus
For top-level roles like "Name" and "Size", the group translation is 0.
In that case, the "group" member of the corresponding RoleInfo struct
must be an empty string. This is expected by the code which generates
Dolphin's menus, which group the top-level roles into a sub menu with
the name "(I18N_EMPTY_MESSAGE)" otherwise. This is a recent regression
caused by 199fabbaa8.

Thanks to Christoph Feck for investigating this issue!

CCBUG: 305228
2012-08-24 18:57:47 +02:00
Emmanuel Pescosta
78dd4c9ce9 Select the correct item in places-panel, when a directory is opened.
BUG: 304541
REVIEW: 106074
FIXED-IN: 4.9.1
(cherry picked from commit 1ec8de2c61)
2012-08-23 22:04:44 +02:00
Script Kiddy
9e8ed7af1e SVN_SILENT made messages (.desktop file) 2012-08-23 03:12:24 +02:00
Martin Koller
7d1f76d3d7 avoid duplicate entries in konqueror address completion list
history list is added to completion list giving duplicates.
Avoid this by removing duplicates

BUG: 144751
FIXED-IN: 4.9.1
2012-08-17 21:02:23 +02:00
Albert Astals Cid
199fabbaa8 Fix translations not showing in the Sort by and Additional Information submenus
Acked by Frank
REVIEW: 106049
BUGS: 305228
FIXED-IN: 4.9.1
2012-08-16 22:27:12 +02:00
Emmanuel Pescosta
23194dde3b 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.
BUG: 303133
FIXED-IN: 4.9.1
(cherry picked from commit b3c3da9851)
2012-08-15 15:04:55 +02:00
Emmanuel Pescosta
5ba759b221 Fix wrong text color in places and in folders panel.
FIXED-IN: 4.9.1
REVIEW: 105832
BUG: 303133
2012-08-13 19:10:50 +02:00
Jekyll Wu
94fe71342f Show icon size as tooltip when adjusting icon size
BUG:292700
FIXED-IN: 4.9.1
REVIEW: 105990
(cherry picked from commit 5e87cefd4c)
2012-08-13 16:45:22 +08:00
Dawit Alemayehu
cf5d5ace49 Fix a long standing security issue with the hiding of Konqueror's location (address)
bar through javascript.

This commit changes how a request to create a new window with all its toolbars hidden
is handled. Namely, the toolbar that contains the address input widget will no longer
be hidden by default. The user can explicitly enable the ability to hide the location
bar by adding the following config option to Konqueror's config file (konquerorrc):

[DisableWindowOpenFeatures]
LocationBar=false

REVIEW: 105749
2012-08-11 11:50:25 -04:00
Dawit Alemayehu
97457b5fb6 Fixed the display of the security sheild icon for SSL sites.
REVIEW: 105805
2012-08-11 11:50:24 -04:00
Script Kiddy
ba94adb39c SVN_SILENT made messages (.desktop file) 2012-08-10 17:24:32 +02:00
Frank Reininghaus
a2deeadb7a Follow-up to d7e7ca53bb - use correct icon
I overlooked that "actions/" is not part of the icon name. Just
rebuilding and re-running Dolphin did not reveal this issue, it seems
that the old icon "package_utility_time" was still cached somewhere.

I hope that it really works on all distros now.

CCBUG: 304323
2012-08-09 23:52:51 +02:00
Frank Reininghaus
d7e7ca53bb Use a better icon for recently accessed items in the Places Panel
The problem with the icon "package_utility_time" that has been used
before was that it is not available on all distros. The new icon
"actions/chronometer" should be available on every KDE install.

Thanks to Elias Probst for suggesting the new icon - I'm not that
familiar with the icons provided by KDE myself.

BUG: 304323
FIXED-IN: 4.9.1
2012-08-09 23:38:48 +02:00
Martin Sandsmark
d1808d56ec Use a saner check for multimedia files in infopanel.
Don't rely on the reported supported mimetypes from Phonon,
Phonon supports more than just video and audio, but if it is
video or audio there's a very good chance Phonon supports it.

(If the mime type isn't in the list returned by Phonon there's
still a good chance it supports it, because mime types are stupid.)

BUG: 252539
FIXED-IN: 4.9.1

(cherry picked from commit 2fb4419de0)
2012-08-09 10:44:14 +08:00
Frank Reininghaus
146c77eaa2 Fix the size of the rating stars in Icons View
Moreover, make sure that the selection rectangle is large enough to
include the stars.

Patch by Emmanuel Pescosta. Thanks for the patch!

BUG: 302624
FIXED-IN: 4.9.1
REVIEW: 105830
2012-08-07 22:54:35 +02:00
Frank Reininghaus
4d39dbc962 Stop preview jobs when closing Dolphin
Patch by Benni Hill. Thanks for the patch!
BUG: 304467
FIXED-IN: 4.9.1
2012-08-06 02:27:49 +02:00
Script Kiddy
603b764da9 SVN_SILENT made messages (.desktop file) 2012-08-03 11:36:00 +02:00
Script Kiddy
a4bd90cb3b SVN_SILENT made messages (.desktop file) 2012-08-02 10:53:11 +02:00
Script Kiddy
877d84e746 SVN_SILENT made messages (.desktop file) 2012-08-01 11:35:20 +02:00
Script Kiddy
cd73c53bb9 SVN_SILENT made messages (.desktop file) 2012-07-30 09:50:07 +02:00
Patrick Spendrin
4dad2b7785 msvc needs to have the class definition for reference parameters in methods 2012-07-29 01:11:21 +02:00
Script Kiddy
3538416abd SVN_SILENT made messages (.desktop file) 2012-07-27 10:25:17 +02:00
Script Kiddy
4c8b063be8 SVN_SILENT made messages (.desktop file) 2012-07-24 19:23:37 +02:00
Dawit Alemayehu
9a622c16d9 Show the "Find File" and "Open Terminal" actions in the Tools for file URLs only.
BUG: 279283
FIXED-IN: 4.9.0
REVIEW: 105607
2012-07-22 17:29:31 -04:00
David Faure
95d655683c Fix compiler warning, which spotted a real bug.
ItemLayout is an enum, not a flag, so == is even more correct than '&'.
2012-07-20 12:11:45 +02:00
David Faure
379d94eab6 Fix bug 303375 - Dots in directory names treated as file extension.
Patch by Emmanuel Pescosta <emmanuelpescosta099@gmail.com>

BUG: 303375
REVIEW: 105575
FIXED-IN: 4.9.0
2012-07-20 12:09:04 +02:00
Script Kiddy
45e1b37a46 SVN_SILENT made messages (.desktop file) 2012-07-19 10:08:46 +02:00
David Faure
bc8df3d5a1 Fix open-in-new-window to work with remote URLs
FIXED-IN: 4.9.0
BUGS: 274655, 292822
2012-07-18 20:41:38 +02:00
Christoph Feck
65112f5f94 Respect platform's icon sizes
Use QStyle icon sizes instead of hard coding 16 or 32 pixels.
Using styles that follow KDE settings (every KStyle, e.g.
Oxygen) the icon sizes can be configured by the user in
System Settings.

The size for the icon/details view can be later changed
by the user, overriding the defaults. The icon size for the
places panel is not (yet?) configurable separately.

(Not resolving the bug, see comment in review request)

CCBUG: 301959
REVIEW: 105548
(cherry picked from commit 79211f6e48)
2012-07-18 01:30:32 +02:00
Script Kiddy
044243a502 SVN_SILENT made messages (.desktop file) 2012-07-14 00:02:53 +02:00
Ignat Semenov
d3b8716c57 only start the clear saved positions timer if it is already running
CCBUG:265774
2012-07-13 21:05:47 +04:00
Frank Reininghaus
43e8977973 Re-implement dropping of files on folders in the Places Panel.
This resolves a regression caused by the Places Panel rewrite. There is
a small glitch left when reordering items (dragging below the last or
above the first item only shows the drop indicator when first dragging
out of the item and then back), but I prefer not to fix this glitch
right now because this would require a more intrusive change, and I do
not want to risk regressions because is not much time left to fix them
before 4.9.0 is released.

Thanks to Peter Penz for providing some advice about this issue.

BUG: 302557
FIXED-IN: 4.9.0
(cherry picked from commit f4c9600251)
2012-07-12 00:41:20 +02:00
Frank Reininghaus
b9d144fc73 Use the right name when adding a folder to Places with the context menu
Without this patch, the name of the parent folder was used for the entry
in the Places Panel. Will backport to the KDE/4.9 branch when the RC2
freeze is over.

Thanks to Daniel Kreuter for the patch!

BUG: 303157
FIXED-IN: 4.9.0
(cherry picked from commit 9940244ddd)
2012-07-12 00:40:09 +02:00
Script Kiddy
2f6dbf75f3 SVN_SILENT made messages (.desktop file) 2012-07-09 11:10:38 +02:00
Ignat Semenov
87691b0cb8 use m_model instead of m_dirModel since the view can be filtered 2012-07-06 16:50:19 +04:00
Burkhard Lück
d681af118b use kappname entity to avoid the wrong app name sharing stuff between dolphin/konqui
(cherry picked from commit c896067cce)

backport to 4.9
2012-07-04 18:06:49 +02:00
Burkhard Lück
4412c5de38 use kappname entity to avoid the wrong app name sharing stuff between dolphin/konqui
(cherry picked from commit 50364e1520)

backport to 4.9
2012-07-04 18:06:05 +02:00
Yuri Chornoivan
881c55bd04 Fix typos in Dolphin docs.
(cherry picked from commit c6adcbe734)

backport to 4.9
2012-07-04 18:04:59 +02:00
Burkhard Lück
a497b6d0fe update dolphin + konqui filemanager docs to 4.9
(cherry picked from commit 681ca6657f)

backport to 4.9
2012-07-03 21:19:02 +02:00
Oswald Buddenhagen
36733fdcc1 interpret backslash escapes in some more options
BUG: 148575
BUG: 295820
FIXED-IN: 4.9
(cherry picked from commit 39f3b6a8b7)
2012-07-02 16:48:14 +02:00
Oswald Buddenhagen
b619b55abc make backslashes escapable
BUG: 199005
FIXED-IN: 4.9
(cherry picked from commit 03e91d5242)
2012-07-02 16:48:14 +02:00
Oswald Buddenhagen
499fba777d make parameters of Widgets::textInputBox() sane
i think somebody had too much perl here ...
(cherry picked from commit 84dc11954c)
2012-07-02 16:48:14 +02:00
Oswald Buddenhagen
a46e8a1d7e fix geometry handling of --textinputbox
BUG: 186450
FIXED-IN: 4.9
(cherry picked from commit b62c3d9976)
2012-07-02 16:48:14 +02:00
Oswald Buddenhagen
b596342353 fix initial focus for a couple of widgets
(cherry picked from commit 58f5514c14)
2012-07-02 16:48:14 +02:00
Script Kiddy
1b6ffe072c SVN_SILENT made messages (.desktop file) 2012-06-28 09:58:50 +02:00
Script Kiddy
0388171e04 SVN_SILENT made messages (.desktop file) 2012-06-26 19:08:12 +02:00
Peter Penz
a601588b50 Increase version to 2.1 2012-06-24 16:46:18 +02:00
Jekyll Wu
a7d999b7ba Add the missing "FileTools" category suggested by FDO menu spec.
REVIEW: 105288
2012-06-18 22:05:21 +08:00
Script Kiddy
12abf054b8 SVN_SILENT made messages (.desktop file) 2012-06-18 10:06:11 +02:00