Re: aspect ratios...

[email protected] (Jérémie Courrèges -Anglas)
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <[email protected]>
Greg Minshall <[email protected]> writes:

> hi.  i'm a long-time (and mostly silent) ratpoison user.  in general,
> i'm very happy with it.  (thus, long time, mostly silent...)

Hi,

> but, whenever i'm doing anything graphical, i tend to get annoyed.  for
> example, i'll output a graphic in R.  when i *first* switch to the
> window with the graphic, the graphic itself is the right aspect ratio,
> living in a small part of a window which itself fills up whatever frame
> it is in.  if i then hit some key, the graphic grows to fill up the
> frame, changing its aspect ratio.

I'd find this rather annoying. :)

> similar aspect ratio badness happens in other cases.  (below is a simple
> gnuplot script; the circles should circles, not ellipses.)
>
> i see there is something called an "aspect ratio hint" an application
> could give, that might cause ratpoison to honor that.  but, given the
> number of applications that have this problem, i wonder if there is
> something we could do?  i was thinking of something like "unmanaged",
> but still manage the windows, but keep the aspect ratio as (implicitly?
> (*)) specified by the application.  i.e., the window would have the
> largest size possible within the frame given the aspect ratio wanted by
> the application.
>
> any thoughts?

My understanding is that the application should be responsible for
specifying desired aspect ratio, using the XSizeHints structure fields
named {min,max}_aspect.{x,y}. ratpoison has code to handle this since
version 1.4.0.  A quick look at the gnuplot source (version 4.4) tells
me that gnuplot doesn't use this to manage the window size.

Maybe you should report this problem to the gnuplot developers (if no
one hasn't done so before)?

Regards,
-- 
Jérémie Courrèges-Anglas
GPG Key Fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494

_______________________________________________
Ratpoison-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ratpoison-devel
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (OpenBSD)

iQIcBAEBCgAGBQJRCENHAAoJEGGRj78GoRSUq3AP/jHlsUPNThhS/5Vcug1jojjc
cGHAc5L0seYP9HUipkp8n/xsCNImP/1gqjVgXzOr2RYk9+EXiYuSCQNuIJy2Hta6
VYHW1KIObQCqTyeA43VA1lvWGuBTbWtPgWvbSxTyKhgCQfE9cXAt1s9xNxoqlf+V
Bz5BY48Fcm9lpi5WFVOwWneDxYTvoR6avjhGAI41rWtI6hqkAO8s13+LnynrPGSE
ug0iK9SJZ3eCLksh2YJj2Hv09pFnB8A6KgNpVw/9yTGMeS2ZW36vXVFXTXGul0K4
PUxQb7dsYxH3+qvSMvTYig69LaEg0Zd5AWjV+DW2sg5CvkBWTqB9aB+IggoEBt4R
z3+asqXrObQ+xrVTpcygq36MbJgS2dwFaKr6xyRj+Gigg6X6mKfHbQI9GeMXX1Ga
BuDoA6++KmEgtnwHBDpXNJ8Xzm7JkAiE93WbnsfB5X/fEFb/VP7M+wCJ/XqRzEG/
QZfmcSAlpT0oCswOvvj2zpF/gyR0WaE8VUUGMw8fuVDHMS0i5yQYiXTpacguht6V
U0pi/3P71Gi4EqUuZV1TyrVKtsc9hlHUX2wYt501rmQAhuEWncEwF7d0psCkXJTM
R5dONefqv3ciqT81LMDkuAVdj9EYep5KZLmXn7aGe12m6J/TWdpvpKp32TCOZXip
4GnTAEqNTLmUjsF+Qp0+
=zx2K
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.