Re: Window geometry differences

2010-05-22 Thread Thomas Adam
On Fri, May 21, 2010 at 03:23:24PM -0500, Adam Croft wrote:
> Configuration Information [Automatically generated, do not change]:
> uname: Linux redwood 2.6.27.7-smp #2 SMP Thu Nov 20 22:32:43 CST 2008 i686
> Intel
> (R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz GenuineIntel GNU/Linux
> compiler flags: gcc -Wall -Wno-implicit-int -g -O2
> 
> FVWM Version:   2.5.28
> FVWM_MODULEDIR: /usr/libexec/fvwm/2.5.28
> FVWM_DATADIR:   /usr/share/fvwm
> FVWM_USERDIR:   /home/adam/.fvwm
> 
> Description:
> I get conflicting window geometry between FvwmIdent and WindowList.
> Specifically, I get a one pixel difference in the height and width values.
> For example, my maximize function resizes a window to 1024x768. If I invoke
> WindowList on a maximized window, the reported geometry is 1023x767+678+73.
> I get the same geometry in FvwmIdent on the Geometry: label, but get the
> correct height and width values on the Height: and Width: labels. When I run
> xwininfo on the same window, the reported geometry is 1024x768+678+73.

Yes -- I assume you have "Style foo ResizeHintOverride" -- which WindowList
isn't correctly interpolating.

Expect a fix in FVWM CVS shortly.

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.



Re: Window geometry differences

2010-05-22 Thread Adam Croft
Thanks for getting back so quickly. I'm not using ResizeHintOverride.
Perhaps I have something else in my config which is causing the issue. I did
try CVS as you asked and still have the issue. My config file is attached in
case you want to see where the problem might be.

BTW, I've enjoyed reading your contributions to FVWM over the years. It's
helped me get more out of FVWM. Thanks a lot.

Adam

On Sat, May 22, 2010 at 11:57 AM, Thomas Adam  wrote:

> On Fri, May 21, 2010 at 03:23:24PM -0500, Adam Croft wrote:
> > Configuration Information [Automatically generated, do not change]:
> > uname: Linux redwood 2.6.27.7-smp #2 SMP Thu Nov 20 22:32:43 CST 2008
> i686
> > Intel
> > (R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz GenuineIntel GNU/Linux
> > compiler flags: gcc -Wall -Wno-implicit-int -g -O2
> >
> > FVWM Version:   2.5.28
> > FVWM_MODULEDIR: /usr/libexec/fvwm/2.5.28
> > FVWM_DATADIR:   /usr/share/fvwm
> > FVWM_USERDIR:   /home/adam/.fvwm
>
> Sorry for the delay -- just pushed a fix for this, if you'd be so kind as
> to
> try FVWM CVS, please?
>
> -- Thomas Adam
>
> --
> "It was the cruelest game I've ever played and it's played inside my head."
> -- "Hush The Warmth", Gorky's Zygotic Mynci.
>


adam_config
Description: Binary data


Re: Window geometry differences

2010-05-23 Thread Thomas Adam
On Sun, May 23, 2010 at 12:06:57AM -0500, Adam Croft wrote:
> Thanks for getting back so quickly. I'm not using ResizeHintOverride.

OK, well it was still a bug which would have reported a width/height of:

80x24

to always be 80x24, even though the window was 79x23, due to ignoring resize
increments.  That's the only bug it could have been, given the way you
described it originally.

> Perhaps I have something else in my config which is causing the issue. I did
> try CVS as you asked and still have the issue. My config file is attached in
> case you want to see where the problem might be.

Are you sure you were using the CVS version (/usr/local/bin/fvwm versus
/usr/bin/fvwm)?  Given your config, can you tell me what applications I need
to load to exhibit this problem?

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.



Re: Window geometry differences

2010-05-23 Thread Thomas Adam
On Fri, May 21, 2010 at 03:23:24PM -0500, Adam Croft wrote:
> Configuration Information [Automatically generated, do not change]:
> uname: Linux redwood 2.6.27.7-smp #2 SMP Thu Nov 20 22:32:43 CST 2008 i686
> Intel
> (R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz GenuineIntel GNU/Linux
> compiler flags: gcc -Wall -Wno-implicit-int -g -O2
> 
> FVWM Version:   2.5.28
> FVWM_MODULEDIR: /usr/libexec/fvwm/2.5.28
> FVWM_DATADIR:   /usr/share/fvwm
> FVWM_USERDIR:   /home/adam/.fvwm

Sorry for the delay -- just pushed a fix for this, if you'd be so kind as to
try FVWM CVS, please?

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.



Re: Window geometry differences

2010-05-23 Thread Adam Croft
Yeah, I'm fairly sure it's CVS. I completely removed the existing fvwm
package and reinstalled CVS. This is the output from fvwm -V:

~$ fvwm -V
fvwm 2.5.31 (from cvs) compiled on May 22 2010 at 23:44:58
with support for: ReadLine, RPlay, XPM, PNG, SVG, Shape, XShm, SM, Bidi
text, Xinerama, XRender, XCursor, XFT, NLS

Now that I'm checking all the apps I use, it seems Firefox is really the
only one exhibiting the problem. I swear I've seen it happen with other
applications, but can't reproduce it now.

Adam

On Sun, May 23, 2010 at 5:31 AM, Thomas Adam  wrote:

> On Sun, May 23, 2010 at 12:06:57AM -0500, Adam Croft wrote:
> > Thanks for getting back so quickly. I'm not using ResizeHintOverride.
>
> OK, well it was still a bug which would have reported a width/height of:
>
> 80x24
>
> to always be 80x24, even though the window was 79x23, due to ignoring
> resize
> increments.  That's the only bug it could have been, given the way you
> described it originally.
>
> > Perhaps I have something else in my config which is causing the issue. I
> did
> > try CVS as you asked and still have the issue. My config file is attached
> in
> > case you want to see where the problem might be.
>
> Are you sure you were using the CVS version (/usr/local/bin/fvwm versus
> /usr/bin/fvwm)?  Given your config, can you tell me what applications I
> need
> to load to exhibit this problem?
>
> -- Thomas Adam
>
> --
> "It was the cruelest game I've ever played and it's played inside my head."
> -- "Hush The Warmth", Gorky's Zygotic Mynci.
>


Re: Window geometry differences

2010-05-23 Thread Thomas Adam
On Sun, May 23, 2010 at 12:24:18PM -0500, Adam Croft wrote:
> Now that I'm checking all the apps I use, it seems Firefox is really the
> only one exhibiting the problem. I swear I've seen it happen with other
> applications, but can't reproduce it now.

No idea then -- works fine here after my fix.

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.