unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18143: Vertical scroll bar does not work with Image files
@ 2014-07-29 10:56 Angelo Graziosi
  2014-07-29 12:02 ` Eli Zaretskii
  2020-08-13  9:54 ` Angelo Graziosi
  0 siblings, 2 replies; 8+ messages in thread
From: Angelo Graziosi @ 2014-07-29 10:56 UTC (permalink / raw)
  To: 18143

When an image file (jpg, png..) is displayed greater than the frame 
dimensions, a way to explore it is using the arrow keys (up, down, left 
and right).

With the introduction of horizontal scroll bar, it is very nice to use 
it in place of L-R arrow keys: the HSB works fine here!

This does not occur with vertical scroll bar. It has the full height of 
the frame and cannot be moved U-D. So the only way to explore the image 
vertically is to use the U-D keys.

I see this both with MSYS2/MinGW64 and Cygwin builds of Emacs trunk.


Ciao,
  Angelo.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#18143: Vertical scroll bar does not work with Image files
  2014-07-29 10:56 bug#18143: Vertical scroll bar does not work with Image files Angelo Graziosi
@ 2014-07-29 12:02 ` Eli Zaretskii
  2014-07-29 12:13   ` Angelo Graziosi
  2020-08-13  9:54 ` Angelo Graziosi
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2014-07-29 12:02 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: 18143

> Date: Tue, 29 Jul 2014 12:56:26 +0200
> From: Angelo Graziosi <angelo.graziosi@alice.it>
> 
> When an image file (jpg, png..) is displayed greater than the frame 
> dimensions, a way to explore it is using the arrow keys (up, down, left 
> and right).
> 
> With the introduction of horizontal scroll bar, it is very nice to use 
> it in place of L-R arrow keys: the HSB works fine here!
> 
> This does not occur with vertical scroll bar. It has the full height of 
> the frame and cannot be moved U-D. So the only way to explore the image 
> vertically is to use the U-D keys.
> 
> I see this both with MSYS2/MinGW64 and Cygwin builds of Emacs trunk.

What you see is due to the difference between the 2 scroll bars in how
the size of the scroll-bar thumb is computed: in character units for
the vertical scroll bar vs pixel units for the horizontal scroll bar.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#18143: Vertical scroll bar does not work with Image files
  2014-07-29 12:02 ` Eli Zaretskii
@ 2014-07-29 12:13   ` Angelo Graziosi
  2014-07-29 12:29     ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Angelo Graziosi @ 2014-07-29 12:13 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 18143



Il 29/07/2014 14:02, Eli Zaretskii ha scritto:
>> Date: Tue, 29 Jul 2014 12:56:26 +0200
>> From: Angelo Graziosi <angelo.graziosi@alice.it>
>>
>> When an image file (jpg, png..) is displayed greater than the frame
>> dimensions, a way to explore it is using the arrow keys (up, down, left
>> and right).
>>
>> With the introduction of horizontal scroll bar, it is very nice to use
>> it in place of L-R arrow keys: the HSB works fine here!
>>
>> This does not occur with vertical scroll bar. It has the full height of
>> the frame and cannot be moved U-D. So the only way to explore the image
>> vertically is to use the U-D keys.
>>
>> I see this both with MSYS2/MinGW64 and Cygwin builds of Emacs trunk.
>
> What you see is due to the difference between the 2 scroll bars in how
> the size of the scroll-bar thumb is computed: in character units for
> the vertical scroll bar vs pixel units for the horizontal scroll bar.
>

But is this a bug? I would convert also the vertical scroll bar to pixel 
unit..





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#18143: Vertical scroll bar does not work with Image files
  2014-07-29 12:13   ` Angelo Graziosi
@ 2014-07-29 12:29     ` Eli Zaretskii
  2020-08-12 18:39       ` Stefan Kangas
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2014-07-29 12:29 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: 18143

