Bug 9

Title: Missing activation of pygtkcompat
Type: rfe Severity: normal
Components: Versions:
Status: closed Resolution: wont fix
Dependencies: Drop python2 and GTK+2
View: 20
Assigned To: Nosy List: ced, yangoon
Priority: normal Keywords:

Created on 2018-05-02 14:04 by yangoon, last changed 2019-02-22 18:57 by ced.

File name Uploaded Description Edit Remove
01-enable_pygtkcompat.patch yangoon, 2018-05-02 15:55
msg23 Author: [hidden] (yangoon) Date: 2018-05-02 14:04
The import of goocalendar crashes when python-goocanvas is
not installed, but python-goocanvas should be optional.

The attached patch fixes it.
msg25 Author: [hidden] (ced) Date: 2018-05-02 23:44
I do not agree with this because it prevent to use
goocalendar with gtk+-2 if pygtkcompat is installed.
It is expected from the user of the library to activate
pygtkcompat themselves if they want to use GTK+-3.
msg27 Author: [hidden] (ced) Date: 2018-05-08 15:48
Also the patch does not work because the import always fails.
But even when fixing the import, it seems that enabling
pygtkcompat when gtk+-2 has already been imported break all
the GTK modules.
So for now, it is not possible for a library like
goocalendar to support both out of the box. We have to
maintain GTK+2 compatibility for 2 years now so we can not
apply any of those changes.

I highly recommend to remove this changes from the debian
package because it fixes nothing but may mislead the users
that GTK+3 is supported out of the box without activating
msg61 Author: [hidden] (ced) Date: 2019-02-22 18:57
It will be solved by bug20
Date User Action Args
2019-02-22 18:57:58cedsetstatus: open -> closed
resolution: postponed -> wont fix
dependencies: + Drop python2 and GTK+2
messages: + msg61
2018-05-08 15:51:44cedsettype: crash -> rfe
severity: major -> normal
2018-05-08 15:48:40cedsetstatus: new -> open
messages: + msg27
2018-05-02 23:48:47cedsetresolution: postponed
2018-05-02 23:44:59cedsetnosy: + ced
messages: + msg25
2018-05-02 15:55:06yangoonsetfiles: + 01-enable_pygtkcompat.patch
2018-05-02 14:04:10yangooncreate