Notifications use Qt 'WindowText' color, but fixed background

Bug #317874 reported by Umang Varma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Invalid
Undecided
Unassigned

Bug Description

Hi!
I like the new notifications that were introduced in the version that came along with Intrepid. I have had only one main problem. I used a dark theme with Intrepid. So the 'WindowText' field in my Qt4 Settings became 'White'. The notifications use a fixed yellow BG and (now) white text color. As a result, I cannot see the text in the notifications. It took me sometime to figure out why this is happening (not knowing it was got to do with my Qt settings).

I've attached a screenshot of the notifications with these settings, with the last line smudged.

I have two suggestions:
- (Prefered) Keep the notification colors fixed to BG: Yellow, Text: Black.
- Don't keep the background fixed to yellow. Use a text-background color combination from Qt settings (use both the text and BG colors from the settings)

This way the notifications will not look blank. (My first impression of these notifications actually was, "Wow! Progress: Getting an empty notification that something is happening!")

Please do ensure that this is fixed, as otherwise it will defeat the purpose of having notifications for many. It should not be very hard to change these settings in the code.

Thank you,

Umang

Revision history for this message
Umang Varma (umang) wrote :
Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 317874] [NEW] Notifications use Qt 'WindowText' color, but fixed background

Is this the Qt3 or Qt4 version of HPLIP that you are using? Can you try the
other one?

Regardless, though, the HPLIP code does not choose the color(s) for the
balloon notifications - that is setup somewhere inside Qt itself, I imagine.

On Fri, Jan 16, 2009 at 6:36 AM, Umang <email address hidden> wrote:

> Public bug reported:
>
> Hi!
> I like the new notifications that were introduced in the version that came
> along with Intrepid. I have had only one main problem. I used a dark theme
> with Intrepid. So the 'WindowText' field in my Qt4 Settings became 'White'.
> The notifications use a fixed yellow BG and (now) white text color. As a
> result, I cannot see the text in the notifications. It took me sometime to
> figure out why this is happening (not knowing it was got to do with my Qt
> settings).
>
> I've attached a screenshot of the notifications with these settings,
> with the last line smudged.
>
> I have two suggestions:
> - (Prefered) Keep the notification colors fixed to BG: Yellow, Text: Black.
> - Don't keep the background fixed to yellow. Use a text-background color
> combination from Qt settings (use both the text and BG colors from the
> settings)
>
> This way the notifications will not look blank. (My first impression of
> these notifications actually was, "Wow! Progress: Getting an empty
> notification that something is happening!")
>
> Please do ensure that this is fixed, as otherwise it will defeat the
> purpose of having notifications for many. It should not be very hard to
> change these settings in the code.
>
> Thank you,
>
> Umang
>
> ** Affects: hplip
> Importance: Undecided
> Status: New
>
> --
> Notifications use Qt 'WindowText' color, but fixed background
> https://bugs.launchpad.net/bugs/317874
> You received this bug notification because you are a member of HP Linux
> Imaging and Printing, which is subscribed to HPLIP.
>

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The applet (and only the applet) is Qt4 in Ubuntu Intrepid and Jaunty.

Revision history for this message
Umang Varma (umang) wrote : Re: [Bug 317874] [NEW] Notifications use Qt 'WindowText' color, but fixed background

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

HPLIP 2.8.7
Device Manager Software: 14.0

I really don't know which version of Qt HPLIP is using. But I can only
change Qt 4 Settings on Ubuntu. How do I change to the other version?

Umang

dwelch91 wrote:
> Is this the Qt3 or Qt4 version of HPLIP that you are using? Can
> you try the other one?
>
> Regardless, though, the HPLIP code does not choose the color(s) for
> the balloon notifications - that is setup somewhere inside Qt
> itself, I imagine.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklwp5IACgkQGT+zKS5WXpCxowCfSBrcDsSCDNuIhhoroGCHJGZ3
lmMAnjpqV8NMrxCTuM46Zp/zCmg8Sdhb
=Y6OE
-----END PGP SIGNATURE-----

Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 317874] [NEW] Notifications use Qt 'WindowText' color, but fixed background

