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

bschaeferjaytaoko, hey, ping00:08
jaytaokobschaefer: hello00:33
bschaeferjaytaoko, so it turns out there isn't a g_utf8 that checks if the string is utf8 only00:36
jaytaokobschaefer: yep, I saw00:37
bschaeferjaytaoko, but if you check against array[i][0]00:37
bschaeferall unicode strings will be less then 000:37
jaytaokobschaefer: I managed to get around. I have a working test now!00:37
bschaeferif you take the first char and turn it into an int00:37
bschaefernice! I just finsihed a working version also!00:37
jaytaokocool!00:37
bschaeferIm not as sure about mine though, I don't like doing this to find unicode00:38
bschaeferif (match) { while (nux_compose_string[i][0] > 0) {i++;}}00:38
jaytaokobschaefer: I added a special string that marks the start of the character we want00:38
bschaeferyeah00:38
bschaeferthat sounds like a better way :)00:39
jaytaokobschaefer: works fine!00:39
bschaeferawesome! Have you noticed a lag when it EnterText() is called?00:39
jaytaokobschaefer: let me finish something here and i will push00:39
bschaefersweet00:39
jaytaokobschaefer: the lag is resolved!00:39
bschaeferjaytaoko, awesome! What was causing it?00:39
bschaeferand event gone missing?00:40
bschaeferan*00:40
bschaeferjaytaoko, ill talk with you about when you finish up the branch! Hopefully my work last night was helpful!00:40
jaytaokobschaefer: when there is a match, we have to call QueueRefresh the the text entry will redraw. Otherwise, it will redraw only the next time the cursor blinks00:40
bschaeferdam that makes sense!00:41
jaytaokobschaefer: it was very helpful!00:41
bschaefersweet!00:41
jaytaokobschaefer: so give me a few minutes and I will push a branch... you will also notice that it works in Unity's dash (the previous work as been reverted)00:42
bschaeferjaytaoko, awesome! Yeah take your time :)00:42
jaytaokobschaefer: I pushed to the branch https://code.launchpad.net/~unity-team/nux/nux.compose-key00:53
bschaeferjaytaoko, cool, I just compiled unitys new changes00:54
jaytaokobschaefer: compile and run the test xtest-text-entry-deadkeys00:54
bschaeferjaytaoko, cool, and i wasn't sure if putting the list in a header like that was correct00:54
jaytaokobschaefer: with unity trunk and this nux branch, the composition characters works00:54
jaytaokobschaefer: it is ok!00:55
bschaefercool, I also didn't think I needed to add it to the make file00:55
bschaeferjaytaoko, awesome work!!00:56
jaytaokobschaefer: I wasn't able to do all the test that I wanted because I have to guess how to automated some of the characters with X11...00:56
bschaeferjaytaoko, working well here00:56
jaytaokobschaefer: cool! thank you for making that python script! it was very helpful!00:56
bschaeferjaytaoko, yeah I was thinking it could be used to make the test!00:57
bschaeferjaytaoko, though it isn't the best python code there is, it work haha00:57
jaytaokobschaefer: it is fine!00:57
jaytaokobschaefer: you can add a few tests of your own if you want00:57
bschaeferjaytaoko, wait so whats wrong with entering some of the text?00:57
* bschaefer looks at the current test00:57
jaytaokobschaefer: well I still can't simulate "´" with X1100:58
jaytaokobschaefer: so I wasn't able to do ś00:58
bschaefertest.ViewSendCompositionKeys("`o");00:58
bschaeferso that doesn't work?00:58
bschaeferopps that is the wrong way00:58
jaytaokobschaefer: yes that one works00:58
bschaeferjaytaoko, wait im not sure where that key even is..00:59
bschaeferjaytaoko, well what im thinking I can do!00:59
jaytaokobschaefer: it is not on my keyboard either but if you press: Right Alt + ' + '  then you get ´01:00
bschaeferjaytaoko, with the python script I can make it output these C++ code for nux, for ALL of them01:00
bschaeferjaytaoko, in theory01:00
bschaeferor more or less in my head haha01:00
bschaeferjaytaoko, but ill update these test!01:01
bschaeferwith more01:01
bschaeferjaytaoko, o one problem I found was the delete key!01:01
jaytaokobschaefer: cool, feel free to do "control + a" and erase the text entry and then continue with your own serie01:01
jaytaokobschaefer: otherwise the string becomes too long for the text entry01:02
bschaeferjaytaoko, alright, will do, yeah01:02
bschaeferjaytaoko, Im thinking the test will go:01:02
bschaefertest.ViewSendCompKey...01:02
bschaeferthen check for equal01:02
bschaeferthen delete all01:02
bschaeferthen next test01:02
bschaeferrepeat for all possible combos01:03
jaytaokobschaefer: sure, you can do that as well! fell free!01:03
jaytaokobschaefer: I am going to propose the branch for review also01:03
bschaeferjaytaoko, do you think we should fix the delete key?01:03
bschaeferjaytaoko, if you press Multi_key01:03
bschaeferjaytaoko, and just hit delete you get stuck01:03
jaytaokobschaefer: oh!01:04
bschaeferjaytaoko, I feel like out of any combo that one might be used01:04
bschaeferin gnome-terminal it quits if 2 deletes are pressed01:04
bschaeferquits multi_key mode that is01:04
jaytaokobschaefer: yes, we should fix that01:05
bschaeferjaytaoko, also pressing multi_key should toggle comp mode off and on01:05
bschaeferjaytaoko, the delete key doesn't add anything to the string01:07
bschaeferjaytaoko, so what we could do is!01:07
bschaeferjaytaoko, if (composition_string_ == character) { quick comp mode)01:07
bschaeferhm01:08
bschaeferjaytaoko, I don't know though, as im not sure if there are combos that are the same key twice01:08
jaytaokobschaefer: not sure either...01:08
jaytaokobschaefer: I am going to take a break, but I will be back later01:09
bschaeferjaytaoko, sounds good, Ill see if I can find an easy fix for both those problems!01:09
jaytaokobschaefer: thank you!01:09
bschaeferjaytaoko, thanks for finishing that up! Awesome work01:09
bschaeferno problem, this is fun :)01:10
jaytaokobschaefer: ;-)01:10
bschaeferjaytaoko, found a good solution, just check in LookForMatch if comp string is empty, if it is then there cant be a match; return NO_MATCH01:14
bschaefer(for when you get back)01:14
bschaefer:q03:11
bschaeferopps03:11
jaytaokobschaefer: ping03:30
bschaeferjaytaoko, hey, so turns out that delete fix wont work03:31
bschaeferand I also found some more errors in the list03:32
bschaeferjust because of "">"03:32
bschaeferstuff like that were missing \03:32
jaytaokobschaefer: right I have had issue with < and >03:32
bschaeferjaytaoko, yeah and a few lines were missing "::"03:32
bschaeferbecause the python script had some issues with spaces and stuff03:33
jaytaokobschaefer: ok03:33
bschaefereasy fixes though03:33
bschaeferhttp://paste.ubuntu.com/873973/03:33
jaytaokobschaefer: I just pulled the code03:33
bschaeferjaytaoko, im just pushing some new changes to the list03:33
jaytaokobschaefer: yeah, I still don't know how to simulate some of the characters with the Xtest03:34
jaytaokobschaefer: skype?03:35
bschaeferjaytaoko, hmm well im getting this so I cant push:03:35
bschaeferbzr: ERROR: Connection error: Couldn't resolve host 'bazaar.launchpad.net' [Errno -2] Name or service not known03:35
bschaeferjaytaoko, yeah lets get on skype03:35
bschaeferjaytaoko, never figured it out, pushing changes now03:36
=== alan_g is now known as alan_g|afk
=== zyga-xchat is now known as zyga
=== alan_g|afk is now known as alan_g
=== zyga-xchat is now known as zyga
=== zyga-xchat is now known as zyga-afk
didrocksJohnLea: about the MM changes10:40
didrocksJohnLea: you know that changing that in that dialog won't work for nvidia users, right?10:40
didrocksJohnLea: as on nvidia, the dialog just shows one screen10:41
JohnLea<didrocks> JohnLea: about the MM changes10:41
JohnLea JohnLea: you know that changing that in that dialog won't work for nvidia users, right?10:41
JohnLea JohnLea: as on nvidia, the dialog just shows one screen10:41
JohnLeaswilson ^10:41
didrocksthe second option will work, but not the first one as we won't have the monitors listed10:42
didrocksthe All displays can be presented, it will just not be able to select on which screen the launcher will be placed for nvidia10:43
didrocksDBO: greyback: that is of some interests for you ^10:43
greybackdidrocks: noted10:44
Saviqdidrocks, you can select your primary screen in nvidia-settings (that you have to use to set up screens on nvidia anyway)10:47
Saviqdidrocks, maybe we should detect nvidia and give additional info next to the selection or something?10:47
didrocksSaviq: well, it won't match the design as well, I'm not sure how easy it can be to get the info like nvidia-settings10:49
didrocksSaviq: and it won't be the same "monitor name" than the dialog above10:49
swilsondidrocks, Saviq: hi, would anyone be able to send me a quick screenshot of what you see in the nvidia config screen please?10:49
Saviqdidrocks, what I mean is just select "All screens" vs. "Main screen" and direct the users to nvidia-settings to select which is the main screen10:51
Saviqswilson, sure, sec10:51
didrocksswilson: http://people.canonical.com/~didrocks/nvidia.png10:52
didrocksSaviq: no need10:52
didrocksswilson: I have multiple monitors10:52
didrocksand "Inconnu" is "unknown"10:53
swilsondidrocks: thanks!10:53
didrocksSaviq: yeah, Main screen can be the way to go10:53
didrocksSaviq: I'm not sure we make something more elegant to detect nvidia than looking at the loaded kernel module10:54
Andy80'morning :)10:55
didrocksmorning Andy80 :)10:56
Saviqswilson, http://ubuntuone.com/11DlGCkW3x5N6AMek5sdsL and http://ubuntuone.com/4opyBrMXwLy2x0GXrng9M711:00
Saviqswilson, http://ubuntuone.com/11DlGCkW3x5N6AMek5sdsL and http://ubuntuone.com/4opyBrMXwLy2x0GXrng9M711:00
Saviqswilson, network troubles?11:00
Saviqyou're difficult to catch...11:01
swilsonSaviq: yep, back online now...11:02
swilsonthanks for the screenshots11:03
Saviqswilson, people with nvidia have to be friendly with the tool anyway, 'cause there's no other way to set up your screens11:04
Saviqlet me try something, brb11:05
swilsonsure, so this dialog refers to the primary display11:05
swilsonmaybe we just hook to this for Nvidia11:06
swilsonSaviq: I am in a sprint at the moment and have to get back into it, will try to stay in touch as much as I can...11:06
Saviqswilson, yeah and that's how it looks in "Displays" http://ubuntuone.com/0nbRrX5CopsZH1tRYo3BEN11:17
swilsonSaviq: thanks. how straightforward/reliable do you think it would be to determine that the single large display reported in Display Settings is actually multiple displays?11:23
swilsonmaybe we could just provide the options Primary display and All dislpays for this case11:23
Saviqswilson, tbh no idea, but if it would be "easy" I think it'd have already been done11:23
Saviqdidrocks, maybe you have insights ^?11:24
swilsoni just mean to find out that this is the case, not necessarily to correct it by splitting the individual displays out at this stage11:24
didrocks(on a call, will look later)11:26
didrocksswilson: it's not trivial, but we can have a look if the nvidia module is loaded maybe and in this case proposing the "primary display" option11:30
swilsondidrocks: cool. it would be ideal not to expose the Primary display concept to the user unless they are already aware of it because of using the nvidia settings options11:36
didrocksswilson: hum, what do you want to do in the nvidia case then? you are forced to have a primary display, that doesn't mean the user is aware of it unfotunatly11:37
swilsonyes, this is not an ideal case11:41
swilsonnvidia users have to use the nvidia settings panel if they want to manage their multiple displays11:41
swilsonthey are exposed to the concept of the primary display there11:41
swilsonideally, they should only have to use the Display Settings panel11:42
swilsonwe will ideally improve this going forwards11:43
didrocksyeah, but it's not really possible because of closed sourced software11:46
DBOwhy not put all the options in one place?11:47
didrocksswilson: so, I would go with this "primary" option if possible11:54
swilsondidrocks: you mean in all cases (nvidia, ati, etc...)11:55
didrockshum11:58
didrocksok, let me recap11:58
didrocksin non nvidia case11:58
didrockswe have monitor names11:58
didrocksand "on all screens"11:58
didrocksin the nvidia case11:59
didrockswe don't have the monitor names11:59
=== zyga-afk is now known as zyga
didrocksso we can tell "in primary monitor"11:59
didrocksand "on all screens"11:59
=== chaoticuk_ is now known as chaoticuk
swilsonyes12:05
didrocksok, I guess we can put that in case there is one sceen with "unknown" label12:07
=== MacSlow is now known as MacSlow|lunch
didrocksswilson: can you update the spec with that case, please?12:16
swilsondidrocks: yes, will do. i am in a sprint at the moment, so i will update the spec when i get a chance. john also wants for us to finalise details and get these modifications into the system as bugs before we start implementation12:17
didrocksswilson: right, thanks!12:17
swilsondidrocks: thanks v much for pointing out this case by the way!12:18
didrocksswilson: no worry (and yes, I agree the situation is suboptimal for that) :-)12:18
=== _salem is now known as salem_
=== zyga-xchat is now known as zyga
=== greyback is now known as greyback|lunch
mhall119somehow lost unity last night13:00
* mhall119 should pay more attention to the dist-upgrade13:00
zygahi, there is a color mismatch in the sound indicator13:26
zygashall I report that?13:26
Andy80zyga: can you make a screenshot so we can see the problem better?13:29
seb128zyga, the slider background you mean?13:29
zygasure13:29
zygayes13:29
zygaseb128, exactly that13:29
seb128zyga, known issue13:29
zygaseb128, I've spotted it on my efika mx which has 16bit color screen13:29
zygathe issue is very visible there13:29
seb128not only there13:29
zygaright, I can see it on my desktop as well13:29
=== yofel is now known as yofel_
=== yofel_ is now known as yofel
=== greyback|lunch is now known as greyback
=== MacSlow|lunch is now known as MacSlow
angelocmhr3: hi Michal!14:19
angelocmhr3: for merge proposal of bug 77012614:20
ubot5`Launchpad bug 770126 in unity-place-applications (Ubuntu) "Alt+F2 - ssh:// and smb:// access doesn't work in Unity (should open Nautilus)" [Wishlist,Confirmed] https://launchpad.net/bugs/77012614:20
mhr3angeloc, hey there14:20
angelocmhr3: orig never starts with \\\\14:20
mhr3angeloc, how come?14:21
angelocmhr3: sorry, i'm wrong!14:21
angelocmhr3: I'm really wrong! I suffer a little of sleep deprivation since i had my second son!14:23
mhr3angeloc, hehe, no problem, get some rest14:23
angelocmh3r: I had :)!14:26
mhall119angeloc: kids will do that14:40
angelocmhall199: yes, but they are beautifull!14:42
mhall119angeloc: true14:44
angelocmhall119: my little one starts to crawl and he's very exhilarant!14:46
mhall119once they're mobile you're in trouble14:47
angelocmhr3: can you suggest another bug to solve? I'm intrested in bug 925021, but i'm not experienced sufficiently with codebase14:48
ubot5`Launchpad bug 925021 in unity (Ubuntu) "Launcher - Inserting items into launcher makes unnecessary animations on other monitors" [High,Confirmed] https://launchpad.net/bugs/92502114:48
mhr3angeloc, just go over the bugs and pick something14:49
angelocmhr3: let's go!14:50
mhr3angeloc, also, you won't be familiar with many of them, you'll have to take a deep breath and dig into them ;)14:50
angelocmhr3, i'm really intrested, i'll be really proud if you can mentor me woth bug 92502114:51
ubot5`Launchpad bug 925021 in unity (Ubuntu) "Launcher - Inserting items into launcher makes unnecessary animations on other monitors" [High,Confirmed] https://launchpad.net/bugs/92502114:51
mhr3angeloc, not even my knowledge isn't enough here ;) but MacSlow might be able to help14:53
mhr3eeh, no double negatives in english...14:54
* mhr3 slaps himself14:54
MacSlowangeloc, hey... taking a loko at #92502114:54
angelocMacSlow: greeat!14:55
MacSlowangeloc, oh.. hm... I can't say off the top of my head what could be going on there... would have to dig in myself... and I'm busy with other stuff still14:56
angelocMacSlow, solving a bug means diggin into, I'm trying by myself!14:57
MacSlowangeloc, but what I suggest... just take a look and collect any kind of questions you come across... put them in an email and send them over to me... I'll look into answering them later this evening (or tomorrow)... deal?14:57
angelocMacSlow, there is a sort of documentation of what's going on somewhere?14:57
MacSlowangeloc, ehm... the soucecode :)14:58
angelocMacSlow, really great!14:58
angelocMacSlow, code is self explaining!14:58
MacSlowangeloc, of jason if you're lucky... but he's as busy as everybody else :)14:58
angelocMacSlow, i don't want to be a pain in the ass14:59
MacSlowangeloc, email is fine... don't worry15:00
angelocMacSlow, ok15:00
=== fenris is now known as Guest71737
=== Guest71737 is now known as ejat
didrocksgreyback: when you get a chance: https://code.launchpad.net/~didrocks/unity-2d/common-and-package-cleaning/+merge/9661016:09
greybackdidrocks: wonderful, will get to it, thanks16:09
didrocksyw ;)16:11
=== fenris_ is now known as Guest47985
VlAleVasHi! I'm writing an article for russian Wikipedia and I have a question: is there any differnce between Lenses and Places&16:29
=== aruiz_ is now known as aruiz
davidcalleVlAleVas, no real difference. "Places" is the old name of "Lenses".16:35
davidcalleVlAleVas, the technical difference : Places were both the containers and the search engines. Now, lenses are the container and scopes are the search engines inside lenses.16:37
VlAleVasThanks davidcalle!16:37
davidcalleVlAleVas, yw16:38
angelocmhr3: bugs i slved works also in unity2d? lenses are shared? Have to take a look also at 2d version of the bug?16:55
mhall119does anybody know where I can find mark tully?17:44
angelocMacSlow: i think i found the root of the problem!18:00
angelocMacSlow: on row 2695 in Launcher.cpp this will be called unrespectively of where launcher mouse is on18:01
angelocMacSlow: _dnd_hovered_icon = new SpacerLauncherIcon();18:01
angelocMacSlow: how choose a launcher instead of another? Involves it mouse x,y?18:02
jalcineIs the meeting at 19:00 still happening?18:22
mhall119ronoc: ping18:44
ronocmhall119, just running out the door18:49
ronocmhall119, back online MOnda18:49
ronocy18:49
* ronoc needs to catch a flight18:50
mhall119ronoc: am I going to get a blog about the Sound Menu API?18:50
thomimorning everyone18:53
mhall119is there anybody who can help me put together some quick documentation about integrating with the sound menu using libunity?18:54
mhall119thumper: ^^ I need help, I'm under the gun to get something for dpm this week18:55
mhall119dbarth: ping19:18
Teester<mhall119> does anybody know where I can find mark tully?19:47
Teestermhall119: Were you looking for me earlier? ^19:47
mhall119Teester: I was, yes19:48
mhall119wanted to chat about your lenses and scopes, got a few minutes?19:48
TeesterSure. What's up?19:49
mhall119can you still access https://docs.google.com/spreadsheet/ccc?key=0AhORzygg00JldFZtOVgzVHllekMzR1VMOXZYMk54c0E ?19:49
TeesterYes19:49
mhall119cool19:50
mhall119so, backstory, to allow separate lenses and scopes to be installable via the software center, and to let them go through the developer portal, the ARB has agreed to maintain the packaging for them19:50
mhall119so all we need to do is submit them as branches or tarballs or something, no need to build packages from them19:51
TeesterOk.19:51
mhall119right now they're only looking at submissions for Oneiric, so if you have any lenses or scopes ready for that release you can go ahead and start submitting them19:51
TeesterI've submitted the music lens scopes already - rhythmbox, guayadeque, clementine & gmusicbrowser.19:52
TeesterBut I've packaged them by copying the askubuntu lens.19:52
mhall119that's okay19:53
mhall119the reason is so they can keep related lenses and scopes in the same source package archive, without requiring the lens and scopes developers to coordinate on packaging19:54
mhall119for the music lens, since it's in the main repo, this doesn't apply19:55
mhall119but for any lens that in the extras repo, they'll handle packaging everything together19:55
mhall119so, for example, davidcalle's graphic design lens, they're going to maintain the packaging for that and any scopes that get submitted for it19:56
mhall119make sense?19:56
TeesterDoes that mean that the user will only see one package in the software centre for a lens and its scopes?19:57
thumpermhall119: integrating with menus would be ted I think, and ronoc knows about sound, but not sure how much about the menu itself19:59
mhall119thumper: right, unfortunately ronoc is done until Monday19:59
mhall119tedg: do you have anything for me to use as documentation for integrating with the message menu?20:00
tedgmhall119, I don't have anything other than what you have.20:00
mhall119it doesn't have to be ready-to-post, I can edit and even expand somewhat, I just need something to start with20:00
mhall119tedg: I  don't have anything atm20:00
tedgmhall119, I believe we did an developer week or one of those talks on it.20:01
tedgmhall119, https://wiki.ubuntu.com/MessagingMenu#How_applications_should_integrate_with_the_messaging_menu20:01
tedgmhall119, https://wiki.ubuntu.com/MessagingMenu#API20:01
mhall119tedg: there's no code there20:01
mhall119nothing about adding a message source and counter20:02
tedgmhall119, http://bazaar.launchpad.net/~indicator-applet-developers/libindicate/trunk.0.7/files/head:/examples/20:03
=== htorque_ is now known as htorque
mhall119tedg: do you know if those examples are still valid?  Some seem pretty old20:08
tedgmhall119, I believe so, but I haven't checked for a bit.20:09
tedgmhall119, The messaging menu is old as well ;-)20:09
mhall119ok20:10
mhall119thanks tedg20:10
* tedg bitches a bit about kids these days "back when I was a kid we wished for examples from 2009!"20:11
mhall119well that would have made them examples from the future, so that would be pretty cool, yeah20:13
mhall119heck, when I was a kid, I'd have loves a *laptop* from 200920:13
bschaeferthumper, ping20:26
=== salem_ is now known as _salem
mokushhey. does anybody know any usability reason/details why the dock is placed on the left side of the screen?21:08
mhall119thumper: do you know if there's a good description of the global menu somewhere I can copy/paste into these docs?21:17
mhall119gord: ^^ or maybe you know of something?21:21
=== htorque_ is now known as htorque
mhall119anybody?21:43

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