Re: Fwd: Gtk3 MacOS (OSX) context menu issues

2015-03-19 Thread Konstantin Dmitriev
2015-03-19 13:05 GMT+06:00 Konstantin Dmitriev ksee.zelga...@gmail.com:
 Hello!

 2015-03-15 22:32 GMT+06:00 Konstantin Dmitriev ksee.zelga...@gmail.com:
 Hello, Jim!

 2015-03-15 21:25 GMT+06:00 Jim Charlton char...@gmail.com:
 With the default MacPorts installation of gtk3, one can set XDG_CONFIG_HOME
 to /opt/local/share/themes/Default and then include the gtk.css file with
 .window-frame,
 .window-frame:backdrop {
   box-shadow: none;
   margin: 0;}

 in it, in /opt/local/share/themes/Default/gtk-3.0/gtk.css

 and the margins will disappear on the popup menu boxes avoiding the
 selection problem.  No need to install an alternate theme.
 Please excuse the errors in the previous posting.

 Thank you very much for providing the workaround! This solves the
 problem for my situation, because I can provide modified theme with
 the distributive of our software.

 Just a wild guess:
 It would be interesting to create a custom theme with the following css 
 options:
 .window-frame,
 .window-frame:backdrop {
   box-shadow: 0 0 10px rgba(0,0,0,0.5)
   margin: 15;
 }
 ...and test it in some other OS (Linux and Windows). Maybe the problem
 of insensitive menu will appear there as well!

 I have been trying to reproduce the same behaviour on my Linux
 workstation, but no luck. I can enable the shadow around the context
 menu, but the semi-transparent border isn't appears. Probably this
 feature doesn't supported by X11 backend. So I can't debug this issue
 in Linux.

 I think at this point we can submit a bugreport to GTK bugtracker -
 https://bugzilla.gnome.org/index.cgi

I guess this would be a better link for bugtracker -
https://bugzilla.gnome.org/page.cgi?id=browse.htmlproduct=gtk%2B
^_^

Best Regards,
Konstantin
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Fwd: Gtk3 MacOS (OSX) context menu issues

2015-03-19 Thread Konstantin Dmitriev
Hello!

2015-03-15 22:32 GMT+06:00 Konstantin Dmitriev ksee.zelga...@gmail.com:
 Hello, Jim!

 2015-03-15 21:25 GMT+06:00 Jim Charlton char...@gmail.com:
 With the default MacPorts installation of gtk3, one can set XDG_CONFIG_HOME
 to /opt/local/share/themes/Default and then include the gtk.css file with
 .window-frame,
 .window-frame:backdrop {
   box-shadow: none;
   margin: 0;}

 in it, in /opt/local/share/themes/Default/gtk-3.0/gtk.css

 and the margins will disappear on the popup menu boxes avoiding the
 selection problem.  No need to install an alternate theme.
 Please excuse the errors in the previous posting.

 Thank you very much for providing the workaround! This solves the
 problem for my situation, because I can provide modified theme with
 the distributive of our software.

 Just a wild guess:
 It would be interesting to create a custom theme with the following css 
 options:
 .window-frame,
 .window-frame:backdrop {
   box-shadow: 0 0 10px rgba(0,0,0,0.5)
   margin: 15;
 }
 ...and test it in some other OS (Linux and Windows). Maybe the problem
 of insensitive menu will appear there as well!

I have been trying to reproduce the same behaviour on my Linux
workstation, but no luck. I can enable the shadow around the context
menu, but the semi-transparent border isn't appears. Probably this
feature doesn't supported by X11 backend. So I can't debug this issue
in Linux.

I think at this point we can submit a bugreport to GTK bugtracker -
https://bugzilla.gnome.org/index.cgi

Best Regards,
Konstantin
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Fwd: Fwd: Gtk3 MacOS (OSX) context menu issues

2015-03-15 Thread Konstantin Dmitriev
Sorry, forgot to forward my previous message into mailing list. ^__^


-- Forwarded message --
From: Konstantin Dmitriev ksee.zelga...@gmail.com
Date: 2015-03-15 22:32 GMT+06:00
Subject: Re: Fwd: Gtk3 MacOS (OSX) context menu issues
To: Jim Charlton char...@gmail.com


Hello, Jim!

