GNU bug report logs -
#16284
24.3.50; blank column shown with scroll bar configuration changes
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16284 in the body.
You can then email your comments to 16284 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Sun, 29 Dec 2013 07:50:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 29 Dec 2013 07:50:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Steps to reproduce:
1. $ emacs -Q -D &
2. M-x scroll-bar-mode RET
3. M-x scroll-bar-mode RET
Then you'll see a blank column to the right of the scroll bar.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
In GNU Emacs 24.3.50.1 (i386-apple-darwin13.0.0, GTK+ Version 3.10.6)
of 2013-12-29 on YAMAMOTO-no-MacBook-Air.local
Bzr revision: 115801 eggert <at> cs.ucla.edu-20131229071501-6o7tmxvr1z8q8mib
Windowing system distributor `The X.Org Foundation', version 11.0.11404000
Configured using:
`configure --without-imagemagick LDFLAGS=-L/opt/local/lib
CPPFLAGS=-I/opt/local/include'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Sun, 29 Dec 2013 14:08:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 16284 <at> debbugs.gnu.org (full text, mbox):
> 1. $ emacs -Q -D &
Is "-D &" necessary?
> 2. M-x scroll-bar-mode RET
> 3. M-x scroll-bar-mode RET
>
> Then you'll see a blank column to the right of the scroll bar.
Does the frame shrink after step 2 and expand after step 3? Does the
blank column appear below the tool-/menubar or at the right of its end?
I suppose everything happens within ns_set_vertical_scroll_bar. So to
investigate this further, could you please step through this function in
order to find out what's different between when Emacs displays the
scrollbar for the first time and when it executes step 3. In particular
the respective values of `left' after
left = WINDOW_SCROLL_BAR_AREA_X (window);
would be interesting.
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Sun, 29 Dec 2013 15:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 16284 <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 29 Dec 2013 16:49:36 +0900
> From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
>
> Steps to reproduce:
>
> 1. $ emacs -Q -D &
> 2. M-x scroll-bar-mode RET
> 3. M-x scroll-bar-mode RET
>
> Then you'll see a blank column to the right of the scroll bar.
On MS-Windows, step 1 produces a frame with no scroll bar, but Emacs
evidently thinks the scroll bar is still there, because step 2 says
"Scroll-Bar mode disabled". Repeating step 2 after that, followed by
step 3 produces correct display.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Sun, 29 Dec 2013 16:25:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 16284 <at> debbugs.gnu.org (full text, mbox):
Hello.
29 dec 2013 kl. 15:07 skrev martin rudalics <rudalics <at> gmx.at>:
> > 1. $ emacs -Q -D &
>
> Is "-D &" necessary?
>
> > 2. M-x scroll-bar-mode RET
> > 3. M-x scroll-bar-mode RET
> >
> > Then you'll see a blank column to the right of the scroll bar.
>
> Does the frame shrink after step 2 and expand after step 3? Does the
> blank column appear below the tool-/menubar or at the right of its end?
>
> I suppose everything happens within ns_set_vertical_scroll_bar.
The original report said Gtk+ so I guess not...
Jan D.
> So to
> investigate this further, could you please step through this function in
> order to find out what's different between when Emacs displays the
> scrollbar for the first time and when it executes step 3. In particular
> the respective values of `left' after
>
> left = WINDOW_SCROLL_BAR_AREA_X (window);
>
> would be interesting.
>
> martin
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Sun, 29 Dec 2013 17:08:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 16284 <at> debbugs.gnu.org (full text, mbox):
Hello.
29 dec 2013 kl. 08:49 skrev YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
> Steps to reproduce:
>
> 1. $ emacs -Q -D &
> 2. M-x scroll-bar-mode RET
> 3. M-x scroll-bar-mode RET
>
> Then you'll see a blank column to the right of the scroll bar.
>
I think it is something wrong with -D. Emacs starts with no scroll bars, but when you do the first M-x scroll-bar-mode, Emacs says "Scroll-Bar mode disabled".
Without -D this works fine.
It also works fine with NS or no toolkit. Lucid gets the extra column on the right, but the scroll bar appears on the left.
Jan D.
> YAMAMOTO Mitsuharu
> mituharu <at> math.s.chiba-u.ac.jp
>
> In GNU Emacs 24.3.50.1 (i386-apple-darwin13.0.0, GTK+ Version 3.10.6)
> of 2013-12-29 on YAMAMOTO-no-MacBook-Air.local
> Bzr revision: 115801 eggert <at> cs.ucla.edu-20131229071501-6o7tmxvr1z8q8mib
> Windowing system distributor `The X.Org Foundation', version 11.0.11404000
> Configured using:
> `configure --without-imagemagick LDFLAGS=-L/opt/local/lib
> CPPFLAGS=-I/opt/local/include'
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Mon, 30 Dec 2013 09:16:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 16284 <at> debbugs.gnu.org (full text, mbox):
> Steps to reproduce:
>
> 1. $ emacs -Q -D &
> 2. M-x scroll-bar-mode RET
> 3. M-x scroll-bar-mode RET
>
> Then you'll see a blank column to the right of the scroll bar.
Hopefully fixed now. Please try again.
Thanks, martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Mon, 30 Dec 2013 17:57:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 16284 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 30 Dec 2013 10:15:15 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> Cc: 16284 <at> debbugs.gnu.org
>
> > Steps to reproduce:
> >
> > 1. $ emacs -Q -D &
> > 2. M-x scroll-bar-mode RET
> > 3. M-x scroll-bar-mode RET
> >
> > Then you'll see a blank column to the right of the scroll bar.
>
> Hopefully fixed now. Please try again.
Emacs still thinks the scroll bars are displayed when it is started
with -D: step 2 says "Scroll-Bar mode disabled", although the scroll
bar was not shown before that.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Mon, 30 Dec 2013 18:14:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 16284 <at> debbugs.gnu.org (full text, mbox):
>>> Steps to reproduce:
>>>
>>> 1. $ emacs -Q -D &
>>> 2. M-x scroll-bar-mode RET
>>> 3. M-x scroll-bar-mode RET
>>>
>>> Then you'll see a blank column to the right of the scroll bar.
>> Hopefully fixed now. Please try again.
>
> Emacs still thinks the scroll bars are displayed when it is started
> with -D: step 2 says "Scroll-Bar mode disabled", although the scroll
> bar was not shown before that.
That's a different issue. I only fixed the blank column part (which I
couldn't even observe on Windows).
I don't know how -D is processed internally and what its semantics wrt
scrollbars should be. What's probably needed is to either disable
scroll-bar-mode or reset the `vertical-scroll-bar' parameter of the
initial frame.
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16284
; Package
emacs
.
(Mon, 30 Dec 2013 18:20:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 16284 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 30 Dec 2013 19:13:21 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: mituharu <at> math.s.chiba-u.ac.jp, 16284 <at> debbugs.gnu.org
>
> >>> Steps to reproduce:
> >>>
> >>> 1. $ emacs -Q -D &
> >>> 2. M-x scroll-bar-mode RET
> >>> 3. M-x scroll-bar-mode RET
> >>>
> >>> Then you'll see a blank column to the right of the scroll bar.
> >> Hopefully fixed now. Please try again.
> >
> > Emacs still thinks the scroll bars are displayed when it is started
> > with -D: step 2 says "Scroll-Bar mode disabled", although the scroll
> > bar was not shown before that.
>
> That's a different issue.
Ah, OK, I thought it was related.
> I only fixed the blank column part (which I couldn't even observe on
> Windows).
Right, I don't see it as well.
Sorry for the noise, I saw Jan saying that -D behaves the same on GTK,
so I thought these are symptoms of the same problem.
Reply sent
to
YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
:
You have taken responsibility.
(Tue, 31 Dec 2013 00:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
:
bug acknowledged by developer.
(Tue, 31 Dec 2013 00:46:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 16284-done <at> debbugs.gnu.org (full text, mbox):
>>>>> On Mon, 30 Dec 2013 10:15:15 +0100, martin rudalics <rudalics <at> gmx.at> said:
>> Steps to reproduce:
>>
>> 1. $ emacs -Q -D &
>> 2. M-x scroll-bar-mode RET
>> 3. M-x scroll-bar-mode RET
>>
>> Then you'll see a blank column to the right of the scroll bar.
> Hopefully fixed now. Please try again.
Fixed for me. Thanks. It has also fixed another bug I was about to
report (The right part of (non-toolkit) toolbar is not drawn with
similar scroll bar configuration change even when we started without
-D).
Closing.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 28 Jan 2014 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 145 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.