New windows are overly large - Linux - Aseprite 1.3 beta1-4

I started seeing what might be causing this issue, and here some explanation (in this case for palette popup):

  • When we open the palette popup, it tries to use some space of the “workarea” (width/2, height*2/3)
  • That “workarea” is given by a fit_bounds() function
  • On Linux/X11, fit_bounds() gets the workarea from the _NET_WORKAREA property of the root window, which it looks like includes the workarea of all monitors/screens (because the property doesn’t depend on a specific screen). I think here is the issue in our case, we should get the workarea of one specific screen in this case (as it does on Windows and macOS).
1 Like