Scroll bars

[email protected]
Newsgroups gmane.comp.audio.supercollider.devel
Message-ID <[email protected]>
I'm in a bit of a pickle.

I was all set to use Paul Miller's excellent TXModular system for teaching. 
I would rather use FLOSS because otherwise the students in China will 
pirate commercial software, which I don't want to encourage.

With my first class on Tuesday, I find that there's a bug in ScrollView 
wherein it's exceptionally difficult to make hidden scroll bars appear (I 
believe they are supposed to appear magically when mousing over the scroll 
bar area, but this is not happening on my machine) AND the property that is 
supposed to control auto-hide behavior is, at present, ignored. So there is 
no way, within SC code, to fix it.

https://github.com/supercollider/supercollider/issues/3552

Ok, sure, I should have looked into it sooner. But, earlier, I thought I 
was just missing something easy, didn't expect it to be a bug. So... what 
to do now?

- Line 49 of ProxyStyle.cpp displays scroll bars if the control type is 
QStyle::CC_ScrollBar && AlwaysShowScrollBars() -- I wonder, is this perhaps 
overriding the QScrollArea's scroll bar policy properties? Shouldn't it be 
"&& (AlwaysShowScrollBars() || (something to check the scroll view's 
properties))"?

- Failing that, I found I can hack AlwaysShowScrollBars() simply to return 
true. But I don't have Mac or Windows build environments ready to go. So I 
wonder if someone could run a build with this hack (or, does AppVeyor do it 
for all PRs?).

The specific usability issue for TXModular is in its mixer panel, which 
handles signal routing. Horizontal scrolling is essential when there are 
many channels, but currently I can do it only by 2-finger scrolling, which 
a/ is inexact on my machine, b/ frequently gets stuck on sliders and c/ I 
can't be sure all the students have a touchpad or a horizontal scroll 
wheel. Note that this isn't TXMod's fault -- our ScrollView does not 
display the scrollbars when it should. It's a small oversight in our code 
but renders TXMod's mixer panel essentially unusable for more than, oh, 4 
channels. (Well, you "can" stand on your head, gargle some peanut butter 
and manage to get around it, but that isn't "usable.")

I hope I can ask for a little exceptional help here. Thanks in advance.

hjh

Sent with AquaMail for Android
http://www.aqua-mail.com




_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.