<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - test-integration example not working out-of-the-box (1 patch attached)"
href="https://bugzilla.gnome.org/show_bug.cgi?id=754631">754631</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>test-integration example not working out-of-the-box (1 patch attached)
</td>
</tr>
<tr>
<th>Classification</th>
<td>Platform
</td>
</tr>
<tr>
<th>Product</th>
<td>gtk+
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: Wayland
</td>
</tr>
<tr>
<th>Assignee</th>
<td>gtk-bugs@gtk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gautier@damsy.net
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>gtk-bugs@gtk.org
</td>
</tr>
<tr>
<th>CC</th>
<td>rob@robster.org.uk, wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>GNOME version</th>
<td>---
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=310743" name="attach_310743" title="logs icon change and set it at boot">attachment 310743</a> <a href="attachment.cgi?id=310743&action=edit" title="logs icon change and set it at boot">[details]</a></span>
logs icon change and set it at boot
<a href="http://www.gtk.org/download/macos.php">http://www.gtk.org/download/macos.php</a> told me to report this bug for component
mac-integration but since it does not exist I will report it there. If this is
wrong, gtk-macosx-integration main page should be updated.
test-integration.c is a great program to check what integration looks like on
MacOSX. However; it does not work fully by default, not giving a good
impression of Gtk. Here are few issues I encountered, with a patch attached.
- using standard build chain: ./autogen.sh && make &&
./src/test-integration-gtk2, dock icon is not working. First, because none is
set by default. Secondly even when typing "change icon" button, it will not
work because PREFIX is set to "None", so that when we search for a new icon it
cannot find it. I attached a patch to:
1) log the new icon path when clicking the button so one can see "Setting dock
icon to None/share/gtk-2.0/demo/gnome-calendar.png"... clearly stating that
something is wrong
2) set icon when building the UI
To make this work, you have to use ./autogen.sh --prefix <gtk prefix>... which
is very poor UX imo. Either a png should be versioned directly in
gtk-macosx-integration repository and use this one, OR gtk stock icons path
should be automatically detected in configure.ac by default so that it **just**
works.
- when launching test-integration-gtk2, window do not grab the focus and one
has to select it in the dock. Again, it's a bit poor UX here but I'm not sure
about the fix so no patch.
- if one clicks "Edit -> Emoji symbols", application freezes.
- if one clicks "Edit -> start dictation", nothing happens.
- if one clicks "Edit -> Copy" or "Edit -> Paste", nothing happens.
- there is a "File -> Quit" option while it should not on macosx (already in
"test-integration-gtk3 -> Quit test-integration-gtk3")
- 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)
I would have loved a button "new notification" which trigger a notification +
update the application badge count, but it seems latest part is not implemented
yet. I will give it a try though.
Since test-integration-gtk.c is the starting place to begin integration on
macosx, it's too bad that it is not working properly/polished totally to give a
nice overview of gtk on macosx (which works great actually).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>