Gregory John Casamento | 19 Mar 15:52 2012
Picon

[bug #35901] Border appearing around some windows...

URL:
  <http://savannah.gnu.org/bugs/?35901>

                 Summary: Border appearing around some windows...
                 Project: GNUstep
            Submitted by: gcasa
            Submitted on: Mon 19 Mar 2012 10:52:03 AM EDT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

For some reason I am seeing a black border around some windows, please see
attached.

GC

    _______________________________________________________

File Attachments:

-------------------------------------------------------
(Continue reading)

Gregory John Casamento | 19 Mar 15:52 2012
Picon

[bug #35901] Border appearing around some windows...

Update of bug #35901 (project gnustep):

                Category:                    None => Gui/AppKit             
                Severity:              3 - Normal => 4 - Important          
              Item Group:                    None => Bug                    

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35901>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Eric Wasylishen | 19 Mar 20:26 2012
Picon

[bug #35901] Border appearing around some windows...

Follow-up Comment #1, bug #35901 (project gnustep):

This is a deep flaw in the way styleoffsets work in back/x11...

Here's the rundown as far as I understand:

The ivar underlying -[NSWindow frame] is supposed to include the window
border, so you can position a window with its frame perfectly aligned with the
bottom-left corner of the screen by doing [window setFrame: NSMakeRect(0, 0,
w, h)]. Problem is, x11 is not designed to let you do that - the frame is
controlled by the window manager. You can see there's a potential race
condition here: if the frame size is stored in the applications process as
part of the window's frame var, but the actual frame size is determined by the
window manager in another process, we have to be very careful that
disagreements over the dimensions of the frame don't clobber the window
contents size (as is happening here.)

In particular the calls to [self styleoffsets:] in XGServerWindow.m are
certainly incorrect, because they make a call to the X server and mix those
freshly returned values with the NSWindow's frame.

The code needs to be redesigned so that the content size of a window can
_never_ be messed up.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35901>

(Continue reading)

Fred Kiefer | 8 Apr 20:36 2012
Picon

[bug #35901] Border appearing around some windows...

Follow-up Comment #2, bug #35901 (project gnustep):

Eric, I don't wuite understand your argument here. I would not be too
surprised to learn that we have a specific problem here, but you claim that
the whole concept is broken and I don't see that.

Could it be that you missed the point that we also get back the real window
size from X via events?

The functionality is what you describe, we need to set and get the actual
window size from GNUstep allthough this gets managed by a window manager and
things happen asynchoniously between these two.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35901>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/
Fred Kiefer | 4 May 17:22 2012
Picon

[bug #35901] Border appearing around some windows...

Follow-up Comment #3, bug #35901 (project gnustep):

Greg, could you please provide information on how to reproduce this problem?

Which application are you using (gorm I presume), on what platform and with
which window manager?

Most likely the code that computes the window border is incorrect for your
window manager and we end up with space around the window neither used by the
window manager nor by GNUstep.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35901>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/
Gregory John Casamento | 6 May 03:16 2012
Picon

[bug #35901] Border appearing around some windows...

Follow-up Comment #4, bug #35901 (project gnustep):

The way to reproduce it was simply to start up any app.  You would see the
issue in any window belonging to the application.  I was testing with Gorm and
Ink.

As of now, however, I'm not seeing this issue anymore.  Which makes me wonder
if it was an issue with my configuration or something.   I haven't seen it for
a couple of weeks now.  I don't know what changed to correct the issue.  If it
happens again it's okay to re-open this bug, but for now I think I will go
ahead and close it unless an argument can be made to keep it open.   

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35901>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Germán Arias | 6 May 07:23 2012
Picon

[bug #35901] Border appearing around some windows...

Follow-up Comment #5, bug #35901 (project gnustep):

However there are problems with in-window menu in some apps. See attached
image of MyGL.app running on Xfce with Silver theme. At launch, the menu isn't
displayed and an empty bar is displayed at bottom. You needs resize the window
to display the menu. 

(file #25798)
    _______________________________________________________

Additional Item Attachment:

File name: capturaMyGL.jpg                Size:77 KB

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35901>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
Fred Kiefer | 6 May 14:49 2012
Picon

[bug #35901] Border appearing around some windows...

Update of bug #35901 (project gnustep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #6:

I am closing this bug as requested by the original author.

German, could you please file a new bug report for your problem, which seems
to be completely unrelated to the original issue?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35901>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/

Gmane