New window scroll forces large jumps
Pages: 1 2
Frederick Bambrough (1372) 837 posts |
With today’s ROM update (21/4) I find that scrolling the content of a window or the window itself is not possible in small steps. As example, scrolling text in Messenger Pro jumps a minimum of ten text lines. The scroll wheel config panel doesn’t seem to change behaviour. Reverting to the 19-Ap- 20 ROM scrolling is normal. This is with a Logitech wireless mouse and BB -xM. |
David Pitt (3386) 1248 posts |
It seems variable. NetSurf and PipeDream windows scroll in big fixed lumps whatever the setting but the TaskManager’s Tasks window does obey the configured setting. Oddly, however, Messenger Pro here scrolls one line at a time, irrespective of the setting. Titanium in this case. |
Jeffrey Lee (213) 6048 posts |
For every window/program, or just some of them? Today’s OMAP3 ROM appears to be working correctly here. But there is certainly more work I need to do to try and make sure scrolling behaviour is consistent/sensible. Part of the problem is that there are three different ways of scrolling windows (“open window” wimp messages, “scroll” wimp messages, and “extended scroll” wimp messages), and there’s not much consistency with how programs react to them.
Currently it’s only the “open window” requests which will be affected by the scroll speed setting in Configure – you should be able to see this with well-behaved windows like the task manager. Hopefully I can find ways to scale some of the other requests as well (it’s a bit tricky because the window position doesn’t update straight away – so the code will have to wait until the app’s processed the request in order to read back the new scroll offsets)
Which versions of Messenger Pro are you both on? Possibly different versions react to the different scroll requests differently. |
Doug Webb (190) 1180 posts |
Ok I have tried todays ROM and HardDisc image updates on my Iyonix using the softload version and both Netsurf and MessengerPro seem to work ok on scrolling. I can alter the scroll speed in Configure>Mouse and it makes a difference. I have the Scroll Wheel setting set to “Window under the pointer” in the Configure>Mouse setting screen. This is with Netsurf 3.8 (Dev#4315) and Messenger Pro 8.04 On my ARMX6 I have put the latest ROOL disc components on and the Scroll Wheel support section of the Configure>Mouse is greyed out as it must check the OS/HAL version to see if it is supported as I would expect. Hope that helps in finding the issue. |
Doug Webb (190) 1180 posts |
Update
So went back and rechecked and remembered that HID is loaded on the Iyonix so disabled that and tested again and MessengerPro is still OK , v 8.04, but Netsurf 3.8 (dev#4315) does jump in chunks no matter what the setting. Sorry for any confusion. |
David Pitt (3386) 1248 posts |
Oddly, however, Messenger Pro here scrolls one line at a time, irrespective of the setting. I am on Messenger Pro 7.08, which is six years old. P.S. PlingStore’s main window no longer scrolls at all now, it did previously. |
Andrew McCarthy (3688) 605 posts |
Related to this build, but a different issue. I reverted back to 19-Apr-20 on encountering a heap error message whilst closing a !Zap taskwindow that resulted in the above dump. |
Frederick Bambrough (1372) 837 posts |
Tried a few apps to see what happens. Messenger Pro (v 8.04), NetSurf, Store, Ovation Pro 2.78c, Private Eye show the same problem. Edit seems more random, scrolling different distances each time. Often scrolling up jumps to the beginning of a document, from mid way through a long one. Draw is closer to what I would expect, jumping smaller increments, but in none of the apps including this is there anywhere near resembling what could be described as a smooth scroll. Scroll speed adjustment seems totally ineffectual. Window sliders reflect the window content. |
Jeffrey Lee (213) 6048 posts |
I’m not sure what’s going on there – I don’t have copies of MPro or OvPro to test with, but for me NetSurf, Store, and Private Eye all exhibit completely different behaviour to each other.
That one I can reproduce; investigating it is on my todo list.
Smooth scrolling isn’t implemented yet. But the “scroll speed” setting should definitely affect Draw (and most other apps that don’t use extended scroll requests, if “line multiple” is disabled). To help diagnose problems, I’ve uploaded a debug build of WindowScroll here which will log some key info to Reporter each time it tries to act on some wheel movement:
Also note that:
If people who are experiencing weird things could try that debug build of WindowScroll and report back on anything suspicious in Reporter’s logs then that would be great. |
Michael Drake (88) 336 posts |
Might not be deliberate. See the strange comment for RO5 in here: http://git.netsurf-browser.org/netsurf.git/tree/frontends/riscos/window.c#n1725 I didn’t write that code, so I’m not sure of the details, I just remember reading it. |
Steve Pampling (1551) 8172 posts |
and the person that did weite it seems to have forgotten to initial it so you can ask them what they had found thus ensuring any detective work is repeated. My sympathies. |
Jeffrey Lee (213) 6048 posts |
Yes, when USBDriver was handling scrolling directly it was doing it by sending 5 Scroll messages at a time: However in Netsurf, the code for handling the “scroll by half window height” are the http://git.netsurf-browser.org/netsurf.git/tree/frontends/riscos/window.c#n1122 |
Frederick Bambrough (1372) 837 posts |
Late to rejoin the party having done exciting things like navigate a supermarket without map or compass. Fought with Reporter being unfamiliar with it and ended up making individual files for each aplication to avoid details falling off the end. What should I do with them? Store changed it’s behaviour today, the catalogues not scrolling at all as David P found above. Reporter shows changes when the window scroll is attempted though nothing moves. |
Jeffrey Lee (213) 6048 posts |
You can email to me if you want. |
Martin Avison (27) 1494 posts |
If you have any problems with Reporter feel free to contact me – see Help file |
Frederick Bambrough (1372) 837 posts |
S’ok, thanks. Just not used it before and trying to be quick. |
Jeffrey Lee (213) 6048 posts |
Got the logs, thanks. To summarise:
NetSurf is a known issue, so I’ll ignore that. Looking at the logs you gave me, MPro, OvPro and Zap are all being scrolled using OpenWindow requests, so as long as you don’t enable the “Line multiple” option the scroll distance/speed should be controllable via the slider in the mouse setup plugin. And the frequency of the events in the logs suggests that the mouse is generating scroll events at a normal rate. Testing Zap & Private Eye locally also shows that OpenWindow requests are being used (and the slider does correctly control the motion). The *WimpScroll command with no arguments will print out the current settings being used by the module – so does the reported “speed” value change when you adjust the slider in Configure? (and click the “set” button) |
Frederick Bambrough (1372) 837 posts |
Yes, Zap also scrolls multiple lines. Your summary is correct. I haven’t touched the Line multiple option so it’s unset. Though Reporter was showing a response to the scroll speed adjustments I made there wasn’t any visible difference. It’s 2.04am and Zebedee has arrived. |
Frederick Bambrough (1372) 837 posts |
Tomorrow’s ROM update should be interesting to try. One extra query… On the configuration panel the ‘Line Multiple’ option is selectable from anywhere in line with the button rather than just on the button. Is that intentional? |
Jeffrey Lee (213) 6048 posts |
And I’m still interested in knowing whether Configure is applying settings correctly for you (i.e. whether the speed value reported by ‘*WimpScroll’ changes)
It’s just a standard toolbox gadget, so I assume it’s intentional that it responds to clicks on the label part. However I did make the label extra wide (to avoid any internationalisation issues), so it is probably accepting input from a larger area than users would expect. |
Jeffrey Lee (213) 6048 posts |
Also note that tomorrow’s ROM won’t change the behaviour of Edit much – after taking a look at it last night, I know roughly what needs doing, but it could do with a bit of discussion to decide on the best solution. |
Frederick Bambrough (1372) 837 posts |
Additionally, encouraged to retry the options in anticipation of the update I now find ‘Scroll speed’ now works for most of the applications I tried before. Just the known ones such as NetSurf iffy now. It’s bloody voodoo (the things that you do). Can’t even get Edit to fault now. Had upped to 28-Apr-20 ROM but that shouldn’t have changed anything? |
Frederick Bambrough (1372) 837 posts |
Had a quick play. The known issues of Edit, Netsurf and Store are as was. PipeDream window contents make big jumps and don’t respond to the scroll speed config though the sliders do – as with Netsurf. I don’t know if that’s abnormal – I haven’t used it for years and just tried the sample files. Don’t know if the info’s useful but Zap, La Bella, MPro, FireWorks, OvnPro, Schema2, PDF, OpenVector, StrongEd, StrongHelp and Private Eye all behaved. |
David Feugey (2125) 2709 posts |
Modify Edit? :) |
Colin (478) 2433 posts |
Edit has the weirdest scrolling scheme the scrollbars seem to change size depending on the visible char count and not line count. Might be easier to not scroll Edit windows if exceptions can be made but unfortunately I think it’s a feature of the Text library in RiscOSLib which means it may be a problem elsewhere – like SrcEdit. |
Pages: 1 2