Cloudef / orbment

Modular Wayland compositor
Other
246 stars 16 forks source link

Sometimes, Firefox renders only half of its surface width, with borders on both sides #73

Closed linkmauve closed 9 years ago

linkmauve commented 9 years ago

It behaves exactly as if it was stacked to the left side, except centered and with black borders on the left and on the right. In this state it works fine, but only forcing a resize would make it recover, switching windows doesn’t. I’m not sure how to reproduce this one, it looks quite racy.

ld-cd commented 9 years ago

This is caused when it closes with a window open next to it so its at half size. To fix just hit mod+f twice to put it into and take it out of fullscreen On Mar 17, 2015 6:09 PM, "linkmauve" notifications@github.com wrote:

It behaves exactly as if it was stacked to the left side, except centered and with black borders on the left and on the right. In this state it works fine, but only forcing a resize would make it recover, switching windows doesn’t. I’m not sure how to reproduce this one, it looks quite racy.

— Reply to this email directly or view it on GitHub https://github.com/Cloudef/loliwm/issues/73.

linkmauve commented 9 years ago

If its non-fullscreen surface size is the same as its fullscreen one, mod+f doesn’t fix that issue.

ld-cd commented 9 years ago

I think your right, but right now I can't get firefox to display wrong so I can't confirm

If its non-fullscreen surface size is the same as its fullscreen one, mod+f doesn’t fix that issue.

— Reply to this email directly or view it on GitHub https://github.com/Cloudef/loliwm/issues/73#issuecomment-82694954.

Cloudef commented 9 years ago

This is caused by wlc rendering with different size that client has buffer for. When this happens, X11 and shell-surfaces have black borders, but xdg-surfaces are just scaled. Most likely resize isn't commited correctly. (States like these are double buffered)

Same issue most likely causes bemenu to not appear sometimes.

Cloudef commented 9 years ago

Bemenu appearing was related to #71, this is most likely different issue.