> Date: Tue, 29 Jul 2014 14:13:27 +0200
> From: Angelo Graziosi <angelo.graziosi@alice.it>
> CC: 18143@debbugs.gnu.org
> 
> > What you see is due to the difference between the 2 scroll bars in how
> > the size of the scroll-bar thumb is computed: in character units for
> > the vertical scroll bar vs pixel units for the horizontal scroll bar.
> 
> But is this a bug?

No, it's a direct consequence of how the thumb size calculation was
designed to work.

> I would convert also the vertical scroll bar to pixel unit.

Please suggest a method of doing that.  I thought about that, and
concluded that it wasn't trivial.  I'd be happy to learn what I
missed.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#18143: Vertical scroll bar does not work with Image files
  2014-07-29 12:29     ` Eli Zaretskii
@ 2020-08-12 18:39       ` Stefan Kangas
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Kangas @ 2020-08-12 18:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 18143, Angelo Graziosi

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Tue, 29 Jul 2014 14:13:27 +0200
>> From: Angelo Graziosi <angelo.graziosi@alice.it>
>> CC: 18143@debbugs.gnu.org
>>
>> > What you see is due to the difference between the 2 scroll bars in how
>> > the size of the scroll-bar thumb is computed: in character units for
>> > the vertical scroll bar vs pixel units for the horizontal scroll bar.
>>
>> But is this a bug?
>
> No, it's a direct consequence of how the thumb size calculation was
> designed to work.

So there is no bug in that regard.

>> I would convert also the vertical scroll bar to pixel unit.
>
> Please suggest a method of doing that.  I thought about that, and
> concluded that it wasn't trivial.  I'd be happy to learn what I
> missed.

No one has suggested such a method within 6 years.  So should this be
closed, or is there anything more to do here?

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#18143: Vertical scroll bar does not work with Image files
  2014-07-29 10:56 bug#18143: Vertical scroll bar does not work with Image files Angelo Graziosi
  2014-07-29 12:02 ` Eli Zaretskii
@ 2020-08-13  9:54 ` Angelo Graziosi
  2020-08-13 11:04   ` Stefan Kangas
  1 sibling, 1 reply; 8+ messages in thread
From: Angelo Graziosi @ 2020-08-13  9:54 UTC (permalink / raw)
  To: 18143@debbugs.gnu.org, stefan@marxist.se

Too much time has passed and I can't remember the details... please close.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#18143: Vertical scroll bar does not work with Image files
  2020-08-13  9:54 ` Angelo Graziosi
@ 2020-08-13 11:04   ` Stefan Kangas
  2020-10-01 12:12     ` Stefan Kangas
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Kangas @ 2020-08-13 11:04 UTC (permalink / raw)
  To: Angelo Graziosi, 18143-done@debbugs.gnu.org

Angelo Graziosi <angelo.g0@libero.it> writes:

> Too much time has passed and I can't remember the details... please close.

Thanks for replying back.  I'm closing this bug report.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#18143: Vertical scroll bar does not work with Image files
  2020-08-13 11:04   ` Stefan Kangas
@ 2020-10-01 12:12     ` Stefan Kangas
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Kangas @ 2020-10-01 12:12 UTC (permalink / raw)
  To: 18143-done

Stefan Kangas <stefan@marxist.se> writes:

> Angelo Graziosi <angelo.g0@libero.it> writes:
>
>> Too much time has passed and I can't remember the details... please close.
>
> Thanks for replying back.  I'm closing this bug report.

Accidentally left this open; closing now.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-10-01 12:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29 10:56 bug#18143: Vertical scroll bar does not work with Image files Angelo Graziosi
2014-07-29 12:02 ` Eli Zaretskii
2014-07-29 12:13   ` Angelo Graziosi
2014-07-29 12:29     ` Eli Zaretskii
2020-08-12 18:39       ` Stefan Kangas
2020-08-13  9:54 ` Angelo Graziosi
2020-08-13 11:04   ` Stefan Kangas
2020-10-01 12:12     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).