Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 91967

Summary: xterm with toolbar: characters are cropped
Product: Gentoo Linux Reporter: Georgi Georgiev <chutz+bugs.gentoo.org>
Component: Current packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dickey, radek
Priority: High    
Version: 2005.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cropped-chars.png
crooped-column-204.png

Description Georgi Georgiev 2005-05-08 21:35:51 UTC
As of xterm-201 toolbar is enabled by default and a weird behavior where the bottom line or the right column of characters get cropped midway is observed.

Steps to reproduce:
1. USE=toolbar emerge xterm (or emerge >=xterm-201)
2. run xterm
3. resize the window to make it smaller by say... three or four pixels

I'd like to request the comeback of the "toolbar" useflag until a solution is found.
Comment 1 Georgi Georgiev 2005-05-08 21:36:42 UTC
Created attachment 58425 [details]
cropped-chars.png

A screenshot of an xterm that illustrates the problem.
Comment 2 Thomas Dickey 2005-05-18 16:25:18 UTC
This should be merged with 90717.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-08-05 05:18:40 UTC
Please everyone, test xterm-204 that just went into this tree to see if it
solves any of your issues.  It works pretty nicely for me.
Comment 4 Georgi Georgiev 2005-08-07 21:39:46 UTC
Created attachment 65383 [details]
crooped-column-204.png

This is to show some how the cropping changed with xterm-204. Look at the
characters in the left column. I should mention that there is no cropping (left
or right) when running "xterm -rightbar".

The characters are cropped without having to resize or do anything, and they
are *always* cropped, regardless of resizing.

The above was with 

[ebuild   R   ] x11-terms/xterm-204  -Xaw3d -toolbar +truetype +unicode 0 kB

With "+toolbar" everything is fine, but I get no menus when control-clicking.
Comment 5 Thomas Dickey 2005-08-08 03:02:13 UTC
re: crooped-column-204.png

I see the picture, but the words don't seem to
match.  It appears that the scrollbar's size is
not being handled by xterm properly.  To me, that
hints that there is a resource setting that
happened to work for me - as with the
menubar.borderWidth - that I should have accounted
for in the computation.

For instance, the scrollbar is laid out with _its_
border overlaying part of the vt100 window.  I
recall that because in #204 I made a of
fix to ensure that its border would be zero if the
vt100's border was zero.  Perhaps the output for
"appres XTerm" (or "appres UXTerm") would be helpful.

(I'll look into this, but am not sure what I overlooked)
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2005-09-16 05:00:30 UTC
late reaction

*** This bug has been marked as a duplicate of 90717 ***