Re: GTK 3.22 Breaking My Eclipse IDE

2016-10-12 Thread Andres Fernandez
El 13 oct. 2016 1:24, "Kyle Terrien"  escribió:

> I don't think the theme is necessarily to blame.  Something changed in
> GTK 3.22, and Eclipse happened to find these issues.  This is likely a
> regression in GTK.
>
> From my (limited) understanding, the theme API was supposed to be
> frozen as of 3.20.  Even if this is a theme problem, that would mean
> this is still a regression in GTK (because frozen APIs are not supposed
> to be changed).

Until 3.22 the API was supposed to change between stable release. It was
always that way. Now the scheme was changed and there will be stable APIs
for longer periods.

But in 3.22 is responsibility of users of GTK (eclipse in this case) to
modify their software to apply API changes. It's looks like a distro issue
rather a GTK issue. Arch (I use Arch) should offer no break packages due to
updates.

I'm just an user of Gnome and Arch. Is my humble opinion.

Best regards,

Andrés Fernández
Software Peronista
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK 3.22 Breaking My Eclipse IDE

2016-10-12 Thread Kyle Terrien
On Wed, 12 Oct 2016 12:33:36 -0600
Michael Torrie  wrote:
> > With Adwaita & Numix themes  
> 
> These are all theme (CSS) errors. Apparently theming is expecting
> slightly different CSS from what it was using in 3.20 and 3.22
> (again). However, I thought that Adwaita was GTK's default theme and
> ships with GTK. If so, are you sure you're running the GTK 3.22
> version of this theme? ___

I don't think the theme is necessarily to blame.  Something changed in
GTK 3.22, and Eclipse happened to find these issues.  This is likely a
regression in GTK.

From my (limited) understanding, the theme API was supposed to be
frozen as of 3.20.  Even if this is a theme problem, that would mean
this is still a regression in GTK (because frozen APIs are not supposed
to be changed).

--Kyle

-- 
The computer can't tell you the emotional story.  It can give you the
exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa


pgp22K1QGQaCZ.pgp
Description: OpenPGP digital signature
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK+ with Broadway

2016-10-12 Thread Daniel Kasak
I've been using it on+off for a couple of years. As far as widget
toolkit functionality goes, it's a stable platform for me. Security is
not handled by broadway, except for basic password authentication ( 1
password per linux user who runs broadway apps ). I posted on this
topic a little while back:
http://tesla.duckdns.org/transparent-proxy-for-broadway-gtk3-html5-backend/

Are you after some info in particular?

Dan

On Thu, Oct 13, 2016 at 5:49 AM, Igor D  wrote:
> Hi,
>
> I wonder if someone have practical experience with GTK+ with Broadway.
> I'll be glad to have feedback.
>
> Thanks
> Igor
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


GTK+ with Broadway

2016-10-12 Thread Igor D
Hi,

I wonder if someone have practical experience with GTK+ with Broadway.
I'll be glad to have feedback.

Thanks
Igor
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK 3.22 Breaking My Eclipse IDE

2016-10-12 Thread Michael Torrie
On 10/12/2016 09:19 AM, Markus Walther wrote:
> Upgrading to GTK 3.22 broke the Preferences window in my Eclipse IDE. It
> has also caused strange positioning of the Eclipse splash-screen at startup
> and gives a lot of GTK warnings in the console (see attachment).
> 
> Buttons and text inside the Preferences get cut off. This is also the case
> for many if not all other 'sub-windows' of Eclipse.
> 
> Reverting back to 3.20.9 has now worked for me to get rid of said issues.
> 
> Can anyone make sense of these Warning & Critical messages that I get?
> 
> Tested on:
> Arch Linux
> Eclipse Neon & Neon.1 (eclipse-java-4.6.0-1)
> The following GTK packages:
> 3.22.1+8+ge11df6c-2
> 3.22.1-1
> 3.22.0+29+gfa23641-1
> 3.22.0+21+gad32a48-1
> 3.22.0-1
> 
> With Adwaita & Numix themes

These are all theme (CSS) errors. Apparently theming is expecting
slightly different CSS from what it was using in 3.20 and 3.22 (again).
However, I thought that Adwaita was GTK's default theme and ships with
GTK. If so, are you sure you're running the GTK 3.22 version of this theme?
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: gobject

2016-10-12 Thread A. Walton
On Wed, Oct 12, 2016 at 7:41 AM, Timothy Ward  wrote:

> Is there a good tutorial or reference material on gtk gobject "c"
> coding.
>
> 1) Explaining in detail the whole process from what should be in
> header files and source files, structure declarations, boiler plate
> code the stages of object creation and dispose and finalize functions.
> What each function actually does and the interaction between them.
>
> Google search info is fragmented in this respect.
>
> Also any tutorial or reference material on gobject "c" coding without
> using the boiler plate code and supporting glue etc.
>
>
If you can do video, Christian Hergert did a presentation on creating
GObjects:
https://www.youtube.com/watch?v=1-_EBEr0fxI - it uses a lot of the newer
macro magic to reduce the boilerplate down to the bare minimum.

But the documentation and source code are really canonical - in my opinion
you
will learn a lot more from reading existing code than anything else, as
there have
been a few different paradigms over the years and depending on the age of
the
project you may see different code/macros in use.

-A. Walton


>
>
> Regards
>
> Timothy Ward
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


GTK 3.22 Breaking My Eclipse IDE

2016-10-12 Thread Markus Walther
Upgrading to GTK 3.22 broke the Preferences window in my Eclipse IDE. It
has also caused strange positioning of the Eclipse splash-screen at startup
and gives a lot of GTK warnings in the console (see attachment).

