[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38187: 27.0.50; No mouse-wheel scaling on images
From: |
Juri Linkov |
Subject: |
bug#38187: 27.0.50; No mouse-wheel scaling on images |
Date: |
Sun, 24 Nov 2019 00:23:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> I noticed that using the mouse-wheel on images is not responsive enough.
>> It takes too much time when every step of the mouse scrolling wheel
>> needs to scale the image separately for every consecutive rescaling.
>
> Yeah, users are more likely to issue a bunch of scroll wheel events
> rapidly than hitting `+' at the same rate, I guess.
>
>> So I experimented with debouncing - a new macro 'debounce' swallows
>> all intermediate calls in quick succession to 'image--change-size',
>> and executes only the last call in sequence.
>>
>> But actually it requires another better macro 'debounce-reduce'
>> that accumulates the state from all calls by multiplying all
>> intermediate scaling factors, and using the result on the final call:
>
> Makes sense to me.
This is installed now.
Not sure if this report can be closed, since the discussion
on image memory caching moved to bug#38345.
- bug#38187: 27.0.50; No mouse-wheel scaling on images, (continued)
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Lars Ingebrigtsen, 2019/11/22
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Alan Third, 2019/11/22
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Eli Zaretskii, 2019/11/22
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Alan Third, 2019/11/22
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Eli Zaretskii, 2019/11/22
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Lars Ingebrigtsen, 2019/11/19
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Juri Linkov, 2019/11/20
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Lars Ingebrigtsen, 2019/11/21
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Eli Zaretskii, 2019/11/21
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Juri Linkov, 2019/11/21
- bug#38187: 27.0.50; No mouse-wheel scaling on images,
Juri Linkov <=
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Lars Ingebrigtsen, 2019/11/27
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Lars Ingebrigtsen, 2019/11/18
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Stefan Kangas, 2019/11/19
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Drew Adams, 2019/11/19
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Stefan Kangas, 2019/11/19
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Stefan Kangas, 2019/11/19
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Drew Adams, 2019/11/19
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Stefan Kangas, 2019/11/20
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Drew Adams, 2019/11/20
- bug#38187: 27.0.50; No mouse-wheel scaling on images, Eli Zaretskii, 2019/11/19