discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bugs in gui/back


From: Andreas Höschler
Subject: Re: Bugs in gui/back
Date: Mon, 23 Apr 2018 15:21:37 +0200

Hi Fred,

It is easy to inspect these numbers as GNUstep stores them on the root
window as properties.
 xprop -root _GNUSTEP_FRAME_OFFSETS

I typed this command in the shell I use to start the app directly after a reboot of the machine. It said

_GNUSTEP_FRAME_OFFESTS: no such atom on any window

I then started the app for the first time after a reboot and reexecuted the above command. It then said

_GNUSTEP_FRAME_OFFSETS(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

Every group of four values belongs to a window style. If you see zeros
or negative values here this might point to invalid numbers. In that
case you should remove these values with the following command:
xprop -root _GNUSTEP_FRAME_OFFSETS

That's the exact same command as above? Is this correct?

And start up a GNUstep applications, which will then try to recompute
the values. If we are lucky this will already remove the issue. If it
persists I will have to investigate a bit more what is going on.

Unfortunately this had no effect. The app still misbehaves. :-(

Starting the app gives

2018-04-23 15:19:39.762 TabTest[4137:4137] Setting contentView <GSVBox: 0x1eba168>
2018-04-23 15:19:39.763 TabTest[4137:4137] setFrame {x = 0; y = 0; width = 85; height = 53} - <GSVBox: 0x1eba168>
2018-04-23 15:19:39.770 TabTest[4137:4137] setFrame {x = 140; y = 439; width = 85; height = 217} display 0
2018-04-23 15:19:39.772 TabTest[4137:4137] setFrame {x = 0; y = 0; width = 85; height = 217} - <GSVBox: 0x1eba168>
2018-04-23 15:19:39.774 TabTest[4137:4137] setFrame {x = 0; y = 0; width = 85; height = 217} - <GSVBox: 0x1eba168>
2018-04-23 15:19:39.775 TabTest[4137:4137] setFrame {x = 140; y = 439; width = 85; height = 217} display 0
2018-04-23 15:19:39.782 TabTest[4137:4137] setFrame {x = 140; y = 439; width = 85; height = 217} display 0

Grabbing the corner of the window (not yet significantly resized) produces

2018-04-23 15:19:44.815 TabTest[4137:4137] setFrame {x = 0; y = 0; width = 85; height = 248} - <GSVBox: 0x1eba168>
2018-04-23 15:19:44.815 TabTest[4137:4137] setFrame {x = 0; y = 0; width = 85; height = 248} - <GSVBox: 0x1eba168>
2018-04-23 15:19:44.863 TabTest[4137:4137] setFrame {x = 0; y = 0; width = 85; height = 247} - <GSVBox: 0x1eba168>
2018-04-23 15:19:44.863 TabTest[4137:4137] setFrame {x = 0; y = 0; width = 85; height = 247} - <GSVBox: 0x1eba168>

Thanks,

 Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]