Buttons and text inside the Preferences get cut off. This is also the case
for many if not all other 'sub-windows' of Eclipse.

Reverting back to 3.20.9 has now worked for me to get rid of said issues.

Can anyone make sense of these Warning & Critical messages that I get?

Tested on:
Arch Linux
Eclipse Neon & Neon.1 (eclipse-java-4.6.0-1)
The following GTK packages:
3.22.1+8+ge11df6c-2
3.22.1-1
3.22.0+29+gfa23641-1
3.22.0+21+gad32a48-1
3.22.0-1

With Adwaita & Numix themes

Preferences window:
[image: Screenshot from 2016-10-12 14-19-30.png]

I would be very glad if someone could figure out what this is about.

Thanks
Markus
(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:680:14: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:680:14: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:683:17: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:838:14: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:838:14: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:841:17: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:1257:14: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:1257:14: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:1261:17: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:2792:8: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:2792:18: Using Pango 
syntax for the font: style property is deprecated; please use CSS syntax

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:2797:8: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:2797:18: Using Pango 
syntax for the font: style property is deprecated; please use CSS syntax

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5689:12: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5689:12: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5710:18: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5710:18: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5812:12: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5814:16: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5814:16: Expected a 
string.

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5971:12: not a number

(java:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5971:12: Expected a 
string.
org.eclipse.m2e.logback.configuration: The 
org.eclipse.m2e.logback.configuration bundle was activated before the state 
location was initialized.  Will retry after the state location is initialized.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:680:14: not a 
number

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:680:14: Expected a 
string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:683:17: Expected a 
string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:838:14: not a 
number

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:838:14: Expected a 
string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:841:17: Expected a 
string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:1257:14: not a 
number

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:1257:14: Expected 
a string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:1261:17: Expected 
a string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:2792:8: not a 
number

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:2792:18: Using 
Pango syntax for the font: style property is deprecated; please use CSS syntax

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:2797:8: not a 
number

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:2797:18: Using 
Pango syntax for the font: style property is deprecated; please use CSS syntax

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5689:12: not a 
number

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5689:12: Expected 
a string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5710:18: not a 
number

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5710:18: Expected 
a string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5812:12: Expected 
a string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5814:16: not a 
number

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: gtk.css:5814:16: Expected 
a string.

(Eclipse:2499): Gtk-WARNING **: Theme parsing error: 

Re: gobject

2016-10-12 Thread Nicola Fontana
Il Thu, 13 Oct 2016 01:41:03 +1100 Timothy Ward  scrisse:

> Is there a good tutorial or reference material on gtk gobject "c"
> coding.
> 
> 1) Explaining in detail the whole process from what should be in
> header files and source files, structure declarations, boiler plate
> code the stages of object creation and dispose and finalize functions.
> What each function actually does and the interaction between them.
> 
> Google search info is fragmented in this respect.
> 
> Also any tutorial or reference material on gobject "c" coding without
> using the boiler plate code and supporting glue etc. 

Hi,

what's wrong with the official documentation?

https://developer.gnome.org/gobject/stable/

It provides overview, tutorials and API reference.

Ciao.
-- 
Nicola
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


gobject

2016-10-12 Thread Timothy Ward
Is there a good tutorial or reference material on gtk gobject "c"
coding.

1) Explaining in detail the whole process from what should be in
header files and source files, structure declarations, boiler plate
code the stages of object creation and dispose and finalize functions.
What each function actually does and the interaction between them.

Google search info is fragmented in this respect.

Also any tutorial or reference material on gobject "c" coding without
using the boiler plate code and supporting glue etc. 

Regards

Timothy Ward
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


App-menu

2016-10-12 Thread Timothy Ward
While adding gapplication framework and gtk-application framework code
to an existing GUI application.

When using a embedded gtk-clutter widget with gobject
and sub classed under gtk-application even when using a 
gtk-application window the application menu does not
show up. 

I wanted to move the gui about-menu-button to the application menu

Will the top level window which contains the embedded gtk-clutter
window inherit the ability to display an application menu when sub-
classed under gtk_application or must the gtk-application window be
realized before the app-menu code will be active.

I have tried adding the embedded gtk-clutter widget to a gtk-
application window and a top-level window widget without app-menu
success and using both gmenu.

According to the docs both the gtk-application window and  embedded
gtk-clutter widget window are both top level windows. 

gobject-> gapplcation -> gtkapplication -> embedded-gtk-widget-window.
    |
Regards

Timothy Ward  
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK threads synchronization issues

2016-10-12 Thread Emmanuele Bassi
Hi;

On 12 October 2016 at 06:22,  wrote:

> Hello Colleagues [image: :)] ,
> I am working on a major project lately, but the last thing I
> was experiencing was heavy synchronization issues with g_thred_new.
> -
> After a while I found out that the problem is because I modify/update
> application's GUI from the thread.
> -
> By problems I allude generally application text damages such as showing
> non-standard characters instead of the widget's intended text, sometimes
> even crashes and asserts.
> -
> Is that correct  and I should not make changes to the GUI inside such
> thread ?
>
You *cannot* use GDK or GTK+ API from any other thread except the one that
called `gtk_init()` and `gtk_main()`, or `g_application_run()`.

https://developer.gnome.org/gdk3/stable/gdk3-Threads.html

> Is there any way I can do that within the thread without ending in a
> symbolic mess ?
>
No, there isn't.

The common pattern is to schedule UI changes from separate threads using
API like GTask.

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list