Re: [wx-dev] 2.5.3 & OS/2

0 views
Skip to first unread message

Stefa...@t-online.de

unread,
Oct 10, 2004, 8:28:25 PM10/10/04
to wx-...@lists.wxwidgets.org
Hi,

I identified probably _the_ major remaining problem on OS/2:
Resizing a window needs to move all the childs to take into
account their new position in relation to the lower left corner
(OS/2's (0,0)) of the window. This currently just isn't done.
In real life, this causes children of windows created with height -1
to often be placed "outside" of the visible part of the "coordinate
system" and never get moved to the visible part.
This is very visible e.g. in the controls sample.
I just commited an mostly untested hack to src/os2/window.cpp to fix
exactly this. It greatly improves e.g. the controls sample, however
it probably interferes with some other routines used in finding the
initial placement of things (there are just way to many different
methods to create windows - using sizers, using absolute coordinates and
sizes in the constructors, using default values and manually resizing
afterwards and maybe/probably others), so it probably has unwanted
consequences at other places.

So currently, I'm completely unsure (independently of current
packaging/tagging status), which version of src/os2/window.cpp I'd
prefer to see in the 2.5.3 release - on the one hand, it looks like
the right thing to do, on the other hand I suppose there are a couple
of problems left for my next weekends and its not really necessary to
bother users with it already. On the third hand, bug reports on the
new version would be more helpful than bug reports on the old version.

On the fourth hand, if packages are already complete and uploading,
that probably settles it. ;-)

Regards,
Stefan


Julian Smart

unread,
Oct 10, 2004, 7:56:52 PM10/10/04
to wx-...@lists.wxwidgets.org
Hi Stefan,

Sounds like this is one for 2.5.4, now that
2.5.3 is mostly uploaded; if essential, the OS/2
archive could be updated but then it would be
out of sync with the rest (espec. wxAll).

Thanks,

Julian

>---------------------------------------------------------------------
>To unsubscribe, e-mail: wx-dev-un...@lists.wxwidgets.org
>For additional commands, e-mail: wx-de...@lists.wxwidgets.org

=========================================================================
Julian Smart jul...@anthemion.co.uk
28/5 Gillespie Crescent, Edinburgh, www.anthemion.co.uk
Midlothian, U.K., EH10 4HU +44 (0)131 229 5306
Writer's Cafe: power tools for writers www.writerscafe.co.uk
HelpBlocks: HTML help authoring www.helpblocks.com
DialogBlocks: cross-platform dialogs www.anthemion.co.uk/dialogblocks
=========================================================================

Stefa...@t-online.de

unread,
Oct 11, 2004, 7:50:23 AM10/11/04
to wx-...@lists.wxwidgets.org
Julian Smart schrieb:


> Sounds like this is one for 2.5.4, now that
> 2.5.3 is mostly uploaded;

That's fine for me.

> if essential, the OS/2
> archive could be updated but then it would be
> out of sync with the rest (espec. wxAll).

As I said, I don't have a strong preference on whether
or not to distribute that particular change at its current
state, so keeping things in sync for the distribution is
preferable, IMHO.

Regards,
Stefan

Reply all
Reply to author
Forward
0 new messages