[Wayland-bugs] [Bug 754631] test-integration example not working out-of-the-box

gtk-mac-integration (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 7 14:52:26 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=754631

John Ralls <jralls at ceridwen.fremont.ca.us> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from John Ralls <jralls at ceridwen.fremont.ca.us> ---
(In reply to Gautier Pelloux-Prayer from comment #5)
> - OK, it's not a demo but it's still a good overview of how to code with Gtk
> - if this is standard to use static pixbuf when there are used only once,
> then let's keep the code like it is today

There's no standard, but since we're dealing with only one pixbuf ever it
doesn't make a lot of sense to go get it from the filesystem every time you
push the button... but if you do, you need to make sure to unref it when you're
done with it so that it doesn't leak.

> 
> - PREFIX is not set to $prefix in my case; ./configure shows me that
> configure is '/usr/local' but config.h contains '#define PREFIX "None"' so I
> guess this is the default value for both of them? I'm building with brew
> standards packets; do you reproduce this issue or should I investigate this
> more? 

That's an actual bug: I didn't realize that configure doesn't set $prefix =
$ac_default_prefix until AC_OUTPUT(), which is of course too late for setting
variables. Fixed in git.

> 
> - Emoji & Symbols hanging and all non-working Edit menu... I will
> investigate this a bit more, but can you confirm me that this should work
> even in non-bundled application (except for Emoji)?

I couldn't find anything on this in the Apple docs, so I have to assume that it
works only in bundled apps.

> 
> - Ok for focus, it makes sense actually.
> 
> - Concerning "File -> Quit" option, do we agree this should be removed?

No, it's useful when one doesn't want to engage the NSApplicationShouldQuit
handler which makes you quit twice.

> 
> - If I do a patch concerning: 'instead of logging action in console, it
> would be better to change the text label "Some window content here" so that
> users now what's going on... (for bounce action mainly)', will you consider
> it or this should stay as currently?

No. test-integration is for developers only -- and principally for developers
of gtk-mac-integration itself. It's simple on purpose, and in particular the
bounce action has proven brittle in the past and it's important that it's a
live test.

> 
> 
> I should have spitted this bug in multiples bugs actually. My bad.

Since you've actually only found two bugs, most of the rest of your complaints
would have just been closed as "not a bug". You've saved both of us time by
keeping it all in one. Emmanuele beat me to fixing the obsolete bug link in the
www.gtk.org page and I've fixed the configure bug in git, so I'll mark this
resolved now. Please subscribe to gtk-osx-users-list at gnome.org and ask any
further questions there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150907/74283330/attachment.html>


More information about the wayland-bugs mailing list