Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Display problems in Package Browser, Class Browser and System Browser

74 views
Skip to first unread message

Andreas Wacknitz

unread,
May 30, 2012, 3:32:01 PM5/30/12
to
Hi all,

I have annoying display problems in some of the browsers when I increase Windows text size (via Control Panel -> Display -> Medium - 125%).
The first columns in the methods panes gets corrupted (black squares instead of triangles). A similar problem I'll get in the packages panes of the system browser and the package browser.
Did anybody have similar problems and a solution for it?
I want the bigger sizes because menu entries get very tiny on an 27" iMac...

Regards,
Andreas

emari...@gmail.com

unread,
Jun 1, 2012, 3:54:19 PM6/1/12
to
I had a similar issue with a 1920x1200 15" screen, but unfortunately changing the windows text size is likely to corrupt 99% of the existing apps (even Windows itself).

Almost all window metrics are pixel based (except for fonts), so layouts, widths , images, and similar are going to break when you change the font-size or the DPI's.


Regards,

Chris Uppal

unread,
Jun 5, 2012, 4:36:28 AM6/5/12
to
emari...@gmail.com wrote:

> Almost all window metrics are pixel based (except for fonts), so layouts,
> widths , images, and similar are going to break when you change the
> font-size or the DPI's.

Although, if you're careful and make good use of LayoutManagers and the
#preferredExtent of Views, you can usually make Dolphin apps adjust
intelligently to the user's preferred font sizes without explicitly coding for
it.

-- chris


Chris Uppal

unread,
Jun 5, 2012, 4:39:26 AM6/5/12
to
Andreas Wacknitz wrote:

> I have annoying display problems in some of the browsers when I increase
> Windows text size (via Control Panel -> Display -> Medium - 125%).
> The first columns in the methods panes gets corrupted (black squares
> instead of triangles).

What happens if you use the View Composer to increase the width of those
columns ?

-- chris


Andreas Wacknitz

unread,
Jun 5, 2012, 1:29:43 PM6/5/12
to
I tried that but wasn't successful yet. I didn't understand the code :(
I will try again this coming weekend...

Regards,
Andreas

Chris Uppal

unread,
Jun 9, 2012, 7:56:42 AM6/9/12
to
Andreas Wacknitz wrote:

> > > I have annoying display problems in some of the browsers when I
> > > increase Windows text size (via Control Panel -> Display -> Medium -
> > > 125%).
> > > The first columns in the methods panes gets corrupted (black squares
> > > instead of triangles).

I suspect that it's something to do with the icon resource used for those
columns. At least the overridden icon (OVERRIDDEN.ICO in DR006.dll) has only
one image, 32x32 in 4-bit colour, whereas the public/private icons
(COMPILEDMETHOD_PUBLIC.ICO and _PRIVATE.ICO in the same DLL), which work have
16x16, 24x24,32x32, and 38x48 in both 8-bit and 32-bit colour.

Although that may be a red-herring. CHANGED.ICO in the same DLL has the same
range as COMPILEDMETHOD_PUBLIC.ICO, and that's used for the "Changed" column in
the package lists, and I think you said that that fails for you ?

If you have a resource editor handy which allows you to see clearly which image
sizes are supplied for each icon (e.g. XN resource editor), then you might
experiment with extending the OVERRIDDEN.ICO in DR006.dll.

-- chris



Andreas Wacknitz

unread,
Jun 11, 2012, 2:36:18 AM6/11/12
to
Hi Chris,

Thanks for your help.

Alas my explanation was slightly wrong: I get black squares when there is no triangle in the first column of a method list. And in the package manager I get a black square when a package is clean, that is, when there is no star.
So changing the overriden.ico resource is not working for me.

Regards,
Andreas

Andreas Wacknitz

unread,
Jun 15, 2012, 2:24:34 AM6/15/12
to
I wonder whether anybody has simimlar problems.
The problem is really strange to me. It happens both on Windows 7 32 bit and 64 bit, on two different computers and two diffferent displays (2560x1440 and 1600x1200) as soon as I increase the sizes over 105%. To make it even stranger, log out and log in again toggles the problems on/off.
So for the moment there seems to be the annoying solution to log out and log in.

Regards,
Andreas

Chris Uppal

unread,
Jun 17, 2012, 8:35:21 AM6/17/12
to
Andreas Wacknitz wrote:

> Alas my explanation was slightly wrong: I get black squares when there is
> no triangle in the first column of a method list. And in the package
> manager I get a black square when a package is clean, that is, when there
> is no star. So changing the overriden.ico resource is not working for me.

Looking further, the problem seems to be specific to BLANK.ICO in the DR006
DLL. It has just a 4-bit image consisting entirely of the transparent
background colour, and I think it's that which is confusing somethingin the
image rendering. Giving that image even a single non-transparent pixel seems
to fix the problem (at least it did on my 64-bit Win7 machine).

-- chris


Andreas Wacknitz

unread,
Jun 19, 2012, 3:13:44 PM6/19/12
to
Hi Chris,

your work around seems to work for me, too. Thanks a lot for your efforts.

Best regards,
Andreas
0 new messages