ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] aspect ratios...


From: Jérémie Courrèges -Anglas
Subject: Re: [RP] aspect ratios...
Date: Tue, 29 Jan 2013 22:46:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (berkeley-unix)

Greg Minshall <address@hidden> 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

Attachment: pgpnrC5qFIraM.pgp
Description: PGP signature


reply via email to

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