* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
@ 2013-12-29 7:49 YAMAMOTO Mitsuharu
2013-12-29 14:07 ` martin rudalics
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: YAMAMOTO Mitsuharu @ 2013-12-29 7:49 UTC (permalink / raw)
To: 16284
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@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@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'
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-29 7:49 bug#16284: 24.3.50; blank column shown with scroll bar configuration changes YAMAMOTO Mitsuharu
@ 2013-12-29 14:07 ` martin rudalics
2013-12-29 16:24 ` Jan Djärv
2013-12-29 15:48 ` Eli Zaretskii
` (2 subsequent siblings)
3 siblings, 1 reply; 10+ messages in thread
From: martin rudalics @ 2013-12-29 14:07 UTC (permalink / raw)
To: YAMAMOTO Mitsuharu; +Cc: 16284
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-29 7:49 bug#16284: 24.3.50; blank column shown with scroll bar configuration changes YAMAMOTO Mitsuharu
2013-12-29 14:07 ` martin rudalics
@ 2013-12-29 15:48 ` Eli Zaretskii
2013-12-29 17:07 ` Jan Djärv
2013-12-30 9:15 ` martin rudalics
3 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2013-12-29 15:48 UTC (permalink / raw)
To: YAMAMOTO Mitsuharu; +Cc: 16284
> Date: Sun, 29 Dec 2013 16:49:36 +0900
> From: YAMAMOTO Mitsuharu <mituharu@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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-29 14:07 ` martin rudalics
@ 2013-12-29 16:24 ` Jan Djärv
0 siblings, 0 replies; 10+ messages in thread
From: Jan Djärv @ 2013-12-29 16:24 UTC (permalink / raw)
To: martin rudalics; +Cc: 16284
Hello.
29 dec 2013 kl. 15:07 skrev martin rudalics <rudalics@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
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-29 7:49 bug#16284: 24.3.50; blank column shown with scroll bar configuration changes YAMAMOTO Mitsuharu
2013-12-29 14:07 ` martin rudalics
2013-12-29 15:48 ` Eli Zaretskii
@ 2013-12-29 17:07 ` Jan Djärv
2013-12-30 9:15 ` martin rudalics
3 siblings, 0 replies; 10+ messages in thread
From: Jan Djärv @ 2013-12-29 17:07 UTC (permalink / raw)
To: YAMAMOTO Mitsuharu; +Cc: 16284
Hello.
29 dec 2013 kl. 08:49 skrev YAMAMOTO Mitsuharu <mituharu@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@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@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'
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-29 7:49 bug#16284: 24.3.50; blank column shown with scroll bar configuration changes YAMAMOTO Mitsuharu
` (2 preceding siblings ...)
2013-12-29 17:07 ` Jan Djärv
@ 2013-12-30 9:15 ` martin rudalics
2013-12-30 17:56 ` Eli Zaretskii
2013-12-31 0:45 ` YAMAMOTO Mitsuharu
3 siblings, 2 replies; 10+ messages in thread
From: martin rudalics @ 2013-12-30 9:15 UTC (permalink / raw)
To: YAMAMOTO Mitsuharu; +Cc: 16284
> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-30 9:15 ` martin rudalics
@ 2013-12-30 17:56 ` Eli Zaretskii
2013-12-30 18:13 ` martin rudalics
2013-12-31 0:45 ` YAMAMOTO Mitsuharu
1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2013-12-30 17:56 UTC (permalink / raw)
To: martin rudalics; +Cc: 16284
> Date: Mon, 30 Dec 2013 10:15:15 +0100
> From: martin rudalics <rudalics@gmx.at>
> Cc: 16284@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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-30 17:56 ` Eli Zaretskii
@ 2013-12-30 18:13 ` martin rudalics
2013-12-30 18:18 ` Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: martin rudalics @ 2013-12-30 18:13 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 16284
>>> 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-30 18:13 ` martin rudalics
@ 2013-12-30 18:18 ` Eli Zaretskii
0 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2013-12-30 18:18 UTC (permalink / raw)
To: martin rudalics; +Cc: 16284
> Date: Mon, 30 Dec 2013 19:13:21 +0100
> From: martin rudalics <rudalics@gmx.at>
> CC: mituharu@math.s.chiba-u.ac.jp, 16284@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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#16284: 24.3.50; blank column shown with scroll bar configuration changes
2013-12-30 9:15 ` martin rudalics
2013-12-30 17:56 ` Eli Zaretskii
@ 2013-12-31 0:45 ` YAMAMOTO Mitsuharu
1 sibling, 0 replies; 10+ messages in thread
From: YAMAMOTO Mitsuharu @ 2013-12-31 0:45 UTC (permalink / raw)
To: martin rudalics; +Cc: 16284-done
>>>>> On Mon, 30 Dec 2013 10:15:15 +0100, martin rudalics <rudalics@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@math.s.chiba-u.ac.jp
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-12-31 0:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-29 7:49 bug#16284: 24.3.50; blank column shown with scroll bar configuration changes YAMAMOTO Mitsuharu
2013-12-29 14:07 ` martin rudalics
2013-12-29 16:24 ` Jan Djärv
2013-12-29 15:48 ` Eli Zaretskii
2013-12-29 17:07 ` Jan Djärv
2013-12-30 9:15 ` martin rudalics
2013-12-30 17:56 ` Eli Zaretskii
2013-12-30 18:13 ` martin rudalics
2013-12-30 18:18 ` Eli Zaretskii
2013-12-31 0:45 ` YAMAMOTO Mitsuharu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.