Re: xv confused under quartz-wm?
Re: xv confused under quartz-wm?
- Subject: Re: xv confused under quartz-wm?
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 27 Jan 2009 13:35:06 -0800
Is xv's "M" / "maxpect" or whatever supposed to hide the title bar?
How is it requesting that? quartz-wm should respect the "no titlebar"
WM hints. I can run firefox in fullscreen and see Gimp's splash
screen for example.
If "maxpect" is supposed to still show the titlebar, then how is it
trying to request the titlebar and border sizes from the WM? It
should be able to figure that out when it's sent a ConfigureNotify
after its ConfigureRequest and then form a new ConfigureRequest with
the delta factored in.
On Jan 27, 2009, at 13:24, Don Lanini wrote:
Greetings,
Does anyone still use xv for images? I've used it on a variety of
platforms since the 1980's but have found it slightly confused when
it runs
under OSX. Bear with me if you're interested (especially if you
actually do
use xv since this may also be your problem).
Basic setup:
OSX: 10.5.6
XQuartz: 2.3.2 (xorg-server 1.4.2-apple31), [the 2.3.2.1 release]
Apple Cinema display: 1680 x 1050
xv: 3.10a+jumbofix+yada+yada
image: (jpg of family vacation): 2048 x 1536
(you can substitute your own to test :-)
Total screen height: 1050 pixels
Apple menu bar: 22 pixels
xv (Quartz) title bar 22 pixels
============
remaining screen size 1006 pixels
Obviously, I can't display the entire image at full resolution, and
xv tries to
do the 'right' thing by shrinking the image down to a size that
(nearly) fits
on the screen while maintaining the proper aspect ratio.
xv image: 1371 x 1028
The "1028" is the problem since everything between 1006 and 1028 are
'below'
the visible screen. XV seems to understand that the X11 window is
only 1028
high, but it isn't taking into consideration its title bar so 22
pixels are not
visible. If I shrink the image say by 10% (using xv's "," command),
I see the
missing pixels (along with everyone's feet :-).
Furthermore, if I take *any* image and "maxpect" it (xv's "M"
command), it will
use 1028 as the height and thus 'hide' 22 pixels of any/all images.
As a test, I tried using "twm" instead of "quartz-wm" and it worked
perfectly... except that xv then had no title bar at all (probably
why it
worked perfectly).
So how can I get xv to display the entire image yet still have a
title bar?
I'd be thrilled with work-arounds (munging the -root window's
geography or even
modifying xv source), but I'm hoping for a solution that will work
simply and
easily with the 12+ Mac's I use from day to day.
I tried sending this in to bug-reports, but was told (marginally
politely) that
that that wasn't a forum. So this is a forum, right?
Thanks for any ideas. I do hope that someone still knows what xv is.
/d
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden