/srv/irclogs.ubuntu.com/2013/03/30/#ubuntu-unity.txt

nhainesI was wondering whether there was a way to allow HUD to appear over a GTK top level window.  I'lm looking at a program that is fullscreen with no menus, but would benefit by having HUD integration when running under Ubuntu.01:24
smspillaznhaines: as long as the window is not override redirect the hud should work fine02:00
=== hggdh_ is now known as hggdh
=== _salem is now known as salem_
=== morphis|away is now known as morphis
=== salem_ is now known as _salem
nhainessmspillaz: It must do that, then.  I'm looking at PyRoom and was considering creating a menu tree to allow for HUD interaction.  But while HUD captures the Alt key, it never appears.04:39
nhainessmspillaz: Unfortunately, I'm not a GUI programmer, but I guess I have some research to do.  Thanks for a starting point.  :)04:39
smspillaznhaines: yeah, getting the shell to stack above fullscreen windows is a bit of a strange usecase at the moment04:40
smspillazI remember brandontschafer tried to make it work without too much success04:40
smspillazits not really designed to do that04:40
nhainessmspillaz: when I researched it it did look like a weird corner case.  And I imagine it'd be easier to do with specific toolkits instead of universally.04:51
smspillaznhaines: the problem is with unity itself, not your application04:51
smspillazor rather, unity sits in an area thats not very clearly defined by the EWMH04:51
smspillazthe EWMH and the ICCCM mind you04:52
smspillazbasically, every other desktop will have its menus be override redirect windows which take a grab04:52
smspillazunity can't do that because we need to support the XDnD case from the dash04:53
smspillazso the "dash" is actually defined as a panel so that it stacks on top of normal windows04:53
smspillazwe looked into making the dash a "fullscreen" type window, but thats also tricky because then it will cause the input window to be unredirected04:53
nhainessmspillaz: oh, I understood that it was a Unity issue.  But I figured GTK had a better chance of having a workaround or solution rather than random GUI toolkit.05:31
smspillazyeah05:32
smspillazits "fixable" but not without a lot of effort05:32
smspillazI think given the fact that the current incarnation of unity is "legacy" that won't really happen05:32
nhainesPyRoom is a "distraction-free" text editor.  So we specifically don't want the Unity panel or the app indicators or notification windows popping up.05:32
nhainesOtherwise it'd be a quick fix to just run maximized the entire time.05:33
smspillazyeah :/05:33
nhainesSo it's not like PyRoom is a standard use case either.  :)05:34
nhainesOoh!  Any idea if UnityNext + Mir will address this issue?05:34
smspillaznhaines: I guess you can add it to the list of "things that UnityNext will address"05:34
smspillaz(that list is really really really really long by the way)05:34
smspillaznhaines: I can say as much as this: anything is addressable, no matter what codebase you're running on, its just a matter of whether or not the engineers want to address it on *this* rewrite ;-)05:35
nhainessmspillaz: granted.  ;)05:35
nhainesWell, I will say that Unity is beautiful and the shell plus HUD and even the voice search is what I want my computing to be.  And that's ignoring the fact that Ubuntu Touch is stunning.05:36
smspillaz:)05:36
nhainesI am also really sad that smart scopes got pushed back a cycle, but it's tempered by my hate for unannounced post-beta FFes from Canonical.  ;)05:37
nhainesBut seriously, I'm looking at PyRoom and thinking "shortcut key-only commands are horrible.  If only we had a powerful way to expose commands" when I realized HUD was that way.  Ah well.  :)05:38
smspillaznhaines: guess there's no reason why a temporary workaround couldn't be "run in hud capable mode" which just runs pyroom maximized05:39
nhainessmspillaz: I considered that last night as well.  We just might as well have it be option in the preferences window.05:41
nhainessmspillaz: I know that a HUD goal was to undterstand command synonyms for searching.  I was thrilled to see it in Ubuntu Touch.  Is there any work I can plan for now in PyRoom on Ubuntu 13.04 that will make this automagically happen when it's available maybe in 13.10?05:48
smspillaznhaines: I don't know about the HUD goals, I just maintain the shell/wm integration in unity-legacy05:48
smspillazask tedg05:48
nhainessmspillaz: thanks.05:49
nhainesI'll take a pass at the mobile API and then I'll shoot him an email or something.05:50
nhainessmspillaz: actually, I've been noticing in raring that the Unity Launcher doesn't always slide in when I push past the left side of the screen.  Are you the one I shake my fist at about that?06:04
nhaines(It's random and I'm trying to narrow it down a bit more before I starting with the bug reports.)06:04
smspillaznhaines: ask andyrock06:05
smspillazor Trevinho06:06
smspillaznhaines: in any case, its pressure based, you have to push your mouse against the side of the screen for a bit06:06
smspillaz(its designed to prevent it from accidentally coming out when you mouse to the back button on browsers for instance06:07
nhainessmspillaz:  yes, my favorite feature.  But occasionally it just won't come up and I have to open the Dash.  It seems to start working again after that.06:07
smspillaz*shrug*06:07
nhainesNever a problem in quantal, but I can't figure out why it's stopping (or when) in raring.  I might experiment more this weekend.06:08
nhainesIn any case, never fear.  If I figure it out it's going on launchpad.  :)06:08
smspillaznhaines: could have been when we moved to the upstream pressure patches06:09
smspillazask brandontschafer06:09
smspillazI think he was doing the work for that06:09
nhainessmspillaz: thanks.  Can I find him in here later?06:10
smspillazyeah PST I think06:10
nhainesWhich is my time zone so that's perfect.  Great.  :)06:11
smspillazisn't it like 1am for you ?06:11
nhaines11pm.06:11
smspillazI always get confused about SFO time06:11
nhaines1am comes all too soon, don't worry.  ;)06:11
=== wgrant_ is now known as wgrant
=== Pici` is now known as Pici

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