/srv/irclogs.ubuntu.com/2012/03/29/#ubuntu-unity.txt

jalcineHey guys!01:24
jalcineI'm working on possibly adding a nifty feature into Unity.01:24
jalcineNow, after reading http://developer.ubuntu.com/resources/technologies/unity/lenses-and-scopes/, I noticed something about filters in scopes.01:25
jalcineIs it possible to perhaps implement a means of opening another dialog perhaps, or a silent notification whilst the filter's activated?01:25
jalcineI'm looking to adding speech recognition into the filter.01:26
mhall119jalcine: to the filter?01:31
mhall119or to the search?01:31
jalcineWell, I'm not sure how specifically how it'd work. I'd like to provide the ability to speak and have the user's text be used as a search query.01:32
jalcinesearch, sorry.01:32
* jalcine is still learning01:32
mhall119ok, that would go into the Dash itself then01:32
mhall119and some common library so it can be mostly shared between unity and unity-2d01:32
mhall119that's a pretty big task you've picked to work on, it might be a good idea to send your ideas to the mailing list so they can be discussed by more people to see what would need to be done01:34
mhall119also to make sure that you're not missing any preliminary work/designs/discussions that have been done around voice recognition in Unity01:35
jalcineHeh, I managed to get dictation working with my application so I'm pretty confident.01:35
jalcineAlrighty then, I'd search the archives for anything interesting then.01:35
jalcineThanks01:35
mhall119jalcine: these docs are still very much under construction, but http://unity.ubuntu.com/getinvolved/development/unity/ might be helpful to you01:36
mhall119I'd like to see speech recognition built into both the Dash and HUD01:37
jalcineOnly real concern I have is focusing, but I'd need some to familiarize myself with Unity's inner workings.01:39
jalcineSee you in a week or so.01:39
mhall119that's what i was suggesting to bring to the ML, one the one hand having it automatically accept voice input would be nice, I can see it being undesirable, and having to press a button to activate voice might seem to defeat the point of not typing01:43
jalcineWell, the way it works, it'd only recognize whenever it detects input.01:44
jalcinerecognition could occur only when the user focuses within the input field (changing the placeholder text to "type or speak to search" or something)01:45
jalcinethe tech's decent enough to know when you sneezed, coughed or made some kind of "white-space" noise (like uhm, and er)01:46
jalcineThe only real danger that I can foresee is that the code's largely written in Qt.01:46
jalcineWe're working on Python bindings so that could probably fare better, but I'd have to see.01:47
mhall119jalcine: if it's already using Qt, try implementing it in http://unity.ubuntu.com/getinvolved/development/unity-2d/ first02:04
smbdidrocks, Do you know more about the current state of bug 963633? I saw this just yesterday with fresh installs on i915 based hw. One of those was via orchestra, so that even installed latest archive immediately.07:29
ubot5Launchpad bug 963633 in unity "Unity 5.8: Login to blank screen (all black or just wallpaper)" [Critical,In progress] https://launchpad.net/bugs/96363307:29
didrockssmb: hum, we never noticed complain on direct install though07:30
didrockssmb: duflu has almost a fix07:30
didrockssmb: can take one or more two days07:30
didrocksthe workaround we push for beta 2 "fix" the upgrade case, which is the main one07:31
didrocksseems nobody notice a blank desktop directly installing beta2 though07:31
smbdidrocks, Ok, yeah I had been thinking it was upgrade only. So I am a bit worried this happened on the new installs. Both alternate. Though one of them from CD and (since I did that late yesterday while watching TV) I am not sure whether it was directly after install or after the first complete upgrade after.07:32
didrockssmb: can be, the most important note is: after a second boot, did it still happen?07:33
smbThe second was alternate 64bit and through orchestra. Btw, both with tha background visible and actually something working as I can launch a terminal with ctrl+alt+t07:33
didrocksok, the second is the unityshell plugin removed from the config07:34
didrockssmb: this is no a new bug, it happened in the past already…07:34
didrockssmb: I pinged the compiz guys for a year about that one, we never had a great reproducer07:34
didrocksbut the fix that duflu is doing is supposed to avoid it as well07:34
smbOk, yeah, I am not sure I really know exactly how that one has been triggered. Just coincidence... ? I guess, when I see the bug going into fixed I will have to run the installs again.07:36
didrockssmb: right. I can tell you as well :)07:39
didrockssmb: please keep us in touch, as it's a very tricky behavior ;)07:39
didrocks(also multiple causes resulting in the same effect, so people mixing)07:39
smbdidrocks, Right, I rather would not want to have this behaviour going into release... ;)07:40
didrockssame for me :)07:40
smbYeah, hard to keep seperate if so similar07:40
smbAt least I never saw a completely black screen07:40
smbOnly the background only (unity not starting) one. But that one across various gfx hw (i915, ati)07:41
smbdidrocks, Oh, btw. Just interested in the expected behaviour here: what should happen when I run "unity --reset" in a gfx terminal/vt (should the command return?). Cause for me it either does not return or segfaults (while still fixing issues)07:44
didrocksno, it's launching compiz07:45
didrocksso it's at the end your compiz process07:45
didrocks(so shouldn't return, or you have a problem ;))07:45
smbOk, understood. :) Thanks07:46
didrocksyw ;)07:46
=== chaoticuk_ is now known as chaoticuk
=== chaoticuk_ is now known as chaoticuk
apwdidrocks, i managed to find a way to 100% reproduce: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/93408409:05
ubot5Ubuntu bug 934084 in unity (Ubuntu) "super+<unbound key> and sometimes super+<number> keys now cause launch to wedge with the key hints shown and retains focus instead of selecting the requested window" [High,Confirmed]09:05
apwdidrocks, simply hit Super+z (or any invalid combo)09:05
didrocksapw: oh nice, please ping upstream directly when you get reproducers :)09:05
apwdidrocks, found that cause the binding on Super+d moved somewhere else so that is invalid ... and my keyboard has a key for Super+d09:05
didrockslike sam, gord, thumper ;)09:05
didrocksapw: maybe linked to another bug we have (but fixed in trunk)09:06
didrocksanyway, worth a look from upstream directly09:06
apwdidrocks, heard of the panel showing up in the alt-tab thing ?09:06
didrocksapw: yeah, it's already reported, a known regression of 5.8. Pinged and assigned 1 week and half ago09:07
apwdidrocks, got a bug number so i can me-too it09:07
didrocksbug #96065209:08
ubot5Launchpad bug 960652 in unity (Ubuntu) "Switcher remains open after super+tab has been used." [Medium,Confirmed] https://launchpad.net/bugs/96065209:08
apwdidrocks, ahh thanks ... and the the panel in the alt-tab was that known or shall i file09:09
didrockspanel in alt-tab?09:10
apwdidrocks, with cirtain application running alt-tab shows both of my panels as windows i can select09:10
didrocksgreyback: unity-2d launcher reveal spot will finally not get in, right?09:10
didrocksapw: no, not sure about that one, please file a bug and ping om26er, who is dx upstream bug triager and should handle all those :)09:11
apwwill do thanks09:11
didrocksapw: thanks to you for all this feedback :)09:17
MCRHi :) Are there any news about: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/963872 ?09:19
ubot5Ubuntu bug 963872 in compiz (Ubuntu) "Precise 12.04: experiencing mad flickering after the most recent Compiz update to version 0.9.7.2" [Undecided,Confirmed]09:19
apwdidrocks, heh no problem, this is literally dog-fooding in action.  things i am seeing over long use09:19
MCRI cannot live without Compiz :'(09:20
didrocksyeah ;)09:20
apwdidrocks, om26er, https://bugs.launchpad.net/ubuntu/+source/unity/+bug/96808809:20
ubot5Ubuntu bug 968088 in unity (Ubuntu) "running xev triggers the panel(s) to appear in the ALT-tab switcher" [Undecided,New]09:20
MCRAlso I would like to compile Unity from source, but I do not know where to get the source for nux which seems to be required to do so. Could anyone point me to some wiki ?09:21
MCRNow I got everything up-and-running here (on Precise) I need for a productive system except Unity-3d/Compiz and Emerald (which does not compile anymore on 12.04).09:27
MCRI filed another bug report/regression on Precise I would very much like to see fixed (sorry for that :-D): https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/96811210:07
ubot5Ubuntu bug 968112 in compiz (Ubuntu) "Emerald (the original Compiz Window Decorator) fails to compile on Ubuntu 12.04 Precise, while it was working on all Ubuntu versions before" [Undecided,New]10:07
MCR* Ignore MCR *10:09
MCR:-X10:09
=== MacSlow is now known as MacSlow|lunch
=== _salem is now known as salem_
=== MacSlow|lunch is now known as MacSlow
mhall119emerald is still around?12:56
=== arges_ is now known as arges
=== tbf_ is now known as tbf__
=== tbf__ is now known as tbf
ryehello, may i ask about bug #943851 - pressing compose key still switches input focus from the widget - you can see it in the terminal or in http://people.canonical.com/~roman.yepishev/blur.html - it gets really annoying when you can't use compose characters e.g. in Picasa (as my wife noticed :) ) you can't rename the photo - it saves the name once you press the compose key16:12
ubot5Launchpad bug 943851 in Unity Distro Priority "[unity 5.6] Pressing Alts steals focus from current widget, cannot compose characters with AltGr" [High,Fix released] https://launchpad.net/bugs/94385116:12
MCRmhall119: any reason to get rid of the best if nothing is available by far that surpasses emerald in looks or functionality ? ofc it is still around ;)16:20
mhall119MCR: I just assumed it was swallowed up into Compiz Fusion years ago16:21
krnekheleshJohnLea: ping17:55
JohnLeakrnekhelesh; hyia, in a meeting atm17:56
krnekheleshJohnLea: oh...alrite sry to disturb, I'll catch with you later17:56
JohnLeakrnekhelesh; can you give me a quick summery of your question? ;-)17:57
krnekheleshJohnLea: it is about static quicklist support for gnome control center...if I am able to finish it, is there a chance of inclusion in precise?17:58
JohnLeakrnekhelesh; the person who would make that call would be didrocks in the platform team, he is the best person to ping18:01
JohnLeakrnekhelesh; thanks!18:02
krnekheleshJohnLea: thanks, I'll contact him18:03
ryebug: Windows+Tab - you start going through the windows, but you can't actually start new applications, then any alt+1..n keypresses actually start meaning super+1..n18:36
ryeby the way, is it known that some keyboard hints don't fit the space and get truncated e.g. in Russian translation?18:37
krnekheleshrye: 1st question, there is currently a bug with Windows+Tab in Unity 5.8..This will be fixed soon18:38
krnekheleshrye: 2nd question, regarding the truncation, please submit a bug report with a screenshot attached..18:38
ryekrnekhelesh: aha, bug #96065218:43
ubot5Launchpad bug 960652 in unity (Ubuntu) "Switcher remains open after super+tab has been used." [Medium,Confirmed] https://launchpad.net/bugs/96065218:43
ryekrnekhelesh: sorry, i forgot, when design decision is required, what tags should be added? - bug #96849418:53
ubot5Launchpad bug 968494 in unity (Ubuntu) "Unity keyboard hint screen labels are truncated when translations are long" [Undecided,New] https://launchpad.net/bugs/96849418:53
krnekheleshrye: needs-design18:59
krnekheleshrye: can you also add a screenshot..will be very helpful19:00
ryekrnekhelesh: done and done, i wonder why nobody noticed it before19:02
ryekrnekhelesh: another question - is it knownw that sometimes windows started in fullscreen leave the 29px gap at the bottom as if they haven't full-screened properly19:03
ryee.g. shotwell19:04
ryeand virt-manager19:04
krnekheleshrye: I have that with shotwell...I thought it was just me imagining stuf...I dont know about virt-manager since i do not use it19:19
krnekheleshrye: do you want to report it...I am in for support :)19:19
ryekrnekhelesh: already reported, though it may be something that shotwell and virt-manager do to open with the same geometry - bug #96851819:22
ubot5Launchpad bug 968518 in unity (Ubuntu) "Some apps started fullscreen don't take the whole height (shotwell, virt-manager)" [Undecided,New] https://launchpad.net/bugs/96851819:22
zygahi19:46
zygaanyone with radeon up for a very simple and quick test19:47
zygaopen the dash19:47
zygaswitch to app scope (or was that lens?)19:47
zygaand type something that returns no matches19:47
zygasay, 'cpufreq'19:47
zygafor me the first letter of the localized "does not exist" message is corrupted19:47
zygaanyone?19:48
sil2100zyga: radeon driver or fglrx?19:49
zygasil2100, fglrx, radeon was unbearably slow for me (in the dash and hud)19:49
zygasil2100, still, if you have radeon that's fine too, I'm interested to check if this is gpu related19:50
sil2100zyga: cannot reproduce it here19:50
zyganote: when I mean 'corrupted' I mean the first two pixels are19:50
sil2100zyga: I'm using fglrx right now19:50
zygalet me screenshot that19:50
sil2100zyga: ah, I think I know what you mean19:50
sil2100zyga: I actually experienced this bug in the past, a few weeks ago for sure19:50
sil2100zyga: what compiz/unity version are you running right now?19:51
jussihad a strange thing today, cant seem to reproduce it. was in chromium, hit alt, started to type but the focus stayed in chromiums address bar, even after clicking the hud input bar.19:51
zygasil2100, latest precise19:51
zygahttp://ubuntuone.com/19jrHrMtvgvFFrIO0VxkLe19:51
zyga(still uploading)19:51
zygaoh, I've got another one19:52
zygafont corruption in the thing that covers most of the screen on meta19:52
zyga(how do we call that element?)19:52
sil2100zyga: you mean, while holding? The help dialog?19:52
zygayes19:53
sil2100zyga: yea, I had this bug some time ago, not sure when it disappeared19:53
sil2100zyga: hmm, I'm using compiz 1:0.9.7.2-0ubuntu4 and unity 5.8.0+bzr2172ubuntu0+677 right now, and it seems to be fine19:53
zyga1:0.9.7.2-0ubuntu4 and 5.8.0-0ubuntu219:54
sil2100zyga: I also saw the 'first letter corruction' in the panel, where the title of the active window was19:54
zygasil2100, another screenshot on the way19:54
sil2100zyga: ok, so maybe it was an unity bug - which has been fixed in some staging unity version19:55
sil2100zyga: you can try the unity-team ppa if it fixes the issue19:56
sil2100Those might introduce more bugs, but you can always revert to the previous one19:56
zygahttp://ubuntuone.com/6kXxBB5RoPk33pie70vra519:57
zygathat's the one in the help screen19:57
zygaI cannot right now, I'm running a graphical app for the past 8 hours19:57
zygaI cannot exit it19:57
zyga(sucking all CPU during that time)19:57
sil2100zyga: polski ;)19:58
zygayeah19:58
sil2100zyga: na szczęście to już najprawdopodobniej naprawione19:58
sil2100zyga: just give it a shot once you'll be able to19:58
zygaok19:58
zygaon free drivers I had different issues19:59
sil2100At least we'll know for sure if it's fixed or just something specific for my system19:59
zygasil2100, also occurs in the hud, type ł20:00
zygasil2100, <space>ł looks good20:00
zygasil2100, but initial ł is corrupted20:00
sil2100zyga: actually, then this might have been a bug in nux20:02
zygasil2100, shall I report any of them?20:02
sil2100zyga: I would first check the unity-team/staging ppa's20:02
zygaok20:03
sil2100Not to waste time on filling the bug report for something that might have been already dealt with - if it would be still not fixed for you, please report a bug20:03
sil2100I'm currently using 2.8.0+bzr606ubuntu0+326 of libnux-2.0-0, from unity-team staging20:04
=== yofel_ is now known as yofel
zygasil2100, do you think the gpu type is important (apart from just the gpu vendor?)20:06
sil2100zyga: I don't think so, not regarding this problem I think - fglrx has many specific quirks just by itself20:08
mhall119woot!  Got an app indicator for my python/gtk app working!20:53
=== salem_ is now known as _salem
bschaeferthomi, ping21:06
thomibschaefer: yo21:06
bschaefersoo would you know why self.hud.toggle_reveal() doesn't feel like doing anything in test_ibus.py?21:06
thomidoes unity log anything?21:07
bschaefertheres no error, it just doesn't open anything21:07
thomibschaefer: it's better to use the ensure_visible / ensure_hidden21:07
bschaeferI tried visible too21:07
thomibschaefer: also, make sure you set unity to log at DEBUG level21:07
bschaeferfor the autopilot tests?21:07
thomiyeah, look at how we do it in the launcher tests21:08
bschaefero my...I tried the test_hud.py and my system crashed one sec21:08
thomi:)21:08
bschaeferI swore I checked that before I bugged you! haha21:09
thomino worries - I'm waiting for nux to build on a VM....21:09
bschaeferyeah i saw that...jenkins is not a nice person21:10
bschaeferalso saw I messed up space tab/indention in TextEntry.cpp Thanks for fix those :)21:10
thomibschaefer: oh, that's automatic for me. I suggest you use an editor that takes care of trailing whitespace & tab/space indentation for you21:14
bschaeferI have my tabstop set to 221:15
bschaeferwhich I thought was the standard21:15
bschaeferthomi, I see that you use logger = logging.getLogger(__name__) in the launcher test21:17
bschaeferare you saying you want me to add some logging info in the hud?21:17
thomibschaefer: no, that's for the autopilot logging21:17
thomiumm, hang on21:17
bschaeferor when I compile unity set it to debug mode21:18
thomisorry, dash tests21:18
thomiline 20 & 2121:18
thomiself.set_unity_log_level("unity.shell", "DEBUG")21:18
=== Guest41985 is now known as jalcine
thomibut to start with, I'd just try:21:18
thomiself.set_unity_log_level("unity", "DEBUG")21:19
bschaeferoo21:19
thomibschaefer: whatever unioty logs while your test is run will be attached to the test.21:21
thomiI suspect the issue is that you're running AP from within a VM, and the tap times are too long.21:21
thomi(I assume you're still using a VM for development?)21:21
bschaeferthomi, hmm odd, now it says it doesn't know what self.hud is!21:22
bschaeferand yes21:22
bschaeferI just got a laptop yesterday though, soon Ill have real hardware :)21:22
bschaeferwell ordered it21:22
thomicool21:23
bschaeferthomi, if only I had let the test finish it would have told me no hud exist! I thought python would tell me as soon as it it self.hud...21:25
bschaeferas I just have to add hud to __init__.py21:25
thomiahhh, ok21:25
bschaeferthomi, hmm so it looks like Ill have to make a 'class Hud' in the emulator, pretty much like the dash.py emulator21:33
bschaeferso the __init__ function can see it, so I can use self.hud21:33
thomibschaefer: why's that? You shouldn't need to21:33
thomibschaefer: which __init__ function? The one for AutopilotTestCase?21:34
bschaeferthe __init__.py under test21:34
BreetaiIn Ubuntu 3d I can change virtual desktops with ctrl-alt <direction key> is there some way to do that in unity2d?21:34
bschaeferwhen I try to import hud21:34
bschaeferthis wont work self.hud = Hud() as there is no Hud class in the hud.py emulator21:35
bschaeferthomi, unless I just so self.hud = HudController21:38
thomibschaefer: yes, do that :)21:38
thomieventually someone will make a Hud class21:38
bschaeferthomi, so more problems...yay. So the HudController takes 2 arguments and when I give it KeybindingsHelper, it then gives me this error21:50
bschaeferAttributeError: type object 'KeybindingsHelper' has no attribute 'iteritems'21:50
thomibschaefer: ahhhh yes21:50
thomiok, you know what? The simplest way may be to amke a Hud class.21:50
bschaeferhaha :) alright21:51
thomiinside the class, set the controller. TO get the controller, call HudController.get_all_instances()21:51
thomithat returns a list, whose length should be 121:51
bschaeferself.controller = DashController.get_all_instances()[0]21:51
bschaeferpretty much like that?21:52
bschaeferso, Im guessing the class Dash is going to be pretty similar to what Ill have to do with the class Hud21:52
thomiyeah21:55
thomibschaefer: you may want to do that in more than one step though, and assert that len(controllers) really is 121:55
bschaeferalright!21:55
=== jalcine is now known as jalcine_
Will123456hey guys. i'm seeing how easy it'd be to fix https://bugs.launchpad.net/unity/+bug/959339 , but i'm not familiar with the codebase. is there any documentation, or do you just have to dive in?22:14
ubot5Ubuntu bug 959339 in unity (Ubuntu Precise) "clicking on launcher item raises all app windows, not just most recently focussed" [Medium,Confirmed]22:14
bschaeferthomi, sweet, had to a bit of re working, but the hud works now with a self.hud. I have to go make sure I didn't mess up any test_hud.py test though22:26
thomibschaefer: ok. Feel free to poke me when you have a MP up and running22:26
thomiI will be offline for lunch in a bit though, so feel free to email me22:26
bschaeferthomi, will do! Ill try to get the hud class looking a lot like the dash, with the property and stuff22:26
thomiWill123456: the best way is to get the code and ask questions here if/when you get stuck.22:27
thomisweet22:27
bschaeferthomi, alright will do! Have a good lunch22:27
Will123456thomi: thanks, i'll give it a go22:41
=== jalcine_ is now known as Guest972
=== webjadmin_ is now known as Guest8360
Will123456thomi: i've got the code and i've identified where i think the changes need to be made. beyond that i'm really not sure what to do23:29
bschaeferWill123456, have been able to compile/run the code from trunk?23:30
Will123456bschaefer: i've just downloaded the tools needed to do that, so i'll read through the readmes and try it23:31
bschaeferWill123456, here is a good one. http://askubuntu.com/questions/28470/how-do-i-build-unity-from-source23:31
bschaeferWill123456, after your able to get unity compiled then you can start messing with the code :)23:32
Will123456bschaefer: thanks! looks like that's just what i need23:33
bschaeferWill123456, your welcome, let me know if you get stuck23:33
Will123456i'm hoping the fix to that bug'll get in before the 12.04 release23:34
Will123456it seems like a pretty major regression and at least in my case totally ruins my workflow :P23:34
bschaeferlooks like a fun bug :)23:35
Will123456have you not had any problems with it?23:35
Will123456unity-2D follows the spec exactly, so it's only the 3D version that is wrong23:35
bschaeferi usually just live in a terminal, and don't use the launcher much haha23:36
bschaeferand usually only have 1 window type per workspace23:36
Will123456bschaefer: maybe that's why it's not been a problem for you. i'm surprised how little it's been noticed23:37
bschaeferie, 1 terminal for each workspaces, so I don't run into that problem23:37
bschaeferthat would annoy me though!23:37
Will123456i had this irc terminal window full screened, so clicking from gedit (reading the readmes) to the terminal (to compie unity) was impossible because the full screen irc window kept appearing instead :(23:38
bschaeferthat seems like a very big regression!23:39
Will123456i'm desperately hoping that someone will take it on before the final release, since i'm getting no where fast :P23:42
bschaeferI should be able to take a look at that next week, if you don't fix it :)23:43
Will123456i'll hold you to that :P and i'll try my best to make sure you don't have to!23:43
bschaeferwell that bug only got reported 10 days ago, sometimes it takes  while to get some attention. Im sure if I don't someone will!23:44
bschaeferWill123456, o and it has a Milestone attached to it, so it'll get attention!23:45
Will123456bschaefer: i'm pretty new to all this - what does an attached milestone imply?23:45
bschaeferit means the next by the next release we want it fixed! ie. we want it fixed by Unity 5.1023:46
bschaeferif you click on it up by the bug you'll see a list of bugs23:46
Will123456ah, gotcha :)23:48

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