Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, March 2002
8-bit Colour problems on Solaris - disappearing toolbar buttons w hen disabled


Message 1 in thread

Hi,

We are having problems with our 8-bit application running out of colours on
Solaris (not on NT). This shows itself in disabled (greyed-out) toolbar
buttons disappearing altogether rather than appearing in dark grey. When the
icon is enabled it appears fine in all the colours of the original xpm. On a
24-bit display the icons also display ok, even greyed out, but we need it to
work for 8-bit. The icons for the toolbar buttons are .xpm files set in gimp
to 15 Colour Indexed Colour and only use 10 colours between them. The
application uses a number of QPixmaps and QImages drawn in up to 100
different colours. The application also uses XView, which no doubt also
grabs colours.

Does anyone know how we could save on colours or what we could try to fix
this?

Thanks,
Andrea Gartner
Logica U.K., Bristol

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


Message 2 in thread

Gartner, Andrea wrote:
> We are having problems with our 8-bit application running out of colours on
> Solaris (not on NT). This shows itself in disabled (greyed-out) toolbar
> buttons disappearing altogether rather than appearing in dark grey.

I suspect I have seen a similar thing - tooltips appearing with
black text on a black background (unreadable!).

Andrew.


Message 3 in thread

Hi All,

Just close other X applications, even if they are running on the other
desktop.
Quite often it helps.

Yours,
Vadim

-----Original Message-----
From: owner-qt-interest@trolltech.com
[mailto:owner-qt-interest@trolltech.com]On Behalf Of Andrew Brooks
Sent: Friday, March 08, 2002 9:03 AM
To: Qt-Interest
Subject: Re: 8-bit Colour problems on Solaris


Gartner, Andrea wrote:
> We are having problems with our 8-bit application running out of colours
on
> Solaris (not on NT). This shows itself in disabled (greyed-out) toolbar
> buttons disappearing altogether rather than appearing in dark grey.

I suspect I have seen a similar thing - tooltips appearing with
black text on a black background (unreadable!).

Andrew.

--
 [ signature omitted ]