/srv/irclogs.ubuntu.com/2016/09/13/#ubuntu-unity.txt

=== JanC is now known as Guest35472
=== JanC_ is now known as JanC
=== naughtypeaches is now known as peaches
=== peaches is now known as boopear
=== boopear is now known as peaches
=== peaches is now known as naughtypeaches
=== alan_g is now known as alan_g|afk
=== dpm is now known as dpm-afk
=== Guest38596 is now known as jzheng
=== jzheng is now known as Guest99680
=== dpm-afk is now known as dpm
=== mardy_ is now known as mardy
=== davmor2_ is now known as davmor2
=== dandrader is now known as dandrader|afk
=== JanC is now known as Guest6029
=== JanC_ is now known as JanC
=== dandrader|afk is now known as dandrader
seb128Saviq, unity8 stack depends on boost 1.60 in yakkety but 1.61 is the version is main, do you know if anyone looking at using that one/would should work on it?16:53
josharensonSaviq: I see the "enter immediately launches a session" issue... should be a quick fix. How about I make the highlight always orange for now, and then fix it in a separate branch so we can land everything?16:54
Saviqjosharenson, wfm16:54
Saviqjosharenson, also, note I mentioned going < with Enter (I assume, there's no highlight around <) also launched the session here16:54
Saviqseb128, lemme try and go down the dep graph16:55
josharensonSaviq: ah the header isn't highlightable. How many different DEs do you have installed16:55
Saviqjosharenson, 4 show up16:56
josharensonSaviq: either nothing is highlighted (which is a bug) or something not visible is highlighted (which is a bug) but they header is never highlighted16:56
josharenson(header === < )16:56
Saviqjosharenson, might be16:56
josharensonSaviq: looking into it and making everything orange16:56
josharensonmterry: some questions about your session-lightdm branch16:57
josharensonmterry: I'm still seeing the normal unity7 lockscreen when switching users?16:59
Saviqjosharenson, that's internal to unity717:01
Saviqit's inside your session (as in unity8 when the greeter's built-in)17:02
josharensonSaviq: I know, just wondering how mterry was switching users when seeing a lightdm crash (although now that you mention it, he told me it happened regardless of the greeter)17:02
Saviqah ack17:02
Saviqseb128, boost is used across the board, from mir through platform to API guys17:03
SaviqI suppose a coordinated migration is in order17:03
seb128Saviq, k, can you get that on some board or talk to whoever can¿17:09
seb128?17:09
Saviqseb128, only question is, can we? thinking vivid and xenial?17:09
seb128well, if not talk to doko/steve about how we deal with 1.60/6117:09
=== dandrader_ is now known as dandrader
Saviqseb128, you say 1.60 in yakkety, we only have 1.58 in vivid, so I suppose we don't have versioned B-Ds, just we need rebuilds so that 1.61 gets picked up?17:18
Saviqalso only 1.58 in xenial17:18
Saviqok looks like we just need rebuilds of a few things17:21
Saviqseb128, can we just push no-change rebuilds to yakkety directly then?17:23
seb128Saviq, I guess we can17:24
Saviqseb128, seems like we're not the first ones17:25
Saviqhttps://launchpad.net/ubuntu/+source/unity-scopes-api/1.0.6+16.10.20160617-0ubuntu217:25
Saviqhttps://launchpad.net/ubuntu/+source/thumbnailer/2.4+16.10.20160719-0ubuntu217:25
seb128k, good17:25
seb128so should naturally migrate as things land17:25
seb128thanks Saviq!17:25
Saviqexcept they fail to builds17:25
Saviq-s17:25
Saviqneed bugs for that17:25
Saviqand libphonenumber on top of those two, that's the only three I found still dep'ing on 1.6017:26
Saviqfiling a bug that they fail to build then17:26
Saviqseb128, and even being handled in the MIR bug #1613561 #161246117:29
ubot5bug 1613561 in thumbnailer (Ubuntu) "[MIR] thumbnailer" [Undecided,Incomplete] https://launchpad.net/bugs/161356117:29
Saviqand I believe Ken is releasing a libphonenumber17:29
Saviqseb128, so all in all, I think it's being worked on, assuming people look at their MIR requests17:29
seb128Saviq, great, thanks for checking18:07
mterryIs there an easy way to restrict the normal qml focus chain to one widget hierarchy?  Like, normally Tab will go to the natural next widget, no matter where it lives.  But I want a TabFocusScope style widget to keep it inside its own bubble and wrap around inside that scope...18:35
mterry(my use case is keeping Tabs inside Shell in tst_Shell.qml and not have it escape to the controls on the right, to more properly emulate real tab conditions)18:36
Saviqwtf... adds on doc.qt.io search page... https://doc.qt.io/qt-5/search-results.html?q=focusscope18:42
Saviqmterry, anyway, doesn't FocusScope do it?18:42
mterrySaviq: I don't see ads there18:43
mterrySaviq: no it doesn't seem to18:43
mterrySaviq: and I don't think it should?  Like if you tab on the last element of a FocusScope, I think the expectation is that you go wherever the next focusable item is, even outside it18:43
mterryBut I've never grokked qml focus18:44
Saviqmterry, TBH I didn't know there was any magic about Tabbing18:44
Saviqmterry, but I suppose https://doc.qt.io/qt-5/qml-qtquick-keynavigation.html is a place to start18:44
mterrySaviq: there is an activeFocusOnTab property, that's false by default for everything18:44
mterrySaviq: and you can set it to be true if you want to be in the focus chain18:44
mterrywhich seems to be the "easy" way to do tabbing -- you can do keynavigation if you know all the elements that should be in the chain18:45
mterryBut if you are putting together elements that don't know each other, activeFocusOnTab seems like a more natural fit18:45
mterryBut man, there are so many qml focus properties and schemes18:45
mterryI get lost on what the best way to do focus is18:46
josharensonmterry: So SessionsList is forwarding return presses to GreeterPrompt (WideView->LoginList->GreeterPrompt->PromptButton) which causes a passwordless user to instantly login when return is pressed on the SessionsList18:58
josharensonfollow all that?18:58
mterryI think...18:59
josharensonmterry: There are several ways this could be handled, none of which I'm happy about as they don't address the issue of why the event is being forwarded, even though SessionsList is accepting it18:59
mterryvia..18:59
mterry        Keys.onReturnPressed: {18:59
mterry            sessionChooserButtonClicked();18:59
mterry            event.accepted = true;18:59
mterry        }18:59
mterryright?18:59
josharensonmterry: yeah, has no effect18:59
josharensonmterry: well not for this at least18:59
josharensonmterry: GreeterPrompt sets focus on the button and sends it the returnPressed event19:00
mterryThat would normally make sense, but we don't know why GreeterPrompt gets the return event?19:01
josharensonmterry: correct... could be considering it as a mouse press I guess19:01
josharensonmaybe just need to eat mouse events19:01
mterryjosharenson: could the handling of sessionChooserButtonClicked be doing something we don't like?19:02
mterryjosharenson: if you move accepting the event up before that, might it help prevent that? (if that's going on at all)19:02
mterryMe and qml events have never understood each other19:03
josharensonmterry: I tried that19:03
josharensonlol19:03
mterryjosharenson: if you simply comment out that clicked signal, does it still happen?19:03
mterryi.e. are we doing it, or is qml?19:03
josharensonmterry: no. If I prevent the prompt button from automatically gaining focus, it doesn't happen either19:03
josharensonmterry: I think its qml19:03
josharensonmterry: I can probably solve this by adding a variable, but seems hacky19:05
mterryyeah...19:05
josharensonmterry: LoginList and SessionsList are siblings, so accepting the event only prevents the parent from getting it...19:05
* josharenson thinking out loud19:06
mterryjosharenson: a not unreasonable thing to do is to make LoginList enabled=false when handling onSessionChooserButtonClicked...  That might fix this as a side effect (and any other weird focus/quick-typing issues while we swap widgets)19:06
mterryI guess that could be a propertychange on the State19:07
josharensonmterry: no effect... I keep getting that feeling that I'm running the exe from the wrong branch directory or something (cause nothing is having an effect), but its not the case :-p19:08
josharensonmterry: going the hack route for now...19:11
mterryjosharenson: yeah sorry I don't know what might be going on  :(19:11
mterryI have my own tab-focus mysteries going on right now that I don't understnad19:11
josharensonmterry: yeah, its weird... haha19:12
mterryjosharenson: actually -- here's a tip I just now found out.  Items have a activeFocusOnTab property that if you set to true, it automatically puts it into the default tab focus chain.  So you don't need to manually hook things up with KeyNavigation.tab19:13
josharensonmterry: that could help clean up 1 line of code by adding 1 additional line :-p ... certainly cleaner tho19:14
mterryjosharenson: heh.  Yeah, just not needing to know the id of the next one is a bit nicer19:14
josharensonmterry: and the logic is in the right place too, I'll update this branch19:15
=== bgd is now known as 7GHAAAAHG
=== naughtypeaches is now known as Guest45670
=== kgunn is now known as Guest94770
=== Guest4608 is now known as pcw
=== pcw is now known as PaulW2U
ltinkl-u8ChrisTownsend, ping pls :)19:58
ChrisTownsendltinkl-u8: Hey!19:59
ltinkl-u8ChrisTownsend, cool \o/19:59
=== Guest45670 is now known as peaches
=== peaches is now known as Guest59784
=== Guest59784 is now known as badpeaches
=== badpeaches is now known as peaches

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!