Debian Bug report logs - #860074
unblock: wxpython3.0/3.0.2.0+dfsg-4 wxwidgets3.0/3.0.2+dfsg-4

Package: release.debian.org; Maintainer for release.debian.org is Debian Release Team <debian-release@lists.debian.org>;

Reported by: Gianfranco Costamagna <locutusofborg@debian.org>

Date: Tue, 11 Apr 2017 06:48:02 UTC

Severity: normal

Done: Niels Thykier <niels@thykier.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Release Team <debian-release@lists.debian.org>:
Bug#860074; Package release.debian.org. (Tue, 11 Apr 2017 06:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Gianfranco Costamagna <locutusofborg@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Release Team <debian-release@lists.debian.org>. (Tue, 11 Apr 2017 06:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Gianfranco Costamagna <locutusofborg@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: unblock: wxpython3.0/3.0.2.0+dfsg-4 wxwidgets3.0/3.0.2+dfsg-4
Date: Tue, 11 Apr 2017 06:45:40 +0000 (UTC)
Package: release.debian.org

Severity: normal

User: release.debian.org@packages.debian.org

Usertags: unblock


Hello Release Team, a gtk bug has been reported to poedit users/developers,

and it turned out to be a wxwidgets3.0/wxpython3.0 issue (poedit

can't workaround it).


I uploaded a fix in Debian, both wxwidgets and wxpython (they share the same

codebase), and I'm requesting to unblock them.


upstream patch is here:

(the patch comes from poedit developers, and upstream accepted it, and backported

it to wx3.0 stable branch)



diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp

index 87217e2..0be3273 100644

--- a/src/gtk/dataview.cpp

+++ b/src/gtk/dataview.cpp

@@ -135,9 +135,11 @@ class wxGtkTreePathList : public wxGtkList


// Implementation note: it could be expected that setting the selection

// function in this class ctor and resetting it back to the old value in its

-// dtor would work. However currently gtk_tree_selection_get_select_function()

-// can't be passed NULL (see https://bugzilla.gnome.org/show_bug.cgi?id=626276)

-// so we can't do this. Instead, we always use the selection function (which

+// dtor would work, However in GTK+2 gtk_tree_selection_get_select_function()

+// can't be passed NULL (see https://bugzilla.gnome.org/show_bug.cgi?id=626276

+// which was only fixed in 2.90.5-304-g316b9da) so we can't do this.

+//

+// Instead, we always use the selection function (which

// imposes extra overhead, albeit minimal one, on all selection operations) and

// just set/reset the flag telling it whether it should allow or forbid the

// selection.

@@ -168,7 +170,15 @@ class wxGtkTreeSelectionLock


ms_instance = this;


-        CheckCurrentSelectionFunc(NULL);

+        if ( ms_firstTime )

+        {

+            ms_firstTime = false;

+            CheckCurrentSelectionFunc(NULL);

+        }

+        else

+        {

+            CheckCurrentSelectionFunc(wxdataview_selection_func);

+        }


// Pass some non-NULL pointer as "data" for the callback, it doesn't

// matter what it is as long as it's non-NULL.

@@ -215,6 +225,7 @@ class wxGtkTreeSelectionLock

}


static wxGtkTreeSelectionLock *ms_instance;

+    static bool ms_firstTime;


GtkTreeSelection * const m_selection;


@@ -222,6 +233,7 @@ class wxGtkTreeSelectionLock

};


wxGtkTreeSelectionLock *wxGtkTreeSelectionLock::ms_instance = NULL;

+bool wxGtkTreeSelectionLock::ms_firstTime = true;


//-----------------------------------------------------------------------------

// wxDataViewCtrlInternal



please let me know if you want a debdiff


https://anonscm.debian.org/cgit/freewx/wx.git/commit/?h=wxpy3.0-debian&id=14e985d712d6f68f86bae8e56eaa8cc82979ff02

https://anonscm.debian.org/cgit/freewx/wx.git/commit/?h=wx3.0-debian&id=782ede3b9c5e7c3af8c625f34a5ecfac6b650813


poedit having this issue is only in experimental for now (it seems to be affecting only poedit2),

but it should fix also such assertions on other wx-based tools.


thanks!


Gianfranco



Reply sent to Niels Thykier <niels@thykier.net>:
You have taken responsibility. (Tue, 11 Apr 2017 07:33:10 GMT) (full text, mbox, link).


Notification sent to Gianfranco Costamagna <locutusofborg@debian.org>:
Bug acknowledged by developer. (Tue, 11 Apr 2017 07:33:10 GMT) (full text, mbox, link).


Message #10 received at 860074-done@bugs.debian.org (full text, mbox, reply):

From: Niels Thykier <niels@thykier.net>
To: Gianfranco Costamagna <locutusofborg@debian.org>, 860074-done@bugs.debian.org
Subject: Re: Bug#860074: unblock: wxpython3.0/3.0.2.0+dfsg-4 wxwidgets3.0/3.0.2+dfsg-4
Date: Tue, 11 Apr 2017 07:25:00 +0000
Gianfranco Costamagna:
> Package: release.debian.org
> 
> Severity: normal
> 
> User: release.debian.org@packages.debian.org
> 
> Usertags: unblock
> 
> 
> Hello Release Team, a gtk bug has been reported to poedit users/developers,
> 
> and it turned out to be a wxwidgets3.0/wxpython3.0 issue (poedit
> 
> can't workaround it).
> 
> 
> I uploaded a fix in Debian, both wxwidgets and wxpython (they share the same
> 
> codebase), and I'm requesting to unblock them.
> 
> 
> upstream patch is here:
> 
> (the patch comes from poedit developers, and upstream accepted it, and backported
> 
> it to wx3.0 stable branch)
> 
> 
> 
> [...]
>
> 
> 
> please let me know if you want a debdiff
> 
> 
> https://anonscm.debian.org/cgit/freewx/wx.git/commit/?h=wxpy3.0-debian&id=14e985d712d6f68f86bae8e56eaa8cc82979ff02
> 
> https://anonscm.debian.org/cgit/freewx/wx.git/commit/?h=wx3.0-debian&id=782ede3b9c5e7c3af8c625f34a5ecfac6b650813
> 
> 
> poedit having this issue is only in experimental for now (it seems to be affecting only poedit2),
> 
> but it should fix also such assertions on other wx-based tools.
> 
> 
> thanks!
> 
> 
> Gianfranco
> 

Both unblocked, thanks.

~Niels






Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 10 May 2017 07:28:10 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 12:37:36 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.