Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-09-16 Thread Olly Betts
On Mon, Sep 16, 2019 at 10:12:09PM +0200, Gunter Königsmann wrote: > On 15.09.19 23:24, Olly Betts wrote: > > The upstream bug has been closed as invalid - the problem here is > > incorrect use of the wxWidgets API - Clear() uses the brush used by > > SetBackground() not the brush set by

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-09-16 Thread Gunter Königsmann
On 15.09.19 23:24, Olly Betts wrote: > On Mon, Aug 12, 2019 at 05:44:11AM +0100, Olly Betts wrote: >> On Sun, Aug 11, 2019 at 11:18:11PM -0400, Scott Talbert wrote: >>> On Sun, 11 Aug 2019, Olly Betts wrote: So I'm afraid I don't seem to be able to reproduce your problem. Please

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-12 Thread Olly Betts
On Mon, Aug 12, 2019 at 12:29:30PM -0400, Scott Talbert wrote: > On Mon, 12 Aug 2019, Gunter Königsmann wrote: > > GDK_BACKEND was already set to x11 due to my debugging. If I unset the > > environment variable the problem disappears => Logged in into a > > non-wayland session and the problem

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-12 Thread Scott Talbert
On Mon, 12 Aug 2019, Gunter Königsmann wrote: Does the problem happen when running on X11?  You can force X11 by setting environment variable:     GDK_BACKEND=x11 before starting your program. That was an excellent question that found part of the problem: GDK_BACKEND was already set to x11

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-12 Thread Gunter Königsmann
> Does the problem happen when running on X11?  You can force X11 by > setting environment variable: > >     GDK_BACKEND=x11 > > before starting your program. That was an excellent question that found part of the problem: GDK_BACKEND was already set to x11 due to my debugging. If I unset the

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-12 Thread Scott Talbert
On Mon, 12 Aug 2019, Gunter Königsmann wrote: If a draw context is used and wxWidgets 3.0 (3.1 isn't affected, but isn't packaged with debian as it is the development version) uses GTK3 the background is likely not to be cleared before a redraw as wxDC::Clear() doesn't work under these

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-12 Thread Gunter Königsmann
On 12.08.19 05:18, Scott Talbert wrote: > On Sun, 11 Aug 2019, Olly Betts wrote: > >>> If a draw context is used and wxWidgets 3.0 (3.1 isn't affected, but >>> isn't packaged with debian as it is the development version) uses GTK3 >>> the background is likely not to be cleared before a redraw as

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-11 Thread Gunter Königsmann
> Please can you come up with a small reproducer (upstream like a patch > against one of their samples) and file a bug upstream? The upstream bug is: https://trac.wxwidgets.org/ticket/18463; If this bug doesn't affect you but does affect me I guess the graphics driver might be involved somehow.

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-11 Thread Olly Betts
Control: forwarded -1 https://trac.wxwidgets.org/ticket/18463 On Sun, Aug 11, 2019 at 11:18:11PM -0400, Scott Talbert wrote: > On Sun, 11 Aug 2019, Olly Betts wrote: > > So I'm afraid I don't seem to be able to reproduce your problem. > > > > Please can you come up with a small reproducer

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-11 Thread Scott Talbert
On Sun, 11 Aug 2019, Olly Betts wrote: If a draw context is used and wxWidgets 3.0 (3.1 isn't affected, but isn't packaged with debian as it is the development version) uses GTK3 the background is likely not to be cleared before a redraw as wxDC::Clear() doesn't work under these circumstances.

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-11 Thread Olly Betts
Control: tag -1 unreproducible On Sat, Aug 10, 2019 at 04:51:08PM +0200, Gunter Königsmann wrote: > If a draw context is used and wxWidgets 3.0 (3.1 isn't affected, but > isn't packaged with debian as it is the development version) uses GTK3 > the background is likely not to be cleared before a

Bug#934385: wxDC::Clear() doesn't work if wxWidgets uses GTK3

2019-08-10 Thread Gunter Königsmann
Package: libwxgtk3.0-gtk3-0v5 Version: 3.0.4+dfsg-9 If a draw context is used and wxWidgets 3.0 (3.1 isn't affected, but isn't packaged with debian as it is the development version) uses GTK3 the background is likely not to be cleared before a redraw as wxDC::Clear() doesn't work under these