Re: In-window menu black bar in Xfce

2012-04-07 Thread Germán A. Arias
Is really necessary add the border in the frame? I think that no if
GSBackHandlesWindowDecoration is set to yes.  Anyway, this don't should
be a problem because the AppIcons and Miniwindows don't have borders.
Or I think so.

El Sat, 7 Apr 2012 14:10:33 -0600
Eric Wasylishen  escribió:
> Sounds like it might be this bug:
> https://savannah.gnu.org/bugs/?35901
> 
> -Eric
> 
> On 2012-04-07, at 7:02 AM, Germán A. Arias wrote:
> 
> > El Fri, 6 Apr 2012 23:26:00 -0600
> > "Germán A. Arias"  escribió:
> >> With current SVN I have a problem with in-window menu when the
> >> window use frame from string. In Gemas.app you can set the size of
> >> the editor. If you change the height, the next time you open gemas
> >> the menu is wrong. A black bar appears above the menu. You need
> >> resize the window to correct this. This is in Xfce. I don't know
> >> if this is a current problem, since in Gnome I don't had this
> >> problem. But seems like when the window is redraw this is done in
> >> a wrong way. I get the frame and put it in the window from the
> >> -awakeFromNib: method. Because the last time I try do it from the
> >> gorm file don't worked.
> > 
> > Seems like change the size at -awakeFromNib at document class isn't
> > a good idea. But moving the corresponding code to the delegate
> > method -winwodDidBecomeMainWindow: solve the problem. So I think
> > that is important remember that any change in the size of a window
> > that can display a menu, should be done after it become the main
> > window.
> > 
> > ___
> > Gnustep-dev mailing list
> > Gnustep-dev@gnu.org
> > https://lists.gnu.org/mailman/listinfo/gnustep-dev
> 
> 
> ___
> Gnustep-dev mailing list
> Gnustep-dev@gnu.org
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: In-window menu black bar in Xfce

2012-04-07 Thread Eric Wasylishen
Sounds like it might be this bug:
https://savannah.gnu.org/bugs/?35901

-Eric

On 2012-04-07, at 7:02 AM, Germán A. Arias wrote:

> El Fri, 6 Apr 2012 23:26:00 -0600
> "Germán A. Arias"  escribió:
>> With current SVN I have a problem with in-window menu when the window
>> use frame from string. In Gemas.app you can set the size of the
>> editor. If you change the height, the next time you open gemas the
>> menu is wrong. A black bar appears above the menu. You need resize
>> the window to correct this. This is in Xfce. I don't know if this is
>> a current problem, since in Gnome I don't had this problem. But seems
>> like when the window is redraw this is done in a wrong way. I get the
>> frame and put it in the window from the -awakeFromNib: method.
>> Because the last time I try do it from the gorm file don't worked.
> 
> Seems like change the size at -awakeFromNib at document class isn't
> a good idea. But moving the corresponding code to the delegate method
> -winwodDidBecomeMainWindow: solve the problem. So I think that is
> important remember that any change in the size of a window that can
> display a menu, should be done after it become the main window.
> 
> ___
> Gnustep-dev mailing list
> Gnustep-dev@gnu.org
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: In-window menu black bar in Xfce

2012-04-07 Thread Germán A. Arias
El Fri, 6 Apr 2012 23:26:00 -0600
"Germán A. Arias"  escribió:
> With current SVN I have a problem with in-window menu when the window
> use frame from string. In Gemas.app you can set the size of the
> editor. If you change the height, the next time you open gemas the
> menu is wrong. A black bar appears above the menu. You need resize
> the window to correct this. This is in Xfce. I don't know if this is
> a current problem, since in Gnome I don't had this problem. But seems
> like when the window is redraw this is done in a wrong way. I get the
> frame and put it in the window from the -awakeFromNib: method.
> Because the last time I try do it from the gorm file don't worked.

Seems like change the size at -awakeFromNib at document class isn't
a good idea. But moving the corresponding code to the delegate method
-winwodDidBecomeMainWindow: solve the problem. So I think that is
important remember that any change in the size of a window that can
display a menu, should be done after it become the main window.

___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


In-window menu black bar in Xfce

2012-04-06 Thread Germán A. Arias
With current SVN I have a problem with in-window menu when the window
use frame from string. In Gemas.app you can set the size of the editor.
If you change the height, the next time you open gemas the menu is
wrong. A black bar appears above the menu. You need resize the window
to correct this. This is in Xfce. I don't know if this is a current
problem, since in Gnome I don't had this problem. But seems like when
the window is redraw this is done in a wrong way. I get the frame and
put it in the window from the -awakeFromNib: method. Because the
last time I try do it from the gorm file don't worked.

___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev