It's the font processing. I ran into the same issue before. Try choosing
different fonts/sizes for the title bar text and see if that helps.
Wayne
On 7/6/20 7:23 PM, Aaron Sloman wrote:
I wrote:
Anyhow it is now working with the reduced windows partition and more
linux
space, but I seem to have done something to make ctwm use much taller
title-bars than previously, and I cannot find anything in .ctwmrc that
controls that.
I now attach a composite picture showing the two appearances (taken on
the two machines, then images combined).
The top half shows the 'good' appearance of an xterm window on my old
desktop running F29. The lower half shows the 'bad' appearance on the
laptop running F31.
As far as I know all my relevant settings are the same on both machines,
and they are running the same version of ctwm. The .ctwmrc entries are
somewhat redundant -- relics of earlier experiments, but I can't find
any entries that could be relevant to the display problems.
Relevant entries in .ctwmrc for contents of title bar on both machines
are
exactly the same (left and right title buttons).
As an experiment I tried removing all the title button entries from
.ctwmrc
This still leaves three 'built in' items in the title bar:
On the left a built in 'iconize' followed by the window label 'xterm'
(the
window category), automatically inserted, and on the right a built in
resize button, still oversize.
I've tried removing ctwm and copying over the version built on the F29 PC
that works perfectly on the PC. But on the laptop it has the same
problems as the version of ctwm built on the laptop.
I am sure that there was a stage previously when the title bars on the
f31
machine were correct. But there was some other problem that I had to fix
and after that I had the bad title bars. But restoring the old
.ctwmrc has not fixed the problem. So it seems that I have changed
something else indavertently and now I have no idea what it could be!
I mention the basis of a solution below.
===========
I have just received this response From: [email protected]
It is probably due to the font used in title.
The matched font is not the same between the 2 versions of your
system, or
perhaps it changed a little.
Regards,
Max.
Thanks Max,
I tested that by removing all items in the title specified by me. That
left
only the first and last buttons, both automatically inserted, and the
text
name of the window, which is in a small font, as shown in the attached
composite image.
==================
Good news:
I have now discovered that the the source directory for ctwm includes a
file 'system.ctwm'.
I have tried using that in place of my .ctwmrc. It provides very limited
functionality, but has so far produced the right kind of title bar.
So I'll see if I can gradually add items to that to restore my required
functionality.
Aaron
[Image showing the problem attached, in case it gives anyone a clue as to
what I did wrong.]