[07:48] mhr3, ping [07:48] pong [07:49] mhr3, is your tdb branch going in before the release? [07:50] davidcalle, no, it'll be sru-ed [07:50] (probably) [07:51] mhr3, ok [09:57] didrocks, with todays update my launcher is scrolling on under some (at least) of my windows [09:57] apw: ah, do you have -proposed enabled? [09:58] didrocks, for precise? unsure [09:58] can you check? [09:58] compiz in preicse [09:58] precise [09:58] unity is still in -proposed [09:58] that will help to know what's the cause [09:58] i do appear to have proposed enabled indeed [09:58] apt-cache policy unity? [09:58] Installed: 5.10.0-0ubuntu1 [09:59] ok, so latest stack, can't know if it's compiz or unity [09:59] that's something for sam or duflu [09:59] but they aren't arond [09:59] aroudn* [09:59] apw: any way to trigger the stacking issue is welcomed [09:59] didrocks, yeah no idea, literrally only just logged in [10:00] apw: you didn't tried the unity-team ppa, right? [10:00] (since last Friday) [10:00] not on this machine, i have that on my other test box [10:01] and haven't noticed it there yet, but then this is the first for this level for me anyhow [10:01] ok, so no way to know when it started for you [10:01] apw: I think we'll need to wait on duflu or sam [10:01] didrocks, nope, i haven't seen this for ages and ages, it was common in the bad old days [10:01] indeed ;) [10:02] didrocks, but, who knows if its just uncommon or new to this version [10:02] the only report about bad stacking we had was with a fullscreen browser [10:02] i guessi could logout and back in and see if persists [10:02] but nothing else despite a widespread testing [10:02] yeah [10:02] if your machine can trigger it reliably [10:02] it would be good [10:02] i will lose the current state of course [10:02] yeah [10:03] but I don't think they will be around before Monday now [10:03] oh [10:03] ok then i'll see if its reproducible [10:03] yeah, better to come with a test case, especially if you get it just on one machine [10:04] keep me posted :) [10:04] didrocks, ok looks ok on a second login [10:05] apw: yeah, but there is a hidden issue under it then. reproducing would be nice [10:06] didrocks, indeed, will have to see if i can spot a pattern if i see it again [10:06] thanks ;) === _salem is now known as salem_ [13:54] How do I write the inputfield for a unity-lens? My lens is running, but Nothinhappens when I write in the inputfield [13:54] malin, are you using Quickly to make the lens? [13:56] davidcalle: nope. This is the projectpage: http://bazaar.launchpad.net/~malinkb/unity-buss/unity-buss-experimental/files I did work on this couple of months ago, and got a lot of help in here :) [13:56] I just want the last finish of it to get it work [13:56] malin, right, I remember :) [13:56] yeah :) [13:56] I think you helped me :) [13:57] I guess raw_input("text") aint usable input method for the unity lens [13:57] because nothing happens when I write in the field :) [14:00] malin, indeed :) you should try "input = search.props.search_string.strip ()" [14:00] ah [14:01] malin, the search string is a property of the search object, you just need to ask for it (and strip it to avoid trailing whitespaces). [14:01] instead of the line : input = raw_input("text") I just write input = search.props.search_string.strip () instead? [14:01] Yep [14:01] then I will try :D [14:01] cool [14:01] and searchhint is just to write: searchhint="searchhint" in the .lens file? [14:01] if so I can try [14:02] but I don't remember how to stop my lens and so [14:03] malin, the search hint is set in two places : the .lens file is used when, for some reason the lens daemon is not running. It's not really important. [14:03] self._lens.props.search_hint = HINT in you daemon is important one. [14:03] is the important one* [14:03] davidcalle: And one more thing. To print the results. is there something else than: print "texstring" and print ? [14:04] ah [14:04] hm. I don't see any searchhint in the lense [14:04] Line 22 of your file :) [14:05] malin, print is fine, why? [14:05] just wandered [14:06] davidcalle: yeah, but why is the inputfield in the lens al black? there is no white text such as in the app-lense as: "Search Applications" [14:06] according to my code it should say: "Type something!" [14:06] but I will change it. That's easy, but nothing appears [14:06] hehe [14:07] malin, are you sure that your lens daemon is running? [14:08] davidcalle: I think it does, my lense shows up in the dash, but maybe that dosen't mean it is running? [14:08] *it is not running [14:09] I try again: The lense appear in the dash, but that maybe not meaning it is running [14:10] malin, no the fact that your lens shows up just means you have the lens folder in /usr/share/unity/lenses with a .lens file in it. Are you sure that your bus name and bus path in the .lens are the same ones as in the daemon? "net.buss.lens.buss" and "/net/buss/lens/buss" [14:10] I have started it with commands last time we tried this, but I don't remember how [14:10] so I am pretty sure it's correct [14:12] to start it with commands, just "python buss" [14:12] oki [14:14] ah, then the searchhint appeared [14:15] but I made it run, and the searchhint appeard in the dash input field [14:16] ah sorry, I scrolled up and answered something :p [14:16] Hehe [14:17] it works, but it prints the results to the terminal, not the dash. So chaning input worked. Now it is just the output [14:18] malin, for the output, look at this sample lens : the on_search_changed def and the wikipedia one, every line of code is explained. [14:18] http://bazaar.launchpad.net/~unity-team/unity-lens-sample/trunk/view/head:/python/simple/unity-scope-wikipedia [14:22] malin, I've noticed that your lens doesn't have any category, you need at least one to display the results : before your self._lens.export (); , you need to create one. [14:22] http://bazaar.launchpad.net/~unity-team/unity-lens-sample/trunk/view/head:/python/simple/unity-lens-sample [14:22] from lines 24 to 28, it show how to create categories. [14:23] ok [14:23] malin, two types of categories are available : the vertical one (also called icon view, like in the Apps lens ) and the horizontal one (card view, like in the online category of the Video lens or the Gwibber lens) [14:24] okey [14:28] ah, three lins. cats is a onedimentional arreay? [14:28] *arrey === jalcine_ is now known as Guest70068 [14:30] malin, yes [14:30] hm.. I added thre lines as in the example: the lines from line: 24, 26 and 28 [14:31] it still print to the terminal only === Guest70068 is now known as jalcine_ [14:34] malin, http://bazaar.launchpad.net/~unity-team/unity-lens-sample/trunk/view/head:/python/simple/unity-scope-wikipedia [14:34] Line 81 [14:35] This is the line where you push results to the Dee model. Unity will automatically read the model and display what it contains. [14:35] s/push/append [14:35] hm. I just copy and paste that line? or what kind of modifications are needed? [14:36] malin, you need to do it for each result. [14:36] for each results? hm. so how many lines do I need?! [14:36] I have one category [14:36] malin, and use the destination url of you result in the first field, the icon, the category (should be 0 if you have only one), etc. [14:37] ah. So if my result is a variable, I write it in there? [14:37] instead of an url? [14:38] the url is the destination of the result when it's clicked. The text is in the "title" field. [14:39] malin, when your lens is queried, is it supposed to answer several results or just one hour? [14:43] The results are just a textstring [14:43] so just one answer [14:46] malin, ok, so you just need to add this to your buss method http://paste.ubuntu.com/928030/ [14:46] I've left uri, icon, comment, and drag and drop uri as empty strings. [14:47] You can fill them with whatever you need to add to the result. [14:48] ah thanks :) [14:48] will try [14:52] got somer error: http://pastebin.com/faCjk5jC [15:00] malin, patjunk must be a string. [15:01] hm. I thought it was [15:01] malin, try with str(patjunk) [15:01] malin, to make sure it's one. [15:01] ah [15:02] holy... it hm. made an icon in the dash, but is it possible to make it post readable text?! [15:03] I can show a screenshot.. :) [15:05] http://imgur.com/rHgv4 [15:05] it should print a textstring only [15:07] malin, by looking at your branch I can see that what your printing in the terminal is "test(full_url,patjunk)" [15:08] So, I guess this is your result string [15:08] yeah, but I don't need the full_url [15:08] it just print the search-url, but I don't need to see it [15:09] malin, full_url is your query url, but test(full_url,patjunk) seems to be the string you extract from the answer, no? [15:10] the full_url makes a search-url [15:10] it print an url like this: http://www.idi.ntnu.no/~tagore/cgi-bin/busstuc/busq.cgi?lang=nor&quest=%25moholt+til+sentrum [15:11] and the patjunk prints re result on the webpage [15:11] patjunk = re.compile("<.*?>|\n|Answer from BusTUC",re.DOTALL|re.M) [15:12] patjunk is just a compiled regex, and if you print patjunk, you will only print the regex object. Not a result extracted form the html answer. [15:12] from* [15:12] jepp, it removes things I don'αΊ— need from the original answer [15:13] ah [15:13] aha [15:13] I have to print the full_url-result [15:14] malin, test () seems to do the extraction, so if you print test(full_url,patjunk) , it should be the extracted result string, no? [15:14] I think I tried, but I can try again [15:15] so instead of , result_string [15:15] in this: http://paste.ubuntu.com/928030/ [15:15] I should write [15:15] test(full_url,patjunk) [15:15] ? [15:16] almost there [15:16] it worked, but I think I have to choose horizontal printing and not vertical [15:17] as you can see. I am almost there :) http://imgur.com/jisWs [15:18] malin, nice :) [15:18] To switch to horizontal, just use .HORIZONTAL_TILE in you category. [15:20] I did, and I can see more text, but there is still not enough to see all :( [15:20] so if it is possible to change the size of the answer box or what to name it [15:20] Card view allows to different texts : model.append ("", "", 0, "text/html", first_result_string, second_result_string, "") [15:21] so how can I use the model.append to make it horizontal across the entire dash? [15:22] Not possible, you can't change the size of the result tiles. [15:23] ah.. that's sad [15:23] I can't see the entire text :( [15:24] but I sort of made it, but it should be possible to click the result and be redirected to the url [15:25] guess that's the url-thing? [15:25] model.append (url, icon, 0, "text/html", first_result_string, second_result_string, drag and drop url (usually the same as the first url)) [15:27] but it's sort of useful [15:36] hm. should be possible to open result in default webbrowser by clicking the icon? [15:36] If I drag it to the browser I get the results === krnekhelesh is now known as nik90 [15:40] malin, yes, should be possible : what does your model.append () looks like? [15:42] hello someone help me where in source code, that implement tooltip for launcher icon..how tooltip is drawn [15:43] Roshan, you should ask Trevinho [15:43] davidcalle: model.append (uri, "", 0, "text/html", test(full_url,patjunk), "", uri) [15:44] ok..david calle ,thanx a lot [15:44] malin, what does your uri looks like when printed? [15:44] malin, because if a drag and drop works... clicking the result should do it too :) [15:46] whyt it looks the same as when printed? [15:47] s/whyt/why/ [15:49] this could be the uri: http://www.idi.ntnu.no/~tagore/cgi-bin/busstuc/busq.cgi?lang=nor&quest=%moholt+til+sentrum depends on what i search for everyting after &quest=% is uniq [15:52] well. it actually works now [15:52] malin, hehe [15:52] don't know why it didn't first [15:52] so all I have to fix is to get an icon to the result in dash [15:52] tried to set icon = /the/path/to/the/icon/svg [15:52] used for the lense [15:56] malin, the full path for the icon can work, yes. You can also use a icon from your system theme like "clock" or "gtk-info", or a http url to an image file. [15:57] an icon* [16:00] davidcalle: okey. no icon appear in the results, so I don't know what could be wrong [16:02] malin, try with the string "clock" in the icon field, to see if it works. [16:07] it just dosen't work all the time. to click the result [16:07] davidcalle: I can try with clock, just to check it works [16:08] malin, push your branch to Launchpad and I'll tell you what's wrong with it. [16:08] okey. Just check that clock-thing first [16:09] stil no icon [16:09] okey, I will push it [16:18] think I did a mistake with pushing. Still revision 8 :S and I think I made another branch when I diden't tend to [16:19] well, here it is: http://bazaar.launchpad.net/~malinkb/unity-buss/buss/files [16:19] just made a new brach acidentially [16:21] malin, first thing : "model.append (uri, "", " should be "model.append (uri, icon, " [16:21] malin, that will fix the icon not showing, as it was not added to the model :) [16:22] sure... :S [16:22] how could I forget.... [16:24] malin, you need a search.finished () under model.append (), it will warn Unity that the search is... finished. it should fix the uri issue. [16:24] then the icon appeard, but I should got one with higer resolution, but it works. Is there a way to put an icon to the category too? [16:25] ah [16:26] hm. it works, but takes a while [16:27] I don't know if it understand it is finished to search, cause it appear to be to results after a while [16:27] malin, yes. When you create your category : Gio.ThemedIcon.new("path to the icon") [16:28] davidcalle: ah... [16:29] malin, and I need to go ;) [16:30] malin, I'll be around this week-end if you still need some help [16:30] oki. thanx for all help :) [16:30] malin, no problem [16:31] if a bug fix is delivered via an SRU, does it then get included in the 12.04 iso that you download from ubuntu.com? [17:38] not until 12.04.1 "point release" (or however its called) [17:39] so, only 12.04.1 will get a proper unity upgrade? [17:39] or how does the SRU procedure work? [17:40] only when 12.04.1 is released will you get updated image with all the sru fixes, until then you have to update the system after installation (or during installation if you choose so) [17:40] is 12.04 going to get anything beyond bugfixes, so as performance fixes, and (small) additions to functionality? [17:40] s/so/such/ [17:42] no new functionality, performance fixes are also unlikely - mostly bugfixes get accepted [17:43] that's a pity, there's been a lot of interesting work going on in compiz [17:44] I think nux also needs a lot of optimization, it's horrible inefficient [17:44] opengl is slow if you don't batch :) [17:45] nux does a shitload of state changes to get a single texture quad onto the screen... this should be improved [17:46] a lot of things could still be improved, but they've decided to add HUD instead ;) [17:46] well, the HUD is a nice idea, though [17:47] I like it, at least [17:47] it is, but I'm not sure it was necessary to add it to the LTS release [17:47] yes, that is a bit controversial [17:49] zgreg: in an alternate reality there is a mutter-based unity implementation in 12.04 [17:50] heh [17:50] using clutter instead of nux? [17:50] they did base it on mutter before, didn't they? [17:50] yes [17:50] or was it clutter? [17:51] (I don't quite remember if they were using mutter, or clutter directly) [17:51] mutter is a compositing window manager, and it uses clutter [17:51] clutter is an opengl user interface toolkit, a bit similar to nux [17:51] yeah, I know [17:51] I've always wandered if the choice of not investing into clutter and choosing nux+compiz was a good idea [17:51] I think the early unity was using mutter as the window manager, but already used nux for the UI [17:52] I remember that mutter was in a pretty bad state around ubuntu 11.04, and then it was decided to use compiz instead [17:53] hmm, no - I don't think so [17:53] when 11.10 was released, suddenly it was the other way around [17:53] they were using clutter and the mix of clutter and vala has proven to be too unpredictable (and too slow ;)) [17:53] fortunately compiz received a lot of optimizations and bugfixes since [17:54] yeah, but I still believe it to be a poor choice from the platform point of view [17:54] instead of commiting into Gtk+ and Clutter we now have Gtk+, Qt and then unity uses nux just to add some fun [17:55] yes, it would be nice to share more code with gnome3 [17:55] Gnome Shell is mostly JS, anyway. [17:55] I think unity-2d is unnecessary [17:55] So it's not like Unity is doing blasphemy. [17:56] zgreg, isn't it going to be used in Ubuntu TV? [17:56] it would have been a much better choice to invest all the time and resources into optimizing unity [17:56] Daekdroom: sure it isn't but it (compiz and nux) add complexity to the stack [17:56] and 12.04 LTS does not support composite on software rendering. [17:56] Daekdroom: I have no idea [17:56] (probably in 12.10 there'll be support for it) [17:57] Daekdroom: software rendering is going to be too slow for embedded devices though [17:57] That's a good reason to have Unity-2d [17:57] Daekdroom: at leasts that's what I got from the discussion about using llvmpipe for gnome-shell [17:57] all those embedded devices support opengl es, though [17:58] Compiz doesn't support OpenGL ES yet, does it? [17:58] not sure about compiz (IIRC linaro ported it), but nux supports it [17:58] it will though [17:59] but again, without unity-2d there would have been plenty of resources to port compiz and what else there is [17:59] wayland "uses" opengl es so compiz will have to start supporting it sooner or later [18:00] zgreg: well, some people are actually proposing for unity-2d to replace unity ;) [18:00] decent modern opengl is easily ported to opengl es anyway [18:00] unfortunately neither compiz nor nux use decent and modern openg [18:00] *opengl [18:01] heh [18:01] that's actually really baffling - nux was conceived in 2007, yet some parts like like 1999 [18:01] err, look like [18:01] I wonder how does Compiz not do that. It was rewritten not long ago. [18:01] yeah, that's surprising [18:02] IIRC compiz is still full of immediate mode opengl [18:02] you know, glBegin and all that crap *shudder* [18:04] Just read the post about system status menu on planet... [18:05] oh nice, but seriously - if they change so much stuff I'm wondering how hard is it going to be to switch people from 12.04 to 14.04 when the times come ;) [18:06] Isn't 12.04 drastically different from 10.04? [18:07] Well, I would suggest another change... integrate a "presentation" status that would prevent personal information to pop up on notifications [18:07] Daekdroom: it is, but I'd rather not see drastic changes every 2 years [18:09] alci: there has already been some discussion about a "presentation mode" some time ago, so we should see something coming out soon [18:10] I really hope they come out with presentation mode soon...sometimes the notifications can be disturbing or distracting and it would nice to disable it [18:10] gnome shell already has it for a year now [18:24] hi cimi, you around? [18:26] LLStarks, y [18:27] i've found a bug concerning light-themes when paired with the new intel ddx backend [18:27] progress bar and dropdown pixmaps render incorrectly and overlap [18:28] Cimi: any plans on making a dark ambiance variant for Gtk+ 3? I'm not quite sure who to ask about it - I know there has been some work on that a year ago or so, but nothing came out of it [18:29] kklimonda, maybe 12.10, not sure [18:29] LLStarks, you sure it's not a gtk bug? [18:29] it's suspected to be either a cairo or theme bug [18:29] https://bugs.freedesktop.org/show_bug.cgi?id=48630 [18:29] Freedesktop bug 48630 in Driver/intel "Progress bars and other dynamic elements do not render properly with SNA enabled" [Normal,New: ] [18:35] i figured i'd ask you since murrine is your thing [18:37] or whatever engine is used now [18:38] unico [18:38] Unico for GTK+3, Murrine for GTK+2, afaik [18:40] thx [18:40] Kaleo: hi! can I bother you with some unity-2d questions? [18:48] David's lens tutorial has been published, can you guys help promote it by up-voting on reddit? http://www.reddit.com/r/Ubuntu/comments/s8boa/how_to_create_a_wikipedia_unity_lens_for_ubuntu [18:52] mhall119: mind if we reblog that on the edubuntu blog? (we want to encourage people to do lenses for educational purposes) [19:07] highvoltage: go for it! [19:10] imho, lenses are useless as long as ppas are required. unless ayatana adopts a gnome extensions-like site to quickly add them, i see little utility [19:16] LLStarks: agreed. as far as i'm concerned the less ppas i'll need to install on family and friends' computers the better [19:17] is there any hope of getting anti aliased window scaling in unity 2D for 12.10? would it be possible to do that when using unity 2D on slow machines that DO have working graphics cards? [19:17] LLStarks: scopes and lenses will be available through the extras repository and can be installed from the Software Center [19:17] Will123456, LLStarks: I personally have seen quite an improvement on the amount of PPAs required since older version of ubuntu. More and more lenses and scopes are now being part of the software center [19:18] nik90: yeah, agreed. ubuntu tweak used to be a must, but in the last few years i've not bothered [19:18] Will123456, LLStarks: It is up to the developers to submit their app to the software center...whenever I see an app being recommended to be installed from a PPA, I ask them why not submit it to the software center instead [19:20] but the software center is stupid. do we really want universe to grow with each new lens? this is what i'd like for lenses: https://extensions.gnome.org/ [19:20] one click to turn on [19:21] LLStarks: imagine a new user...where he has to go to one website to install lenses and then to the software center for installing apps [19:21] LLStarks: why not just use the software center for everything :) ? [19:21] still stupid. the repos are static for most of the year [19:22] if it doesn't make debian merge, it probably won't get in [19:22] i'm not hugely excited by the idea of having a website only to handle shell extensions and the like [19:22] maybe there should be some sort of more dynamic repo [19:22] the site is fast [19:22] a bit like however the software centre deals with proprietary closed source paid for stuff [19:22] LLStarks: it's more of a philosophical thing for me [19:23] LLStarks, the problem of static repos are currently work in progress...investigation is being done to improve the situation [19:26] nik90, if you can find a way to have debian packaging to allow easy delta debs, a rolling extra repo, and silent updates for core apps like firefox, let me know [19:27] LLStarks, you can already have silent updates :) [19:27] without an explicit package update? [19:27] LLStarks, silent updates are already used for security updates... [19:27] so I asked on askubuntu on how to do this for other updates [19:28] you can check it out at http://askubuntu.com/questions/87849/how-to-enable-silent-automatic-updates-for-any-repository [19:28] let me know what you think...it is actually pretty cool [19:28] silent still requires a package update [19:28] ofcourse [19:28] what else do you expect? [19:29] files can't replaced by an in-app upgrade process [19:29] and that sucks about debian packaging [19:29] same would go for lenses [19:30] delta deb are not yet available..but one step at a time mate :P [19:30] delta has been ubuntu+1 for 5 years [19:30] so, whatever [21:29] does anybody knows how i get evolution in the mail applet [21:43] hmm, is 2d spread supposed to be that slow? [21:44] it takes a few seconds to show it [21:59] so nobody ? [22:37] malin, add model.clear (), between model = ... and model.append () , it will fix your multiple results issue. It basically clears the lens. [22:37] davidcalle: thanx [22:38] is there any way to make the results appear faster too? I can see the result in terminal way faster tahn in the lense [22:38] davidcalle: I was soo happy today because it finally worked. Now I have to remove those bugs :) [22:42] malin, I know why it's slow : you call the search a first time to print test(full_url,patjunk) then, another time to add to the model. Just do it one time, in a variable : result = test(full_url,patjunk), then print result and append( result, ...) [22:42] I can comment out printing to terminal [22:42] malin, yes, it works too :) [22:45] that worked better and faster. [22:46] and it's better to have one result only [22:48] still slow, but it is faster. It is slow in the orignal webpage too [22:48] malin, ok === yofel_ is now known as yofel [23:04] davidcalle: Now I have uncommented all print who print to terminal + added the line you mentioned. Things works a little better [23:05] last thing I would like know is if there is possible to make it wait to search until I am finish with typing the search-string ? [23:06] it somethimes search before I am finish and just gives a result about a not valid search string [23:06] because the search need at least two known names to complite a search [23:06] like two bus stops or two city areas and so [23:09] but now I have to get some sleep :) [23:20] malin, you can start the search only if you have two spaces in your search string, for example. === salem_ is now known as _salem [23:24] malin, I've played a bit with your code, I'm pretty sure it won't work for any searches, as I have absolutely no knowledge of norwegian, but at least, it works on "moholt til sentrum" :p http://paste.ubuntu.com/928675/ [23:25] any other searches* [23:32] you could try: lade til sentrum, sentrum til heimdal, nardo til sentrum etter klokken 18.00 [23:32] like that [23:33] ah.. i haven't slept yet :p [23:35] malin, hehe, I'll let you try by yourself :P [23:36] malin, and I'm heading to bed too. See you around ;)