Re: Windows created have weird dimensions on Debian with Fluxbox
Matt Banack <[email protected]> Tue, 14 Jun 2022 16:12:00 -0500
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <CAEf0pqBzZX1hBjYTacKOc_Vv1TT6i_VpP-oBLB-pmzFrpA_0GA@mail.gmail.com> |
--===============6766384584304406354==
Content-Type: multipart/alternative; boundary="000000000000aa07fc05e16edbc5"
--000000000000aa07fc05e16edbc5
Content-Type: text/plain; charset="UTF-8"
Hi Peter,
You can look into ~/.fluxbox/apps (`man fluxbox-apps`) to set default
dimensions for a certain window. Matching is done with xprop properties,
ie name= and class=... run `xprop` from a terminal and point it at the
window in question to confirm the prop values. You'll want something like:
[app] (name=scide)
[Dimensions] {400 400}
[Position] (CENTER) {0% 0%}
[end]
It's possible scide is doing something odd to try to change its own window
dimensions after it opens the window, in which case the apps solution may
or may not work. Best of luck :)
Matt
On Sat, Jun 11, 2022 at 12:36 AM Peter P. <[email protected]> wrote:
> Hi list,
>
> Windows created in the program "Supercollider" (Debian package
> supercollider, binary scide) are displayed only with their title bar, and
> this
> bar has very large horizontal dimensions, reaching beyond my desktop
> borders. The wmctl utility reports the dimensions 65535x65535 for this
> window:
> $ wmctl -l -G
> [...]
> 0x0100001d 0 60 100 65535 65535 zoot localhost Node Tree
> This happens to other windows of the same program too.
>
> I can only get to see this window's contents by maximizing it,
> which does not allow me to work at this programs main window at the same
> time.
>
> This does not happen with, say, openbox. There the window has the
> correct geometry of 400x400 there.
> $ wmctl -l -G
> [...]
> 0x00a00025 0 5 40 400 400 zoot localhost Node Tree
>
> I can resize the weird window in fluxbox with the same wmctl command
> $ wmctrl -r localhost -e 0,0,0,400,400
> which makes it display normally. However, if I close and open it again
> it is back at 65535x65535.
>
> I'd be happy to learn about all possible sources for this problem,
> thank you so much!
> Peter
>
>
> _______________________________________________
> Fluxbox-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fluxbox-users
>
--000000000000aa07fc05e16edbc5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi Peter,<div><br></div><div>You can look into ~/.fluxbox/=
apps (`man fluxbox-apps`) to set default dimensions for a certain window.=
=C2=A0 Matching is done with xprop properties, ie name=3D and class=3D... r=
un `xprop` from a terminal and point it at the window in question to confir=
m the prop values.=C2=A0 You'll want something like:</div><div><br></di=
v><div>[app] (name=3Dscide)</div><div>=C2=A0 [Dimensions] {400 400}</div><d=
iv>=C2=A0 [Position] (CENTER) {0% 0%}</div><div>[end]</div><div><br></div><=
div>It's possible scide is doing something odd to try to change its own=
window dimensions after it opens the window, in which case the apps soluti=
on may or may not work.=C2=A0 Best of luck :)</div><div><br></div><div>Matt=
</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_=
attr">On Sat, Jun 11, 2022 at 12:36 AM Peter P. <<a href=3D"mailto:peter=
[email protected]">[email protected]</a>> wrote:<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex">Hi list,<br>
<br>
Windows created in the program "Supercollider" (Debian package<br=
>
supercollider, binary scide) are displayed only with their title bar, and t=
his<br>
bar has very large horizontal dimensions, reaching beyond my desktop<br>
borders. The wmctl utility reports the dimensions 65535x65535 for this<br>
window:<br>
=C2=A0$ wmctl -l -G <br>
=C2=A0[...]<br>
=C2=A00x0100001d=C2=A0 0 60=C2=A0 =C2=A0100=C2=A0 65535 65535 zoot localhos=
t Node Tree<br>
This happens to other windows of the same program too.<br>
<br>
I can only get to see this window's contents by maximizing it,<br>
which does not allow me to work at this programs main window at the same ti=
me. <br>
<br>
This does not happen with, say, openbox. There the window has the<br>
correct geometry of 400x400 there.<br>
=C2=A0$ wmctl -l -G <br>
=C2=A0[...]<br>
=C2=A00x00a00025=C2=A0 0 5=C2=A0 =C2=A0 40=C2=A0 =C2=A0400=C2=A0 400=C2=A0 =
zoot localhost Node Tree<br>
<br>
I can resize the weird window in fluxbox with the same wmctl command<br>
=C2=A0$ wmctrl -r localhost -e 0,0,0,400,400<br>
which makes it display normally. However, if I close and open it again<br>
it is back at 65535x65535.<br>
<br>
I'd be happy to learn about all possible sources for this problem,<br>
thank you so much!<br>
Peter<br>
<br>
<br>
_______________________________________________<br>
Fluxbox-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Fl=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/fluxbox-users" rel=
=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listi=
nfo/fluxbox-users</a><br>
</blockquote></div>
--000000000000aa07fc05e16edbc5--
--===============6766384584304406354==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============6766384584304406354==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Fluxbox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
--===============6766384584304406354==--