/srv/irclogs.ubuntu.com/2016/02/05/#ubuntu-unity.txt

=== alecu_ is now known as alecu
lpotterdo scopes use QNetwork & friends?08:59
tsdgeoslpotter: depends what you mean by scopes09:05
tsdgeosthe scope backend no (afaik)09:06
tsdgeosthe scope ui (i.e. the unity8-dash) yes09:06
Saviqtsdgeos, hey, so bug #1540490 is getting some heat09:12
ubot5`bug 1540490 in unity8 (Ubuntu) "app icons getting their top cut off (Ubuntu Touch)" [High,In progress] https://launchpad.net/bugs/154049009:12
Saviqtsdgeos, if you could please prio it (you were able to reproduce?)09:12
tsdgeosSaviq: yes i can reproduce it09:13
tsdgeosit's somewhat strange since we have not changed that code so no idea why it's happening now09:13
tsdgeosi have a "slight" idea of what may be the problem09:13
tsdgeosbut that's still far from actually producing a fix09:13
Saviqtsdgeos, ack, keep me posted please09:14
tsdgeossure09:14
Saviqdednick, hey, so people were happy with the form factor changes, with the exception that they excepted their state to be set to what's real (so if they got fullscreen, they would like to know)09:17
SaviqI'll test now to see if I can repro your issue09:17
dednickSaviq: um. who would like to know? clients?09:29
Saviqdednick, yes09:30
dednickSaviq: they're the one that set the flag right?09:30
Saviqdednick, but they don't know what they got in return09:30
Saviqdednick, whether they're still windowed or not09:30
Saviqdednick, and they might want to adapt their UI depending on that09:31
Saviqdednick, IIUC it should be possible for us to tell them their state, same as when we maximize apps and whatnot?09:32
Saviqdednick, and yeah, can confirm the vertical offset on OSK09:33
dednickSaviq: mmm. i'll have to think about that. we'll probably have to start saving old states then...09:35
dednickwhich is shit09:35
Saviqdednick, I thought that we might need to, but couldn't see a reason TBH09:35
Saviqdednick, if they unset the flag, they either go back to windowed (if they were fullscreen) or remain windowed (if they are windowed)09:37
dednickSaviq: are we also supposed to reset the flag if we go into desktop mode?09:37
dednicksince it no longer does anything09:37
Saviqdednick, don't think so, can we even set the flags from our side?09:37
dednickQWindow::setWindowFlags09:38
Saviqdednick, it does, that's exactly how we remember to switch it to fullscreen when you go back to staged09:38
Saviqotherwise we'd have left it non-fullscreen09:38
Saviq== bad09:38
dednickright. so if they requested fullscreen while in desktop mode, and switch back to phone?09:39
dednickit goes to non fullscreen if the flag isn't set right?09:39
dednickthink we should get rid of this flag business later. can put something into the sdk so that the clients can use the form factor to determin all this state business.09:41
Saviqdednick, that's the point, we don't want them to use the form factor to keep the behaviour consistent09:41
Saviqdednick, if they requested fullscreen in desktop mode and go to staged, we're back in square one (flag + fullscreen), unless they unset the flag09:42
Saviqdednick, so then if you go back go windowed, you get it in a window again, and that's fine09:42
dednickright. which is behaviour based on form factor. so why arent we using it? :P)09:43
Saviqdednick, because we don't want apps to decide09:43
Saviqdednick, if they go fullscreen and unset the flag, they are fullscreen across the board09:43
dednickSaviq: sigh. the apps are deciding anyway since they use the flag specifically for this behaviour. anyway...09:46
dednicki'll try out setting back the state09:46
Saviqdednick, I kinda know, but if we decide we want this behaviour to be different in any way, we can change it without touching apps then09:47
Saviqdednick, I think what needs to happen is we react differently to formfactor, flag, state changes, not in a single updateBasedOnAll method09:47
Saviqdednick, but09:47
Saviqdednick, more important for today - the OSK offset09:47
Saviqdednick, if we don't get the client updates, fine, but we can't land with the OSK skewed09:48
dednickSaviq: yeah. i'm not really sure whats going on with that panel hack. it shouldnt really have any effect, but it does09:48
dednickjust going to try remove it and see if that fixes the issue quickly.09:50
Saviqdednick, also just realized we're not reacting well to form factor changing at the same time window state does, if I go from staged to windowed, the flagged windows end up being tiny for some reason10:04
Saviqworried it's our fullscreen animation going awry10:05
dednickSaviq: yeah, i've seen that as well10:06
dednickthink it's saving the state when it's still animating maybe10:06
dandradermzanetti, how do I perform an alt+tab in "make tryShell"?11:47
mzanettidandrader, there is an itemselector on what the ctrl key should do. set it to "alt" and then press ctrl+tab11:48
* mzanetti off today11:48
dandraderoh11:48
dandradermzanetti, where question then: and where is that "itemselector" located?11:49
dandraders/where/last11:49
dandradermzanetti, nevermind. it just works. thanks11:49
mzanettidandrader, it might hasn't landed yet... it will only come with the launcher stuff I believe, where tryShell also required Super+Tab etc11:50
dednickSaviq: i've pushed the fix for the osk offset. i'm not really sure why it happens on osk and not other surfaces though...11:51
dednickmust be something to do with how it's position in u811:51
Saviqdednick, ack, tx11:53
Saviqdednick, I'm gonna get it under QA as is, without the "feedback loop"11:53
dednickSaviq: ok thanks.11:53
Saviqdednick, but please have a look at that anyway11:55
dednickSaviq: sure will11:55
Saviqwith somewhat lower pressure, though :)11:55
TheRockIs there any chance of Canonical participating in GSOC this year?11:56
Saviqtsdgeos, cimi, looking at https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/ we managed to make lazyImage worse atm ;)12:00
tsdgeos!\o/12:00
tsdgeosSaviq: but that's without the new fix, no?12:01
cimiSaviq, hurray!12:01
Saviqtsdgeos, yeah yeah12:01
tsdgeosk12:01
dandraderDoes anybody know what makes the greeter go away when a new application appears?12:24
Saviqdandrader, focus event12:24
Saviq-ish12:25
Saviqdandrader_, focus event-ish12:26
Saviqdandrader_, Shell.qml:43212:27
dandrader_Saviq, is that trunk? Shell.qml:432 for me is a comment: "// See powerConnection for why this is useful"12:28
Saviqdandrader_ right, it's not, :417 then12:28
dandrader_Saviq, this is hiding the launcher12:29
=== dandrader_ is now known as dandrader
Saviqdandrader, d'uh12:32
=== dandrader is now known as dandrader|afk
Saviqdandrader|afk, greeter.notifyAboutToFocusApp() then? :)12:34
Saviqdednick, so what about the tiny app window when switching to windowed?12:35
dednickSaviq: ah. havent looked into that yet. will do now.12:40
ltinklSaviq, dednick: I think I see something fishy in the log regarding the tiny window: http://paste.ubuntu.com/14886821/12:44
Saviqltinkl, different tiny window I think ;)12:45
Saviqltinkl, we're still on silo 57, not 5112:45
ltinklSaviq, yeah but wth is going on there with dash... it starts suspended, then gets an initial (-1,-1) size and twice, then focused twice, and moved 0 -> 012:48
Saviqltinkl, sure, I'm just saying dednick's not looking at that silo at all, you might wanna discuss with Daniel instead12:49
ltinklSaviq, kk12:49
=== dandrader|afk is now known as dandrader
dandraderSaviq, for the record: It's Shell.qml:218 "greeter.notifyAppFocused(appId);"12:57
Saviq:)12:57
Saviqdednick, hey, any luck?14:41
dednickSaviq: trying to sort figure out some lockup issues when switching modes.14:44
oSoMoNis there some sort of public API that would allow a QML app to figure out whether it’s running under unity8 or another DE ?14:46
oSoMoN(I know this question sounds wrong, but I need to work around a bug in notify-osd, and I need to do it conditionally, i.e. no need for the workaround under unity8)14:47
SaviqoSoMoN, you could switch on QT_QPA_PLUGIN if you really need14:47
oSoMoNthat’s basically what I’m already doing (checking QGuiApplication::platformName()), but I was hoping for something accessible from QML directly, without having to expose it in C++14:50
=== dandrader is now known as dandrader|afk
tsdgeosSaviq: https://code.launchpad.net/~aacid/unity8/fix_dash_icons_cut/+merge/28519415:01
tsdgeosnot sure if it is *THE* fix but it's *A* fix15:01
SaviqoSoMoN, then no, can't say there is anything15:02
Saviqtsdgeos, you mean there could be a better way to fix?15:07
tsdgeosthere could be a different way to fix it probably15:07
tsdgeosnot sure if it would be better15:08
tsdgeossince i haven't found it :D15:08
Saviqtsdgeos, ok, added to silo 5715:08
tsdgeosotoh this is probably cleaner/less risky too15:09
Saviqdednick, that's re: the apps getting tiny, or some other lockup you've found?15:09
dednickSaviq: it's something else. but it's making me not be able to reproduce the tiny apps now :/15:10
dednickSaviq: told you about it a couple of days ago. u8 locks up or crashes when changing form factor.15:10
dednickSaviq: does it happen to you with the dash?15:12
dednicknevermind. just reprod15:13
=== dandrader|afk is now known as dandrader
Saviqdednick, not dash, just fullscreen apps15:18
Saviqdednick, but if we're getting lockups (I never did, actually)15:18
Saviqdednick, we probably should not land this yet15:18
dednickSaviq: dont think greyback has reprod a lockup, but i think he's got a crash or 2.15:20
Saviqnever had either, the only issue I saw were the tiny windows15:21
greybackno lockup here, but I am getting crashes15:21
=== dandrader is now known as dandrader|lunch
=== sil2100_ is now known as sil2100
dednickSaviq: just pushed a fix for the tiny windows. still a bit weird wonky though. when switching stage the app resizes from small to normal size16:30
=== popey_ is now known as popey
dednickshoudl really resize from fullscreen to normal, but it's getting reset to 0 somewhere.16:31
Saviqdednick, ack, I'm cutting our losses on that for today though, as you guys mention lockups and crashes - it looks like we're getting some slack anyway16:34
dednickSaviq: ok16:34
Saviqdednick, so yeah, no immediate deadline on it, but would be nice to get when we can16:35
dednickSaviq: if we want to bypass the crash issues we're having now I can look into using mir_surface_set_state to push the window states back to qtubuntu. ie make the decision in the shell and dont bother the client with form factor ftb. Obviosuly will need to be solved though.16:39
dednickhandling it client side was supposed to be the "quick fix"!16:40
dednickSaviq: and we use the new mir "low crome" api16:41
Saviqdednick, WFM16:41
dednickok, i'll take a look into it.16:42
=== dandrader|lunch is now known as dandrader
=== dandrader is now known as dandrader|afk

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