Mac OS X AQUA - radio buttons not visible

Bug #539075 reported by Wolf
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Low
Unassigned

Bug Description

In all the preferences dialogs (found in document and programme preferences) inkscape 0.47 AQUA, devel-r9101, OS 10.4.11 dsiplays checkboxes, but not radio buttons.

Clicking the place where radio buttons should be triggers the function - but they are not shown.

Tags: gtk-quartz osx ui
Revision history for this message
Wolf (drechsel) wrote :
Revision history for this message
Wolf (drechsel) wrote :

P.S.: The horrible colours are due to the import of a pdf screenshot - see bug
https://bugs.launchpad.net/inkscape/+bug/491694

su_v (suv-lp)
tags: added: gtk-osx osx ui
Revision history for this message
su_v (suv-lp) wrote :

possibly upstream bug in the ClearLooks theme engine or in GTK+/Quartz?

Could you test this:
1) open terminal and create an empty '~/.gtkrc-2.0' file with
   $ touch ~/.gtkrc-2.0
(if the file already exists - temporarily rename it and then create the empty one)
2) launch Inkscape.app -> it should now use the default (fallback) gtk theme.
Do you still have missing radio buttons?

Revision history for this message
Wolf (drechsel) wrote :

Tested following the instructions above. With an existing empty ~/.gtkrc-2.0 the radio buttons are visible.

Revision history for this message
su_v (suv-lp) wrote :

If you see the radio buttons with the default gtk theme, you could to test the Clearlooks engine itself without the custom theme used by Inkscape.app by using the gtk-demo application that gets installed with GTK+:

open a terminal and type this command (on one line, without the leading '$')

$ GTK2_RC_FILES="/opt/local/share/themes/Clearlooks/gtk-2.0/gtkrc" gtk-demo

click on the demo widget 'Printing' in the list on the left side: Do you see the radio buttons in the print dialog e.g. in the 'Range' section with the number of pages to be printed? If they are missing it is not a bug in Inkscape but likely in the theme engine itself when built with the GTK+/Quartz module.

Revision history for this message
su_v (suv-lp) wrote :

forgot to mention: delete the empty .gtkrc-2.0 file before testing with gtk-demo ;)

Revision history for this message
Wolf (drechsel) wrote : Re: [Bug 539075] Re: Mac OS X AQUA - radio buttons not visible

I dont see radio buttons in the demo - screenshot attached.

But the demo crashes quite quickly - here is crash reporter, maybe
this can help to trace down something. Nothing in console.log

Date/Time: 2010-03-15 17:12:58.353 +0100
OS Version: 10.4.11 (Build 8S165)
Report Version: 4

Command: gtk-demo
Path: /opt/local/bin/gtk-demo
Parent: bash [902]

Version: ??? (???)