2015-03-15 21:25 GMT+06:00 Jim Charlton char...@gmail.com:
 With the default MacPorts installation of gtk3, one can set XDG_CONFIG_HOME
 to /opt/local/share/themes/Default and then include the gtk.css file with
 .window-frame,
 .window-frame:backdrop {
   box-shadow: none;
   margin: 0;}

 in it, in /opt/local/share/themes/Default/gtk-3.0/gtk.css

 and the margins will disappear on the popup menu boxes avoiding the
 selection problem.  No need to install an alternate theme.
 Please excuse the errors in the previous posting.

Thank you very much for providing the workaround! This solves the
problem for my situation, because I can provide modified theme with
the distributive of our software.

Just a wild guess:
It would be interesting to create a custom theme with the following css options:
.window-frame,
.window-frame:backdrop {
  box-shadow: 0 0 10px rgba(0,0,0,0.5)
  margin: 15;
}
...and test it in some other OS (Linux and Windows). Maybe the problem
of insensitive menu will appear there as well!

Best Regards,
K.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Fwd: Gtk3 MacOS (OSX) context menu issues

2015-03-14 Thread Konstantin Dmitriev
Hello, Jim!

2015-03-14 21:50 GMT+06:00 Jim Charlton char...@gmail.com:
 Hi Konstantin:

 I wrote to the list earlier to say that I could reproduce the problem that
 you have identified.  I am using MAC Yosemite 10.10 in a VirtualBox VM.

 To investigate further, I created a new Yosemite VM and installed MacPorts,
 Xcode, Xcode tools, and then ran port install gtk3 +quartz and port
 install gtkmm3 +quartz.  After this, running the gtk3-demo program showed
 the same problem that you encountered.

 When I look at your YouTube video of the gtk3-demo program, I see that you
 have a different theme than the default compiled Adwaita theme.  I was
 wondering exactly how you installed the dark theme that you were using?

The dark theme is enabled if you set the GTK_THEME environment
variable in the following way:
GTK_THEME=Adwaita:dark

 I have been using gtk3 and gtkmm3 to create software for a coffee roasting
 company.  I note that in my software, I have exactly the same problem that
 you have found.  I just never noticed it before! :-)

 I am not an expert on the Gtk3 and Gtkmm3 libraries.  But maybe if we keep
 working on it, a solution will appear.

Yes, I am not a gtk3 expert a well, but I hope that this issue will
get resolved. At least I hope to attract attention of GTK developers.
^__^

 It would be good to verify that this
 problem occurs on a real MAC and not just on a virtual machine.

I have one report from the user who have experienced the same issue on
the real (non-virtual) machine -
http://www.synfig.org/issues/thebuggenie/synfig/issues/810
But it's better to double-check, of course. I haven't got confirmation
from the bugreporter that the issue is the same...

Also, I can provide the dmg package with the compiled binary, so
anyone can test if the issue happens on the real Mac as well -
http://sourceforge.net/projects/synfig/files/releases/1.0-RC1/osx/synfigstudio-1.0-rc1.dmg/download

BTW, is it OK to forward this message to gtk-app mailing list, maybe
it will be interesting to others?

Best Regards,
Konstantin

 On 15-03-05 09:17 AM, Konstantin Dmitriev wrote:

 2015-03-03 15:01 GMT+06:00 Vest . vest...@gmail.com:

 Hello Konstantin,

 I apologize that I probably cannot help you, but I am curious. Do you
 have
 this issue, if you run a simple demo, where GtkMenu is used?
 Because it seems that when you move the mouse outside of the menu's
 boundaries, something inside the widget is cleared and the menu
 receives
 mouse events again.

 Kind regards,
 Vest

 Hello, Vest!

 Thank you for responding!
 I have tested the gtk3-demo and (surprise!) the issue seems to be
 100%-reproducible there. Here I have recorded a video -
 http://youtu.be/X_xAHhQN_lY
 Have tested this with GTK 3.14.8 and 3.14.9. Also tested on 32bit and
 64bit. Issue persists.

 I have tried to build with X11 backend and issue doesn't happen. So,
 it seems to be Quartz-only.

 I can provide a bash script that I use to unwrap all environment
 (creates MacPorts installation from scratch in the custom location and
 builds our application - Synfig Studio).

 Any help/advice is appreciated.

 Best Regards,
 Konstantin.

 On Sat, Feb 28, 2015 at 12:59 PM, Konstantin Dmitriev
 ksee.zelga...@gmail.com wrote:

 Hello!

 My name is Konstantin Dmitriev, I am a maintainer of Synfig Studio
 open-source animation software.

 Recently we have ported our software from Gtk2 to Gtk3. Unfortunately,
 after that we have encountered issues with context menus on OSX - the
 context menus are become insensitive sometimes. This happens randomly,
 but quite often.

 I have recorded a video to illustrate the problem -
 http://www.youtube.com/watch?v=Cscz45WeFEs

 I am stuck with this issue and don't know how to solve it. Any help,
 hints, suggestions are highly appreciated.

 Some information about the build environment:
 Gtk version 3.14.8, everything built through MacPorts environment.
 Gtk backend type: XQuartz.

 I will be happy to provide any additional information.
 Thank you!

 Konstantin.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Gtk3 MacOS (OSX) context menu issues

