=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
duflu | tsdgeos: I need your advice. A QML scrolling bug that still exists under Unity7 is which component (not QtMir I assume)? | 07:19 |
---|---|---|
tsdgeos | duflu: it depends i guess, what kind of bug? | 07:20 |
=== chihchun_afk is now known as chihchun | ||
duflu | tsdgeos: Speed/accuracy. If I'm running Unity7 then it's not QtMir, surely. What component is it? | 07:20 |
tsdgeos | duflu: i guess you could start with qtdeclarative-opensource-src | 07:22 |
duflu | tsdgeos: That's it, thanks | 07:22 |
tsdgeos | i don't understand exactly what you mean with accuracy | 07:23 |
duflu | tsdgeos: I mean webbrowser app scrolls well but dash and systems settings do not | 07:23 |
duflu | Even under unity7 | 07:23 |
ohNoes_ | sup all | 07:41 |
ohNoes_ | the scroll is too fast now with Xmir | 07:41 |
ohNoes_ | like when you scroll down on g+ it scrolls like 3 screens or such | 07:42 |
ohNoes_ | worked fine before | 07:42 |
ohNoes_ | xmir/yakkety-proposed,now 2:1.18.4-1ubuntu4 amd64 [installed] | 07:43 |
* duflu looks | 07:49 | |
duflu | ohNoes_: Yeah are you using a laptop touchpad? | 07:49 |
duflu | ohNoes_: Please let me know what device you're using for scrolling. I'm working on triaging those issues right now | 07:52 |
duflu | Hmm is G+ a native or web app? | 07:52 |
duflu | I've never looked | 07:52 |
ohNoes_ | duflu: mouse wheel | 07:53 |
duflu | ohNoes_: That's weird. Mouse wheels should not have changed. Any other basic apps affected? | 07:53 |
ohNoes_ | duflu: run firefox on xmir, open g+ or any other longish page | 07:53 |
duflu | OK, I'll do that now. | 07:53 |
ohNoes_ | scroll up and down with mouse wheel | 07:53 |
ohNoes_ | tried with geany, firefox | 07:54 |
duflu | I'm presently doing an Xmir and scrolling bug overhaul | 07:54 |
ohNoes_ | nice :D | 07:55 |
ohNoes_ | would be awesome.. like totally awesome to have a way to configure the scroll rate | 07:55 |
ohNoes_ | maybe in system settings or something | 07:56 |
duflu | ohNoes_: System Settings suffers from bug 1605513 which is different. Thanks for pointing out the regression with Firefox! | 07:59 |
ubot5 | bug 1605513 in qtdeclarative-opensource-src (Ubuntu) "Touchpad scrolling in dash and system settings is disproportionately faster than mouse wheel scrolling" [Undecided,New] https://launchpad.net/bugs/1605513 | 07:59 |
ohNoes_ | np :D | 07:59 |
=== chihchun is now known as chihchun_afk | ||
duflu | ohNoes_: I can't reproduce any regression. Can you suggest another test case? | 08:03 |
ohNoes_ | duflu: run firefox on Xmir, go to reddit.com, scroll down once (with the scroll wheel) and then count how many lines down. tap the arrow key UP until you are at the top of the page | 08:36 |
duflu | ohNoes_: Yep I figured it out thanks... https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1607240 | 08:36 |
ubot5 | Launchpad bug 1607240 in unity8 (Ubuntu) "Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since Xmir 2:1.18.4-1ubuntu4)" [Undecided,Confirmed] | 08:36 |
ohNoes_ | duflu: if i scroll down once it goes 8 lines down | 08:36 |
duflu | Yeah | 08:36 |
ohNoes_ | yay :d | 08:36 |
=== chihchun_afk is now known as chihchun | ||
duflu | Saviq: Can you tell me what code in Unity8 synthesises the vscroll events from Qt wheel angles? | 08:45 |
duflu | What source package? | 08:45 |
anpok | duflu: i guess you need: http://bazaar.launchpad.net/~mir-team/qtmir/trunk/view/head:/src/modules/Unity/Application/mirsurface.cpp#L106 | 08:47 |
anpok | and http://bazaar.launchpad.net/~mir-team/qtmir/trunk/view/head:/src/platforms/mirserver/qteventfeeder.cpp | 08:47 |
duflu | anpok: Thanks. But I found the answer (to multiple questions) | 08:48 |
duflu | https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1607240/comments/6 | 08:48 |
ubot5 | Launchpad bug 1607240 in unity8 (Ubuntu) "Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8 (since Xmir 2:1.18.4-1ubuntu4)" [Undecided,Confirmed] | 08:48 |
duflu | ohNoes_: https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1607240/comments/6 | 08:51 |
ubot5 | Launchpad bug 1607240 in unity8 (Ubuntu) "Unity8 default mouse wheel speed is 7.0 (it should be 1.0)" [Undecided,Confirmed] | 08:51 |
duflu | That will break non-Xmir apps but it's a start. We need to fix scrolling in multiple components still | 08:52 |
ohNoes_ | oh wow! that worked just fine! thanks duflu :D | 09:08 |
duflu | Kind of. Except it's broken elsewhere now | 09:08 |
ohNoes_ | yeah but it fixed muh firefox :D | 09:09 |
ohNoes_ | for now | 09:09 |
ohNoes_ | sort of | 09:09 |
ohNoes_ | duflu: omg! this is super awesome! right? i mean the fact that you can change the scroll rate and it works. you can't do the same with unity7 right? i remember opening a such a bug like years ago | 09:12 |
duflu | ohNoes_: Yeah but it's not labelled. Just magic | 09:13 |
ohNoes_ | awesome black magic :D | 09:13 |
duflu | anpok: Weird. QtMir multiplies vscroll by 15 to make angleDelta. And then on the way out just sets client vscroll = angleDelta. No division | 09:20 |
ohNoes_ | duflu: smooth scrolling in gedit/Xmir only works with the keyboard or with the mouse wheel but only if the mouse pointer is over the scroll bar (when the scroll bar gets wider). if you try to scroll with the mouse wheel and the pointer is not hovering the scroll bar you get jerky scrolling, totally not smooth. maybe iz related | 09:55 |
duflu | ohNoes_: I know. It's a bit messy right now. Unity8 multiples, decimates, and then only partially unmultiples scroll values. We need to clean it all up... but multiple parts all at once | 09:56 |
duflu | "multiplies" I mean | 09:57 |
duflu | ohNoes_: By the way the keyboard is unrelated. Different code | 09:57 |
ohNoes_ | even so, i find it amazing that i can change the scroll speed! :D | 10:02 |
ohNoes_ | +1 will use unity8 again | 10:02 |
duflu | Hah. Yeah. It would appear more weird. Unity8 converts QtMir's scroll tick of 1 to 15. And then system settings' default scale is 0.5. So apps get +7/-7 instead of +1/-1 | 10:03 |
duflu | The left hand doesn't know what the right hand is doing | 10:03 |
ohNoes_ | X-) | 10:04 |
duflu | Anyway, that's progress. My only goal was to fix Xmir if required and it's not required. Dinner time | 10:04 |
alan_g | duflu: yes, just tried in miral+Xmir. Seems fine | 10:05 |
duflu | Yeah I would expect so | 10:05 |
duflu | Good night | 10:05 |
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== hikiko is now known as hikiko|ln | ||
=== hikiko|ln is now known as hikiko | ||
=== chihchun is now known as chihchun_afk | ||
=== dandrader is now known as dandrader|afk | ||
greyback_ | alan_g: should I avoid referring to mir::scene::Surface and try use miral::Window as much as possible? Will Window grow to encapsulate more than a single surface? | 15:58 |
alan_g | greyback_: try to use Window. A Window will always correspond to a Mir Surface (but that can have multiple bufferstreams) | 16:00 |
greyback_ | alan_g: ack. I've no objection, just wanted to be sure which direction your api is going | 16:00 |
alan_g | Really I'd like Window to go the way that Application did and for it just to be an identifier. But the APIs to allow that are not there yet. | 16:02 |
alan_g | Once your stuff is working I will do another pass at making that work. | 16:02 |
greyback_ | ok | 16:03 |
alan_g | greyback_: any time you can't use the miral APIs is a time we need to enhance miral. | 16:20 |
alan_g | But don't let that stop you getting things working | 16:21 |
greyback_ | alan_g: true | 16:21 |
greyback_ | but I know you've plans for them too | 16:21 |
greyback_ | just want to avoid jmping on something you're about to kill | 16:21 |
=== chihchun_afk is now known as chihchun | ||
greyback_ | alan_g: I could do with your perspective. Please have a look at lp:~gerboland/miral/add-interactivity-to-WM | 16:42 |
greyback_ | just het last commit. | 16:42 |
greyback_ | I'm trying to expose functionality provided in the WMPolicy | 16:42 |
* alan_g looks.. | 16:42 | |
greyback_ | but getting access to the created WMPolicy isn't obvious to me, as it's wrapped with a builder which is only run inside the BasicWM | 16:43 |
alan_g | Can you pass the constructor somewhere to register the interface you want it to support? The the constructor just does "connector->register(this)" ... and the destructor can deregister | 16:46 |
greyback_ | Yep. That was an option I was considering. | 16:59 |
greyback_ | I can't really think of anything else | 17:00 |
greyback_ | thanks | 17:00 |
=== dandrader|afk is now known as dandrader | ||
=== dandrader is now known as dandrader|afk | ||
=== dandrader|afk is now known as dandrader |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!