PID: 991
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0 libSystem.B.dylib 0x9002e4fc strcasecmp + 132
1 libcups.2.dylib 0x91b39c24 ppdFindChoice + 64
2 libprintbackend-cups.so 0x055e97d0 create_page_setup + 64
3 libgtk-quartz-2.0.0.dylib 0x012a0d10 selected_printer_changed + 656
4 libgobject-2.0.0.dylib 0x0063d014 g_closure_invoke + 436
5 libgobject-2.0.0.dylib 0x0064fd90 signal_emit_unlocked_R + 2880
6 libgobject-2.0.0.dylib 0x0065130c g_signal_emit_valist + 2012
7 libgobject-2.0.0.dylib 0x0065592c g_signal_emit_by_name + 460
8 libprintbackend-cups.so 0x055e60a4 cups_request_ppd_cb + 276
9 libprintbackend-cups.so 0x055e50b8
cups_dispatch_watch_dispatch + 120
10 libglib-2.0.0.dylib 0x006aff10 g_main_context_dispatch + 656
11 libglib-2.0.0.dylib 0x006b4524 g_main_context_iterate + 1316
12 libglib-2.0.0.dylib 0x006b4934 g_main_loop_run + 884
13 libgtk-quartz-2.0.0.dylib 0x010660c8 gtk_dialog_run + 472
14 libgtk-quartz-2.0.0.dylib 0x01299c8c
_gtk_print_operation_platform_backend_run_dialog + 92
15 libgtk-quartz-2.0.0.dylib 0x01130568 gtk_print_operation_run + 888
16 gtk-demo 0x0000e64c do_printing + 492
17 gtk-demo 0x000139d4 row_activated_cb + 164
18 libgobject-2.0.0.dylib 0x0063d014 g_closure_invoke + 436
19 libgobject-2.0.0.dylib 0x0064fd90 signal_emit_unlocked_R + 2880
20 libgobject-2.0.0.dylib 0x0065130c g_signal_emit_valist + 2012
21 libgobject-2.0.0.dylib 0x00651580 g_signal_emit + 48
22 libgtk-quartz-2.0.0.dylib 0x0120ccfc gtk_tree_view_button_press
+ 2364
23 libgtk-quartz-2.0.0.dylib 0x010f3464 _gtk_marshal_BOOLEAN__BOXED
+ 244
24 libgobject-2.0.0.dylib 0x0063d014 g_closure_invoke + 436
25 libgobject-2.0.0.dylib 0x0064ffcc signal_emit_unlocked_R + 3452
26 libgobject-2.0.0.dylib 0x00651370 g_signal_emit_valist + 2112
27 libgobject-2.0.0.dylib 0x00651580 g_signal_emit + 48
28 libgtk-quartz-2.0.0.dylib 0x01223fb0 gtk_widget_event_internal +
800
29 libgtk-quartz-2.0.0.dylib 0x010f13cc gtk_propagate_event + 508
30 libgtk-quartz-2.0.0.dylib 0x010f18d0 gtk_main_do_event + 1216
31 libgdk-quartz-2.0.0.dylib 0x0023c3b4 gdk_event_dispatch + 132
32 libglib-2.0.0.dylib 0x006aff10 g_main_context_dispatch + 656
33 libglib-2.0.0.dylib 0x006b4524 g_main_context_iterate + 1316
34 libglib-2.0.0.dylib 0x006b4934 g_main_loop_run + 884
35 libgtk-quartz-2.0.0.dylib 0x010f07f0 gtk_main + 224
36 gtk-demo 0x000141ec main + 1532
37 gtk-demo 0x00002abc _start + 760
38 gtk-demo 0x000027c0 start + 48

Revision history for this message
Wolf (drechsel) wrote :
Revision history for this message
su_v (suv-lp) wrote :

I doubt that the crash in the print dialog is related to the theme bug (does your "Inkscape Aqua" print without crashing? I'm wondering why there's a modem listed as printer… ;)

Sorry - I had not anticipated that the gtk-demo print dialog would crash. I tried but could not find another demo widget that uses radio buttons. At least we now know it is not related to Inkscape and its custom theme but most likely a bug in the Clearlooks engine.

Revision history for this message
Wolf (drechsel) wrote :

> I doubt that the crash in the print dialog is related to the theme bug

Agree.