2015-03-11 Thread Konstantin Dmitriev
2015-03-11 5:16 GMT+06:00 Jim Charlton char...@gmail.com:
 Just to keep the ball rolling on this...  I tested the gtk3-demo code on a
 jhbuild of gtk+-3.14.5 on a MAC Yosemite 10.10 (virtual machine).  I get the
 same result as Konstantin.  I am compiling with XQuartz.

 Funny enough, I had a similar problem with an earlier version of gtk-3
 (3.10.7).  In that case, GtkButtons that were in a window that also
 contained gtkEntry boxes would not respond to cursor unless the cursor was
 moved out ot the window first... or one of the entry boxes was first
 clicked.  But the binary of the compiled code ran fine when it was installed
 (with the gtk libraries on another machine.  Go figure...??  Certainly
 something strange going on.

 jim...   Jim Charlton

Hello, Jim!

Thank you for the input!It's good to know that the issue is not
related to my MacPorts environment.
I also would like to mention that all my tests were made in virtual
machine as well.

Best Regards,
K.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Gtk3 MacOS (OSX) context menu issues

2015-03-05 Thread Konstantin Dmitriev
2015-03-03 15:01 GMT+06:00 Vest . vest...@gmail.com:
 Hello Konstantin,

 I apologize that I probably cannot help you, but I am curious. Do you have
 this issue, if you run a simple demo, where GtkMenu is used?
 Because it seems that when you move the mouse outside of the menu's
 boundaries, something inside the widget is cleared and the menu receives
 mouse events again.

 Kind regards,
 Vest

Hello, Vest!

Thank you for responding!
I have tested the gtk3-demo and (surprise!) the issue seems to be
100%-reproducible there. Here I have recorded a video -
http://youtu.be/X_xAHhQN_lY
Have tested this with GTK 3.14.8 and 3.14.9. Also tested on 32bit and
64bit. Issue persists.

I have tried to build with X11 backend and issue doesn't happen. So,
it seems to be Quartz-only.

I can provide a bash script that I use to unwrap all environment
(creates MacPorts installation from scratch in the custom location and
builds our application - Synfig Studio).

Any help/advice is appreciated.

Best Regards,
Konstantin.

 On Sat, Feb 28, 2015 at 12:59 PM, Konstantin Dmitriev
 ksee.zelga...@gmail.com wrote:

 Hello!

 My name is Konstantin Dmitriev, I am a maintainer of Synfig Studio
 open-source animation software.

 Recently we have ported our software from Gtk2 to Gtk3. Unfortunately,
 after that we have encountered issues with context menus on OSX - the
 context menus are become insensitive sometimes. This happens randomly,
 but quite often.

 I have recorded a video to illustrate the problem -
 http://www.youtube.com/watch?v=Cscz45WeFEs

 I am stuck with this issue and don't know how to solve it. Any help,
 hints, suggestions are highly appreciated.

 Some information about the build environment:
 Gtk version 3.14.8, everything built through MacPorts environment.
 Gtk backend type: XQuartz.

 I will be happy to provide any additional information.
 Thank you!

 Konstantin.
 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Gtk3 MacOS (OSX) context menu issues

2015-02-28 Thread Konstantin Dmitriev
Hello!

My name is Konstantin Dmitriev, I am a maintainer of Synfig Studio
open-source animation software.

Recently we have ported our software from Gtk2 to Gtk3. Unfortunately,
after that we have encountered issues with context menus on OSX - the
context menus are become insensitive sometimes. This happens randomly,
but quite often.

I have recorded a video to illustrate the problem -
http://www.youtube.com/watch?v=Cscz45WeFEs

I am stuck with this issue and don't know how to solve it. Any help,
hints, suggestions are highly appreciated.

Some information about the build environment:
Gtk version 3.14.8, everything built through MacPorts environment.
Gtk backend type: XQuartz.

I will be happy to provide any additional information.
Thank you!

Konstantin.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list