Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1506 closed bug (fixed)

QGIS 1.0.0: ugly blue bars making selections almost unreadable

Reported by: neteler Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.0.3
Component: GUI Version: 1.0.0
Keywords: Cc: pcav
Must Fix for Release: Yes Platform: All
Platform Version: windows, linux Awaiting user input: no

Description

Attached screenshots shows that recently (or with new QT?) menu bars and selectors have an unwanted dark-blue color. The earlier light grey was much better of course.

Happens at least in OSGeo4W-QGIS (Windows) and Mandriva 2009.0.

A fix would be appreciated. Looks like an initialization bug.

Attachments (2)

qgis100_qt433_ugly_blue_bars.png (137.8 KB ) - added by neteler 15 years ago.
ugly blue bars in QGIS 1.0.0
Screenshot.png (130.2 KB ) - added by lutra 15 years ago.

Download all attachments as: .zip

Change History (17)

by neteler, 15 years ago

ugly blue bars in QGIS 1.0.0

comment:1 by borysiasty, 15 years ago

The same in Ubuntu Intrepid/KDE 4.2. QGIS just ignores the system qt palette. In KDE3@Ubuntu Hardy the system colours was used.

comment:2 by pcav, 15 years ago

Works fro me, on Debian testing/Xfce. Could you provide more details?

comment:3 by neteler, 15 years ago

Sure:

ldd /usr/local/lib/qgis//bin/qgis | grep -i qt
        libQtCore.so.4 => /usr/lib64/libQtCore.so.4 (0x00007f32f9cbe000)
        libQtGui.so.4 => /usr/lib64/libQtGui.so.4 (0x00007f32f9181000)
        libQtXml.so.4 => /usr/lib64/libQtXml.so.4 (0x00007f32f8f3b000)
        libQtSvg.so.4 => /usr/lib64/libQtSvg.so.4 (0x00007f32f8ce9000)
        libQtNetwork.so.4 => /usr/lib64/libQtNetwork.so.4 (0x00007f32f89e4000)
        libQtSql.so.4 => /usr/lib64/libQtSql.so.4 (0x00007f32f87a7000)

rpm -qf /usr/lib64/libQtCore.so.4
lib64qtcore4-4.4.3-1mdv2009.0

uname -a
Linux host550 2.6.27.7-server-1mnb #1 SMP Thu Dec 11 17:41:52 EST 2008 x86_64 Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz GNU/Linux

cat /etc/issue
Mandriva Linux release 2009.0 (Official) for x86_64
Kernel 2.6.27.7-server-1mnb on a Dual-processor x86_64 / \l

comment:4 by marisn, 15 years ago

Priority: major: does not work as expectedminor: annoyance or enhancement

qtconfig -> change style to something else -> file->save

Works just fine here. Gentoo ~x86, KDE 3.5.10, Qt 4.4.2 Is this QGIS bug? Probably this is Qt issue.

comment:5 by pcav, 15 years ago

Please chech whether other Qt apps have the same problem; in this case, please close the bug.

comment:6 by neteler, 15 years ago

It is not the case here, only QGIS is affected.

comment:7 by borysiasty, 15 years ago

At mine it was affecting all qt4, but not-kde applications, so it was just a problem with passing the current KDE palette to external qt4 applications. After I've fixed it, QGIS and the rest work fine. So the reason seems to be the default qt palette.

Markus, have you tried another "qt-but-not-kde" applications? At mine there was at least smplayer, qstardict and skype.

comment:8 by neteler, 15 years ago

Aha. While Skype looks ok, also qstardict (just installed now, v0.12.9-2mdv2009.0, x86_64) suffers from that color problem. What was your trick to fix that?

Note that it at least also affects OSGeo4W-QGIS on XP.

comment:9 by borysiasty, 15 years ago

In my case, a typical 'winbuntu' solution - I've unchecked (sic!) the 'Apply colors to non-KDE4 applications' chceckbox in the KDE systemsettings. After checking it back, the colors are still being passed to qt4 applications (but not to qt3 nor gtk ones). I'm using KDE 4.2rc @ qt 4.4.3.

comment:10 by neteler, 15 years ago

Thanks to r10024 and r10025 it is now blue with white font (and no longer blue with black font).

comment:11 by lutra, 15 years ago

Cc: pcav added

Can we close this? Seems to me that have been fixed already.

by lutra, 15 years ago

Attachment: Screenshot.png added

comment:12 by borysiasty, 15 years ago

in any case, this is not a QGIS issue. But there's another thing.. Has the checkbox column to be so wide under windows?

comment:13 by lutra, 15 years ago

Resolution: fixed
Status: newclosed

Closing this, reopen if necessary.

I filed a enhancement ticket for the problem of the checkbox column under windows.

https://trac.osgeo.org/qgis/ticket/1764

in reply to:  13 ; comment:14 by jef, 15 years ago

Replying to lutra:

Closing this, reopen if necessary.

I filed a enhancement ticket for the problem of the checkbox column under windows.

https://trac.osgeo.org/qgis/ticket/1764

Just to make sure you know: you can reference bugs with #NNNN and revisions with rNNNNN.

in reply to:  14 comment:15 by lutra, 15 years ago

Just to make sure you know: you can reference bugs with #NNNN and revisions with rNNNNN.

thanks for the note, I was looking around on how to write references correctly.

Note: See TracTickets for help on using tickets.