Bug 304775 - Multiple red 'X' icons/buttons are shown in the KMessageWidget below the location bar when errors occur
Summary: Multiple red 'X' icons/buttons are shown in the KMessageWidget below the loca...
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.1
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: https://dl.dropbox.com/u/15226372/scr...
Keywords: reproducible
: 312991 321653 (view as bug list)
Depends on:
Reported: 2012-08-08 09:26 UTC by Ondrej Machulda
Modified: 2013-06-26 20:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.0

Screenshot showing the three icons (34.06 KB, image/png)
2012-08-08 09:27 UTC, Ondrej Machulda

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Machulda 2012-08-08 09:26:44 UTC
When error during opening a folder occurs, the error message is shown at the top of the window. 

In this moment, there are shown THREE (!) "X" icons, each with different look, two of them having same meaning (buttons to close or cancel something) and one is just design icon - but is not recognizable from the buttons.

Reproducible: Always
Comment 1 Ondrej Machulda 2012-08-08 09:27:37 UTC
Created attachment 73043 [details]
Screenshot showing the three icons
Comment 2 Frank Reininghaus 2012-08-08 09:37:46 UTC
Thanks for the bug report! I do not get the "X" in the status bar, but I agree that showing just two in the message widget is not optimal either. We should probably use a different icon in the top-left corner.
Comment 3 Jekyll Wu 2012-08-13 07:56:34 UTC
That message under the address bar is provided by KMessageWidget (the KMessageWidget::Error variant). Not sure whether that can be improved from the dolphin side.
Comment 4 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:19:52 UTC
Resetting assignee to default as per bug #305719
Comment 5 Frank Reininghaus 2013-01-10 07:27:28 UTC
*** Bug 312991 has been marked as a duplicate of this bug. ***
Comment 6 Aurelien Gateau 2013-05-15 13:54:10 UTC
Git commit c8264896312e244e028be291dc390363d3aad843 by Aurélien Gâteau.
Committed on 06/05/2013 at 17:40.
Pushed by gateau into branch 'master'.

KMessageWidget: Hide decoration icon by default, add an "icon" property

This avoids confusion between the decoration icon and the close button,
especially when type is KMessageWidget::Error. This happens for example
with Dolphin when it fails to connect to a remote host.

This change also has the nice side-effect of leaving more space for the
widget text by default, but makes it possible for developers to provide
more meaningful icons when necessary.
REVIEW: 110327
FIXED-IN: 4.11.0

M  +20   -9    kdeui/widgets/kmessagewidget.cpp
M  +13   -0    kdeui/widgets/kmessagewidget.h

Comment 7 Frank Reininghaus 2013-06-26 20:20:11 UTC
*** Bug 321653 has been marked as a duplicate of this bug. ***