[Top][All Lists]

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

[XBoard-devel] Fwd: Fwd: [BUG] Board size is only correctly calculated o

From: Arun Persaud
Subject: [XBoard-devel] Fwd: Fwd: [BUG] Board size is only correctly calculated on a resize event in i3wm
Date: Fri, 1 Apr 2016 21:40:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0


Let's see if this works... I got the following email, which seems to
have some issues with inline images (at least that's my guess) and
xboard-devel. Images are therefore attached.


From: *Adrian Petrescu* <address@hidden <mailto:address@hidden>>
Date: Wed, Mar 30, 2016 at 12:30 PM
Subject: [BUG] Board size is only correctly calculated on a resize event
in i3wm
To: "address@hidden <mailto:address@hidden>"
<address@hidden <mailto:address@hidden>>

Hey everyone,

I'm using (GTK) xboard on i3wm, a tiling window manager
(https://i3wm.org/). When a new application is started in i3wm, it
splits the screen into two and gives the new window the newly-allocated
space. xboard appears to have some sort of unfortunate interaction with
this: when it is started up in i3wm, the GTK window itself correctly
fills the space, but the actual board pixmaps occupy a small corner of
it - at least UNTIL any sort of resize event happens (say, by manually
dragging the side of the window by even 1px) at which point the board
size is correctly recalculated and the board fills the window.

Here's a screenshot example: here's a brand new xboard window:
Inline image 1
And here it is after I've resized the xboard window by about 1 pixel:
Inline image 2

I figure it's a matter of i3wm (perhaps incorrectly) invoking a
window-creation callback at the wrong time, before it's correctly
computed the space available, so xboard doesn't know it's full
dimensions until later. But then again, no other app I use with i3wm
exhibits a similar bug, so maybe it can be fixed on just xboard's side.

Let me know if I can provide any other details :)


Attachment: image2.png
Description: PNG image

Attachment: image.png
Description: PNG image

reply via email to

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