> (does your "Inkscape Aqua" print without crashing?

Like a charm - preview, whatever you want…

> I'm wondering why
> there's a modem listed as printer… ;)

Because I've set up the internal modem. The drawing seems to be
transmitted to the fax spooler - but there's no possibility to type
in a fax number. Well - not the really most important thing to fix
first…

Revision history for this message
stu (sedwards2) wrote :

My aqua build doesn't seem to suffer the missing radio button problem. See attached.

This is Inkscape 0.47 r22583 built 2/15/10 on OS X 10.6.2 using gtk2 @2.18.6_0+no_x11+quartz and gtk2-clearlooks @0.6.2_0

Revision history for this message
su_v (suv-lp) wrote :

seems a known issue in older gtk+ and clearlooks versions on quartz - maybe a regression, since that gnome bug is marked resolved and fixed?

radio buttons & clearlooks
<http://developer.imendio.com/node/152>

474271 – problem with gc_set_clip_{origin,mask} in clearlooks on quartz:
<https://bugzilla.gnome.org/show_bug.cgi?id=474271>

Revision history for this message
su_v (suv-lp) wrote :

@stu - from the screenshot it seems you are not using the packaged version (Inkscape.app) which has its own theme based on Clearlooks. Wolf doesn't see this issue with the default gtk+ theme either.

Revision history for this message
stu (sedwards2) wrote :

........ probably guilty as charged - I was just following the prescribed recipe. Does this mean that once the build is packaged there are further changes to the look / feel / performance etc ? If so I guess I need to get the packaging done to get a true picture of how this beast really works.

Stu
On Mar 15, 2010, at 3:44 PM, ~suv wrote:

> @stu - from the screenshot it seems you are not using the packaged
> version (Inkscape.app) which has its own theme based on Clearlooks. Wolf
> doesn't see this issue with the default gtk+ theme either.
>
> --
> Mac OS X AQUA - radio buttons not visible
> https://bugs.launchpad.net/bugs/539075
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: New
>
> Bug description:
> In all the preferences dialogs (found in document and programme preferences) inkscape 0.47 AQUA, devel-r9101, OS 10.4.11 dsiplays checkboxes, but not radio buttons.
>
> Clicking the place where radio buttons should be triggers the function - but they are not shown.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/inkscape/+bug/539075/+subscribe

Revision history for this message
Wolf (drechsel) wrote :

> <http://developer.imendio.com/node/152>
> <https://bugzilla.gnome.org/show_bug.cgi?id=474271>

Strange enough, these comments are 3 years old…

And hopefully my installs are new enough:

gtk2-clearlooks @0.6.2_0 (active)
gtk2 @2.18.6_0+darwin_8+no_x11+quartz (active)

Revision history for this message
su_v (suv-lp) wrote :

> And hopefully my installs are new enough:
> gtk2-clearlooks @0.6.2_0 (active)

This Clearlooks port in MacPorts installs an outdated and no longer maintained version of Clearlooks (check the download link and website listed in the portfile). The current development tree for the Clearlooks theme engine has been moved from sourceforge to gnome.org (see also <https://bugs.edge.launchpad.net/inkscape/+bug/524496/comments/7> and Michael's follow-up comment).

If possible on Tiger you could test this issue with the Clearlooks engine that is included in the port 'gtk-engines2' (you need to deactivate gtk2+clearlooks first because these two ports install files to the same location and thus result in a conflict when activating. For packaging you need the updated version of 'osx-app.sh' (committed in r9206) because earlier versions check for a specific theme file that only gets installed with 'gtk2-clearlooks' but is never used by inkscape.

Maybe the radio buttons are rendered correctly with an updated version of the theme engine (which would explain the dated comments and bug status in the gnome bug tracker)?

Revision history for this message
su_v (suv-lp) wrote :

sorry - small typo:

- you need to deactivate gtk2+clearlooks first
+ you need to deactivate gtk2-clearlooks first

Revision history for this message
su_v (suv-lp) wrote :

@Wolf - can you confirm here that updating to the current version of the clearlooks engine fixes this bug?

Revision history for this message
Wolf (drechsel) wrote :

port deactivate gtk2-clearlooks

port install gtk-engines2

fixes the issue for me (Mac OS X 10.4.11, G4 PPC)

Changed in inkscape:
status: New → Fix Committed
Revision history for this message
su_v (suv-lp) wrote :

confirmed with GTK+/Quartz build on Snow Leopard (from comment #11: using gtk2 @2.18.6_0+no_x11+quartz and gtk2-clearlooks @0.6.2_0)
<http://article.gmane.org/gmane.comp.graphics.inkscape.devel/33619>

Changed in inkscape:
importance: Undecided → Low
status: Fix Committed → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

@Wolf - sorry, we modified the status at the same time ;(

Setting the status to 'Invalid' because it is an upstream bug in the clearlooks engine, not in Inkscape itself.

Changed in inkscape:
status: Confirmed → Invalid
Revision history for this message
su_v (suv-lp) wrote :

Stu wrote in <http://article.gmane.org/gmane.comp.graphics.inkscape.devel/33625>:
> Also, the gtk-engines2 change doesn't seem to bring my radio buttons back.

Did you rebuild Inkscape.app (osx-build.sh p) after deactivating 'gtk2-clearlooks' and installing 'gtk-engines2' in MacPorts? Otherwise Inkscape.app still has the old theme engine included and will not load the new one installed in Macports.

su_v (suv-lp)
tags: added: gtk-quartz
removed: gtk-osx
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.