[Debian-med-packaging] Bug#759060: [olly at survex.com: Bug#759060: invesalius: Partial patch for wxPython 3.0]

Olly Betts olly at survex.com
Wed Sep 17 21:57:04 UTC 2014


On Mon, Sep 15, 2014 at 04:32:21PM -0300, Thiago Franco Moraes wrote:
> I tested it here inside a VM.

The vtk maintainer asked me to just NMU my fix, so you should now be
able to just test in unstable.

> It's working now! Thanks! There are some problems with the widgets
> layouts and placements, but everything seems to work. I'll try to
> solve these problems.

There are two issues I am aware of which can affect these sort of things
(but probably others too):

The first is that in wxGTK 2.8, SetSize() and GetSize() for a
wxTopLevelWindow (and subclasses) returned the "client size", but in 3.0
they now return the size including window decorations.  At least some
other ports previously included the window decorations, so applications
tested on other platforms tend to get this right, but for stuff only
tested on Linux, calculated window sizes can be wrong.  Using
SetClientSize() and GetClientSize() where you don't want the size of any
window decorations to be included is the fix (and should work in 2.8
too).

The other is a bug in the height of wxSearchCtrl, which is fixed in wx
trunk but still waiting for a fix in 3.0 (I think the trunk fix can't
just be applied):

http://trac.wxwidgets.org/ticket/16422

It's probably better not to try to work around that, as you're likely
to just create more problems once it gets fixed.  I'm hoping we'll
get 3.0.2 in for jessie, and that this will include a fix for this.

Cheers,
    Olly



More information about the Debian-med-packaging mailing list