Well, I was hoping that you were using the Qt3 version and that we could try
the Qt4 version. I would not recommend using the Qt3 version, as it has
various problems.

I would recommend that you post to a Qt forum about this - the Qt4 version
of hp-systray uses the Qt class QSystemTrayIcon, and the balloon size,
shape, color, etc. are all decided by that class. My guess is that the Qt
code is not picking up the dark theme attributes since you are running GNOME
as a desktop, and not KDE.

On Fri, Jan 16, 2009 at 7:28 AM, Umang <email address hidden> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> HPLIP 2.8.7
> Device Manager Software: 14.0
>
> I really don't know which version of Qt HPLIP is using. But I can only
> change Qt 4 Settings on Ubuntu. How do I change to the other version?
>
> Umang
>
> dwelch91 wrote:
> > Is this the Qt3 or Qt4 version of HPLIP that you are using? Can
> > you try the other one?
> >
> > Regardless, though, the HPLIP code does not choose the color(s) for
> > the balloon notifications - that is setup somewhere inside Qt
> > itself, I imagine.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAklwp5IACgkQGT+zKS5WXpCxowCfSBrcDsSCDNuIhhoroGCHJGZ3
> lmMAnjpqV8NMrxCTuM46Zp/zCmg8Sdhb
> =Y6OE
> -----END PGP SIGNATURE-----
>
> --
> Notifications use Qt 'WindowText' color, but fixed background
> https://bugs.launchpad.net/bugs/317874
> You received this bug notification because you are a member of HP Linux
> Imaging and Printing, which is subscribed to HPLIP.
>

Revision history for this message
Umang Varma (umang) wrote : Re: [Bug 317874] [NEW] Notifications use Qt 'WindowText' color, but fixed background

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I reported a bug using the Qt Bug report form
(http://www.qtsoftware.com/bugreport-form). I do not know what I
should do now. It never gave me a bug report number, or any other
information on how to check back for status etc. Any ideas?

Umang

PS: Sorry if this comment has not been posted properly. I am still
figuring out how to use the Email interface.

dwelch91 wrote:
> Well, I was hoping that you were using the Qt3 version and that we
could try
> the Qt4 version. I would not recommend using the Qt3 version, as it
> has various problems.
>
> I would recommend that you post to a Qt forum about this - the Qt4
version
> of hp-systray uses the Qt class QSystemTrayIcon, and the balloon
> size, shape, color, etc. are all decided by that class. My guess
> is that
the Qt
> code is not picking up the dark theme attributes since you are
running GNOME
> as a desktop, and not KDE.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklwvMoACgkQGT+zKS5WXpCNEgCgiVa5PDBaCtth3gJ3WFy2JcPm
d6EAoORmBRmraQJra7L5YNdScxdy7bz0
=8XfY
-----END PGP SIGNATURE-----

Revision history for this message
Umang Varma (umang) wrote :

I just got a mail from Qt:

> We have read your email but require more time to deal with it. We have
> assigned it the issue number #241525. Please use this number if you email
> us about the issue. We regret that we cannot guarantee a personal reply.

I can't seem to find the bug report online, but I'll post any other
information
I recieve about this bug on Launchpad.

Right now they say they can't find the bug
(http://www.qtsoftware.com/developer/task-tracker/index_html?id=241525&method=entry)

Umang

Revision history for this message
Umang Varma (umang) wrote :

Hi!
I finally got a reply from Qt. Here's what they had to say:

...
Thank you for reporting this problem. This issue have already been
solved in Qt 4.5. With Qt 4.5, the colors of the text and the
background are fixed to avoid problems of integration with the system
style.

Best regards,
....

That means that we just have to wait until Ubuntu gets Qt 4.5 and this will be fixed.

Umang

Revision history for this message
Umang Varma (umang) wrote :

This has been fixed in Qt 4.5. How do we know when Ubuntu will get Qt 4.5 ? (Also, I think "Fix Committed" is the status of this bug. If it isn't, then please do change appropriately).

Thanks,

Umang

Changed in hplip:
status: New → Fix Committed
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

Setting to invalid because this appears to be a QT defect that has been fixed upstream.

Thanks for the report.

Aaron

Changed in hplip:
assignee: nobody → kalosaurusrex
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.