bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21469: 25.0.50; right scrollbar wrongly placed when resizing split w


From: Robert Pluim
Subject: bug#21469: 25.0.50; right scrollbar wrongly placed when resizing split window
Date: Mon, 14 Sep 2015 20:05:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

>>>From a console or from an xterm? From an xterm I get nothing output at
>> all.
>
> My memory probably fails.  Somewhere GTK should write a log maybe I find
> out where.
>
> Thanks for the pngs.  Please do the following:
>
> (1) After starting, evaluate the form (window--dump-frame).  This should
>     produce a buffer called *window-frame-dump*.  Post the contents
>     here.
>

frame pixel: 1640 x 792   cols/lines: 91 x 22   units: 18 x 36
frame text pixel: 1612 x 792   cols/lines: 89 x 22
tool: 0  scroll: 12/0  fringe: 16  border: 0  right: 0  bottom: 0

#<window 3 on *scratch*>   parent: nil
pixel left: 0   top: 0   size: 1640 x 756   new: 756
char left: 0   top: 0   size: 91 x 21   new: 21
normal: 1.0 x 1.0   new: 1.0
body pixel: 1612 x 720   char: 89 x 20
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 12  divider: 0
height header-line: 0  mode-line: 36  divider: 0

#<window 4 on  *Minibuf-0*>   parent: nil
pixel left: 0   top: 756   size: 1640 x 36   new: 0
char left: 0   top: 21   size: 1640 x 1   new: 1
normal: 1.0 x 1.0   new: 0
body pixel: 1612 x 36   char: 89 x 1
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 12  divider: 0
height header-line: 0  mode-line: 0  divider: 0

Something is definitely wrong there: the cols/lines values in that
file seem correct, but the values shown in the tooltip when I drag the
bottom right corner of the frame to resize it are approximately half
that (41x11 in this case).

> (2) Now split the single window via C-x 3, evaluate (window--dump-frame)
>     again and post the new contents of the *window-frame-dump* buffer.
>     And please also post a png of the frame at that time.
>

frame pixel: 1640 x 792   cols/lines: 91 x 22   units: 18 x 36
frame text pixel: 1612 x 792   cols/lines: 89 x 22
tool: 0  scroll: 12/0  fringe: 16  border: 0  right: 0  bottom: 0

#<window 7>   parent: nil
pixel left: 0   top: 0   size: 1640 x 756   new: 1640
char left: 0   top: 0   size: 91 x 21   new: 91
normal: 1.0 x 1.0   new: 1.0

#<window 3 on *scratch*>   parent: #<window 7>
pixel left: 0   top: 0   size: 812 x 756   new: 812
char left: 0   top: 0   size: 45 x 21   new: 45
normal: 0.5 x 1.0   new: 0.5
body pixel: 784 x 720   char: 43 x 20
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 12  divider: 0
height header-line: 0  mode-line: 36  divider: 0

#<window 8 on *scratch*>   parent: #<window 7>
pixel left: 812   top: 0   size: 828 x 756   new: 828
char left: 45   top: 0   size: 46 x 21   new: 46
normal: 0.5 x 1.0   new: 0.5
body pixel: 800 x 720   char: 44 x 20
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 12  divider: 0
height header-line: 0  mode-line: 36  divider: 0

#<window 4 on  *Minibuf-0*>   parent: nil
pixel left: 0   top: 756   size: 1640 x 36   new: 0
char left: 0   top: 21   size: 91 x 1   new: 91
normal: 1.0 x 1.0   new: 0
body pixel: 1612 x 36   char: 89 x 1
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 12  divider: 0
height header-line: 0  mode-line: 0  divider: 0

PNG image

> (3) Now drag the border, evaluate (window--dump-frame) once more, post
>     the new *window-frame-dump* buffer contents and a png of the frame.
>
frame pixel: 1640 x 792   cols/lines: 91 x 22   units: 18 x 36
frame text pixel: 1612 x 792   cols/lines: 89 x 22
tool: 0  scroll: 12/0  fringe: 16  border: 0  right: 0  bottom: 0

#<window 7>   parent: nil
pixel left: 0   top: 0   size: 1640 x 756   new: 1640
char left: 0   top: 0   size: 91 x 21   new: 91
normal: 1.0 x 1.0   new: nil

#<window 3 on *scratch*>   parent: #<window 7>
pixel left: 0   top: 0   size: 595 x 756   new: 595
char left: 0   top: 0   size: 33 x 21   new: 33
normal: 0.36660505237215035 x 1.0   new: 0.36660505237215035
body pixel: 567 x 720   char: 31 x 20
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 12  divider: 0
height header-line: 0  mode-line: 36  divider: 0

#<window 8 on *scratch*>   parent: #<window 7>
pixel left: 595   top: 0   size: 1045 x 756   new: 1045
char left: 33   top: 0   size: 58 x 21   new: 58
normal: 0.6333949476278498 x 1.0   new: 0.6333949476278498
body pixel: 1017 x 720   char: 56 x 20
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 12  divider: 0
height header-line: 0  mode-line: 36  divider: 0

#<window 4 on  *Minibuf-0*>   parent: nil
pixel left: 0   top: 756   size: 1640 x 36   new: 0
char left: 0   top: 21   size: 91 x 1   new: 91
normal: 1.0 x 1.0   new: 0
body pixel: 1612 x 36   char: 89 x 1
width left fringe: 8  left margin: 0  right margin: 0
width right fringe: 8  scroll-bar: 12  divider: 0
height header-line: 0  mode-line: 0  divider: 0

PNG image

> Hopefully we can deduce something from these.
>
> Thanks, martin
>
>
>
>

reply via email to

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