[Subsurface-trac] [Subsurface] #176: Cannot scroll in dive notes using scroll wheel
Lubomir I. Ivanov
neolit123 at gmail.com
Fri Dec 13 11:49:23 UTC 2013
On 13 December 2013 20:02, Linus Torvalds <torvalds at linux-foundation.org> wrote:
> On Fri, Dec 13, 2013 at 9:44 AM, Linus Torvalds
> <torvalds at linux-foundation.org> wrote:
>> On Fri, Dec 13, 2013 at 4:14 AM, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>>> i think i just addressed this one in:
>>> [PATCH] MainTab: tweak the scrolling while inside the notes
>>> linus, could you or someone else give it a try?
>> I don't think it's necessarily wrong, but it doesn'tt *matter*.
> Actually, I take that back. It does matter, and I think it makes the
> scroll-wheel behavior worse.
> So the way I expect my scroll-wheel to work is that if I'm in a
> scrollable region, it scrolls that region first - and then when it
> hits the end of the region, it starts scrolling the "next" scrollable
> frame or window. That's how it works pretty much everywhere else.
> And your "tweak the scrolling while inside the notes" actually stops
> scrolling the whole "Dive Notes" window, if the "Notes" section is
> selected. Which isn't what I expect (or what other applications do).
> So the only thing I really _don't_ expect is that it starts editing
> things as it scrolls past them. Yes, people edit things with the
> scroll-wheel too (say, you have a drop-down choice thing, and want to
> scroll through it), but that happens only after you've opened the
> drop-down thing explicitly, not because you happen to scroll past the
> drop-down entry in a window.
ok, think i can try making a quick fix for that i.e. disable the value
changes if "edit mode" is not "on" - this looks like a bug actually.
and also make the values change only if a filed is selected (e.g.
date/time), but have to test that a little.
scrolling up from the notes will remain as it is (without my patch)
it pretty much scrolls the whole widget if done scrolling up from the notes.
seems to be the standard scroll behavior in Qt.
More information about the subsurface