On Saturday 09 August 2008 09:40:31 Andreas Pakulat wrote:
> On 08.08.08 19:42:19, Roberto Alsina wrote:
> > On Friday 08 August 2008 18:43:12 Andreas Pakulat wrote:
> > > On 08.08.08 16:36:35, Roberto Alsina wrote:
> > > > I don't know how to explain it, si I have to use pictures.
> > >
> > > Are you talking about the cut-off menu items? Or what? Which parts of
> > > the pictures should we look into/
> >
> > Cutoff menu items, varying font sizes, the "Search" label, even the left
> > qtreeview's header is weird.
> >
> > Loos like font metrics were all cray.
>
> Hmm, can you produce a small example that demonstrates the problem? Its
> quite weird that loading an icon in a different way has such an effect.
> I'm suspecting a bit that this might be an issue on your machine, so it
> would be good to test it on other machines/different setups.

Attached is an example, and it got even weirder.

1) It doesn't depend on actually using the QIcon, only on creating it before 
there's a QApplication.

2) On windows you can't do that. (gives an error "Must construct a 
QApplication before a QPaintDevice" which looks reasonable to me) [Qt 4.4.1]

3) On Arch Linux I get cutoff menus and small fonts on the QTreeView [4.4.1]

4) On KUbuntu I get smaller fonts on the QTreeView but no cutoff menus [4.4.0]

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  KDE Developer (MFCH)
 (_Y_.)' ._   ) `._`.  " -.-'  http://lateral.netmanagers.com.ar 
  _..`-'_..-_/ /-'_.'     The 6,855th most popular site of Slovenia   
(l)-'' ((i).' ((!.'       according to alexa.com (27/5/2007) 
                    
Debugging is twice as hard as writing the code in the first place. 
Therefore, if you write the code as cleverly as possible, you are, 
by definition, not smart enough to debug it. --Brian W. Kernighan

Attachment: bug_demo.tgz
Description: application/compressed-tar

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to