=== 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
duflutsdgeos: I need your advice. A QML scrolling bug that still exists under Unity7 is which component (not QtMir I assume)?07:19
tsdgeosduflu: it depends i guess, what kind of bug?07:20
=== chihchun_afk is now known as chihchun
duflutsdgeos: Speed/accuracy. If I'm running Unity7 then it's not QtMir, surely. What component is it?07:20
tsdgeosduflu: i guess you could start with qtdeclarative-opensource-src07:22
duflutsdgeos: That's it, thanks07:22
tsdgeosi don't understand exactly what you mean with accuracy07:23
duflutsdgeos: I mean webbrowser app scrolls well but dash and systems settings do not07:23
dufluEven under unity707:23
ohNoes_sup all07:41
ohNoes_the scroll is too fast now with Xmir07:41
ohNoes_like when you scroll down on g+ it scrolls like 3 screens or such07:42
ohNoes_worked fine before07:42
ohNoes_xmir/yakkety-proposed,now 2:1.18.4-1ubuntu4 amd64 [installed]07:43
* duflu looks07:49
dufluohNoes_: Yeah are you using a laptop touchpad?07:49
dufluohNoes_: Please let me know what device you're using for scrolling. I'm working on triaging those issues right now07:52
dufluHmm is G+ a native or web app?07:52
dufluI've never looked07:52
ohNoes_duflu: mouse wheel07:53
dufluohNoes_: 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 page07:53
dufluOK, I'll do that now.07:53
ohNoes_scroll up and down with  mouse wheel07:53
ohNoes_tried with geany, firefox07:54
dufluI'm presently doing an Xmir and scrolling bug overhaul07:54
ohNoes_nice :D07:55
ohNoes_would be awesome.. like totally awesome to have a way to configure the scroll rate07:55
ohNoes_maybe in system settings or something07:56
dufluohNoes_: System Settings suffers from bug 1605513 which is different. Thanks for pointing out the regression with Firefox!07:59
ubot5bug 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/160551307:59
ohNoes_np :D07:59
=== chihchun is now known as chihchun_afk
dufluohNoes_: 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 page08:36
dufluohNoes_: Yep I figured it out thanks...  https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/160724008:36
ubot5Launchpad 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 down08:36
ohNoes_yay :d08:36
=== chihchun_afk is now known as chihchun
dufluSaviq: Can you tell me what code in Unity8 synthesises the vscroll events from Qt wheel angles?08:45
dufluWhat source package?08:45
anpokduflu: i guess you need: http://bazaar.launchpad.net/~mir-team/qtmir/trunk/view/head:/src/modules/Unity/Application/mirsurface.cpp#L10608:47
anpokand http://bazaar.launchpad.net/~mir-team/qtmir/trunk/view/head:/src/platforms/mirserver/qteventfeeder.cpp08:47
dufluanpok: Thanks. But I found the answer (to multiple questions)08:48
ubot5Launchpad 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
dufluohNoes_:  https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1607240/comments/608:51
ubot5Launchpad bug 1607240 in unity8 (Ubuntu) "Unity8 default mouse wheel speed is 7.0 (it should be 1.0)" [Undecided,Confirmed]08:51
dufluThat will break non-Xmir apps but it's a start. We need to fix scrolling in multiple components still08:52
ohNoes_oh wow! that worked just fine! thanks duflu :D09:08
dufluKind of. Except it's broken elsewhere now09:08
ohNoes_yeah but it fixed muh firefox :D09:09
ohNoes_for now09:09
ohNoes_sort of09: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 ago09:12
dufluohNoes_: Yeah but it's not labelled. Just magic09:13
ohNoes_awesome black magic :D09:13
dufluanpok: Weird. QtMir multiplies vscroll by 15 to make angleDelta. And then on the way out just sets client vscroll = angleDelta. No division09: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 related09:55
dufluohNoes_: 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 once09:56
duflu"multiplies" I mean09:57
dufluohNoes_: By the way the keyboard is unrelated. Different code09:57
ohNoes_even so, i find it amazing that i can change the scroll speed! :D10:02
ohNoes_+1 will use unity8 again10:02
dufluHah. 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/-110:03
dufluThe left hand doesn't know what the right hand is doing10:03
dufluAnyway, that's progress. My only goal was to fix Xmir if required and it's not required. Dinner time10:04
alan_gduflu: yes, just tried in miral+Xmir. Seems fine10:05
dufluYeah I would expect so10:05
dufluGood night10: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_ggreyback_: 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 going16:00
alan_gReally 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_gOnce your stuff is working I will do another pass at making that work.16:02
alan_ggreyback_: any time you can't use the miral APIs is a time we need to enhance miral.16:20
alan_gBut don't let that stop you getting things working16:21
greyback_alan_g: true16:21
greyback_but I know you've plans for them too16:21
greyback_just want to avoid jmping on something you're about to kill16: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-WM16:42
greyback_just het last commit.16:42
greyback_I'm trying to expose functionality provided in the WMPolicy16: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 BasicWM16:43
alan_gCan 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 deregister16:46
greyback_Yep. That was an option I was considering.16:59
greyback_I can't really think of anything else17: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!