After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676264 - Custom multiline text cell renderer segfaults
Custom multiline text cell renderer segfaults
Status: RESOLVED DUPLICATE of bug 669157
Product: pygobject
Classification: Bindings
Component: introspection
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-17 17:30 UTC by Osmo Salomaa
Modified: 2012-05-19 08:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Multiline text cell renderer test script (2.85 KB, text/x-python)
2012-05-17 17:30 UTC, Osmo Salomaa
Details
Multiline text cell renderer test script (3.39 KB, text/x-python)
2012-05-19 01:09 UTC, Osmo Salomaa
Details

Description Osmo Salomaa 2012-05-17 17:30:33 UTC
Created attachment 214269 [details]
Multiline text cell renderer test script

I'm trying to port a custom cell renderer that uses a text view as the editing widget [1] to GTK+ 3, introspection bindings and Python 3. It should give a linebreak with Shift+Enter or Control+Enter and end editing with plain Enter.

I'll attach my port of the code. When run using Python 2 the renderer manages to enter editing state, but segfaults when trying to end editing. Using Python 3 the renderer segfaults when trying enter the editing state.

[1] http://www.daa.com.au/pipermail/pygtk/2009-January/016451.html
Comment 1 Osmo Salomaa 2012-05-19 01:07:03 UTC
Sorry, this is another Python 3 debian packaging issue. After fixing my Python 3 installation and some minor fixes the code works for me now.
Comment 2 Osmo Salomaa 2012-05-19 01:09:55 UTC
Created attachment 214429 [details]
Multiline text cell renderer test script

For completeness, attaching the fixed test script that no longer segfaults.
Comment 3 Martin Pitt 2012-05-19 08:21:23 UTC

*** This bug has been marked as a duplicate of bug 669157 ***