/srv/irclogs.ubuntu.com/2009/12/22/#ubuntu-desktop.txt

chrisccoulsonmdeslaur - we maintain the gnome-screensaver packaging in bzr btw (just for future reference)01:09
chrisccoulsoni was just about to upload a new version and noticed the bzr branch was out of date ;)01:09
=== asac_ is now known as asac
and471mvo:hi07:49
mvohey and471!07:49
mvoand471: I merged a history file writing into apt - I'm sure you will like that :)07:50
and471mvo: yay!07:50
mvoand471: I will upload it today (doing some final tests, but should be fine)07:50
and471mvo: what is the basic format of the history?07:51
mvohttps://wiki.ubuntu.com/FoundationsTeam/Specs/LucidSoftwareCenterHistory07:52
mvoand471: a simple rfc822 format, the python-debian package with the debian_bundle.deb822 parser should cope with it just fine07:52
mvothe only complication is that it will do log rotation and keep .gz copies of the chnages07:53
mvoand471: it would be cool to code the log viewer in a way that it could be used standalone as well (if that is possible with not too much effort)07:53
and471mvo: hmm interesting... :-)07:54
mvo:)07:54
* mvo is pretty excited about the feature07:54
and471mvo: once it is uploaded tell me and I shall begin hacking :-) though I may need a demo of how the parsing with debian_bundle.deb822 works07:56
and471mvo: can I ask you a question?08:03
mvosure08:03
and471mvo: I have a goocanvas.Canvas and some items on that canvas, how would I set up dragging and dropping of those items?08:04
and471mvo, (within the canvas) so not gtk. drag and drop stuff, but button release events etc.08:04
mvoand471: I have no experience with that, but I'm happy to have a look (it sounds fun!) - is the code in a branch somewhere?08:06
and471mvo: sure I shall just push it08:06
mvoand471: it means you have to implement d-n-d "by-hand" because its not there is GooCanvas yet?08:06
and471mvo: no I am trying to drag and drop items within goocanvas (ie. not drag them to another widget)08:07
and471mvo, it is for a flowchart creator I have starting creating :-) https://code.launchpad.net/~rugby471/shauri/trunk08:08
mvooh, that sounds like you want to draw it every time on mousemove08:08
and471mvo: the canvas stuff is in shauri/view/canvas.py (you will notice the structure of the project looks similiar :-] )08:08
mvoand delete (and restore the bg) of the previous position08:08
and471mvo, yup08:08
mvoheh :)08:08
mvonice08:08
mvoI guess its "just" that, keeping track on on-mouse, the old cursor position, the new and lots of drawing (and deleting).08:10
mvoI'm sure there are nasty corner cases and such too :)08:10
and471mvo: what is the gobject signal(s) I need to track?08:11
and471is > are08:11
mvoand471: I think you need motion-notify-event on the canvas itself. if there is a mouse-click on a item, go into drag-state, if the mouse is moved (motifion-notify-event) in that state, do the drawing magic. when the mouse is released, end that state08:13
mvoyou should get a event that gives you "event.x", "event.y"08:14
and471mvo: ok cool thanks :-)08:14
mvo(GdkEventMotion)08:14
mvogood luck! and let me know how that goes08:14
and471mvo: thanks I shall :-) I was trying to make a flowchart the other day, I installed and opened up dia and thought "this is too hard" ;)08:15
and471mvo, this is going to be a really simple and easy-to-use program :-)08:15
pittiGood morning08:16
mvoand471: cool!08:16
mvohey pitti08:16
and471pitti, hello08:16
chrisccoulsongood morning everyone08:31
pittihey chrisccoulson08:32
chrisccoulsonhey pitti, how are you today?08:33
chrisccoulsonare you winding down for the festive break yet? ;)08:33
pittiI'm great, how are you?08:34
pittiI'm still at work until tomorrow08:34
and471mvo: okay I have got it working however I have one problem, the gd.Event gives me the x and y coordinates of the window not the widget, is there anyway to convert these?08:35
and471*gkd.Event08:35
chrisccoulsonyeah, i'm ok too. i got most of my christmas grocery shopping done last night, which was not fun, but i'm glad it's out of the way now :)08:35
and471*gdk.Event08:36
and471mvo, don't worry I ahve go it working, the gdk.Event does give me the correct coordinates08:39
mvoand471: aha, cool08:43
and471mvo: yay it is working :-)08:45
mvosweet!08:45
chrisccoulsonpitti - do you just want me to just upload the fix for bug 428884 to karmic-proposed, or do you want to have a quick look at the fix beforehand? FYI, the patch i uploaded to lucid last night is http://bazaar.launchpad.net/~ubuntu-desktop/gnome-screensaver/ubuntu/revision/48#debian/patches/10_legacy_scrsvr_inhibit.patch09:00
ubottuLaunchpad bug 428884 in gnome-screensaver "gnome-screensaver-command --poke no longer inhibits screensaver" [Medium,In progress] https://launchpad.net/bugs/42888409:00
chrisccoulsonunfortunately, it requires an extra build-depend on libxtst-dev to work, but that's already required by other desktop components anyway09:00
pittichrisccoulson: new b-dep in main doesn't sound like a problem09:02
chrisccoulsonpitti - thanks09:02
pittichrisccoulson: would there be a way to avoid patching autoconf stuff for the SRU?09:02
pittiand just assume that we have it?09:02
pittithe Makefile.am change can probably be represented as a single-line diff in Makefile.in09:03
pittiI don't insist on it, but it might make the change much smaller and less error prone09:03
chrisccoulsonpitti - yeah, i can probably do that. we'd still need to keep the Makefile change to correctly link against libxtst though, but i can remove the configure check for the SRU. i only added that to make it more acceptable for upstream09:04
chrisccoulsonvuntz - we had a user report a gnome-session bug because they tried to get nautilus to open a window on login, by adding a nautilus autostart file in gnome-session-properties, but it didn't work because they ended up with 2 applications with the same app_id (and only one of them is started). would you consider that to be a bug, or something which is unlikely to change? (i'm wondering whether to close the launchpad bug or not)10:04
=== onestone___ is now known as onestone
huatshello everyone !13:06
mptmvo, hi, I thought you were supposed to be on holiday ;-)13:08
mvompt: yesterday, today and tomorrow I'm at work :)13:10
mptmvo, ah, I didn't call you yesterday because I didn't see you online anywhere13:10
mvompt: right, I was on vac yesterday13:13
mvobut not today and tomorrow13:14
mptmvo, I just updated trunk, and it's in an interesting state -- all the application names and icons are gone13:16
mvompt: oh? does "rm data/xapian/*" help?13:19
mptoh, I wasn't paying attention to what was happening in the terminal13:20
mptit was full of raise IndexError("No app '%s' for '%s' in database" % (appname,pkgname)) etc13:21
mptyes, all fixed now13:21
mvocool, thanks13:22
chrisccoulsongood afternoon everyone13:28
mptmvo, I'm thinking about how to show non-application packages in search results13:37
mptmvo, and one example I'm using is "the" (The Hessling Editor)13:37
mvompt: we can/could force exact package name searches as part of the query13:39
mvothat would match "the"13:39
mptyes13:39
mptSo, something like: If there's a package that exactly matches, show that first, then show all application matches alphabetically, and hide non-application matches behind a toggle of some sort13:40
mpt(other non-application matches, I mean)13:40
mpt... except in "Tech Stuff", where non-application matches should be shown by default13:41
mptCurrently searching in USC for "hessling" returns the, but searching for "the" does not13:42
mvompt: I'm not sure about the alphabetic, I send you a environment that you can use to modify the behavior a while ago13:42
mvompt: and alphabetic is confusing if you search for something with "z" in it IMO13:43
mptmaybe13:43
mvompt: I thnk I send it to you by mail, just play with it to get a feeling for the sorting13:43
mptAnother problem with alphabetic is where we get wildly popular and ISVs start gaming it by starting their application names with underscores or "AAA"13:43
mpt(that happened with Apple's store)13:44
mvooh, so that is the way the apple store is doing it by default? interessting13:45
mptI think they stopped, I'm not sure13:45
mpthaven't used it myself :-)13:45
mpthttp://arstechnica.com/apple/news/2008/07/app-store-alphabetical-listings-quietly-fixed.ars13:45
* mvo nods13:46
mvompt: we currently implement three different sortings, if you can't find the environemnt vars I can look them up for you again (sorry, I don't have it right now)13:47
mptmvo, sorry, I haven't found that message (I went through all messages where you mentioned "sort")13:55
mvompt: try "PYTHONPATH=. SOFTWARE_CENTER_SEARCHES_SORT_MODE=popcon ./software-center"13:57
mvompt: it supports "xapian"13:57
mvompt: alphabetic13:57
mvoand popcon13:57
mpthm, searching is hard13:58
mptNone of those options, when I search for "python", return any version of the Python interpreter as #1 or #214:00
mptI guess we can get around that partly with exact matches14:00
mptbut that might not help with searches like "openoffice"14:01
mvoyeah, search is hard, espcially when it neeeds be fast and exact. give me a minute to look if I can get the package name matches mixed into the search14:05
mvompt: please update and check how well the xapian mode now works. I added scaling for pkgname and a strong favor towards applications14:40
mvor47714:41
pittihm, any gnome committer here who could apply an approved patch for me?14:43
mvobut popcon (by its nature) gives us very good results for common searches14:43
mvompt: its hard to get the exact behavior you want, there is no simple "do-that search first and append the other results later"14:43
pittimclasen: thanks for the glib assert patch review; I can't commit myself, but I'll find someone14:44
mclasenpitti: we'll get it in, no worries14:44
mptmvo, one lookup and one search, splice the results together? :-)14:44
mclasenpitti: now I need to go and find some abrt hacker; I think they're all off for xmas already...14:45
pittimclasen: that problem sounds familiar :)14:45
pittiOTOH these three days are great for getting stuff done and reduce the backlog14:46
* pitti has $work inbox down to three14:46
mvompt: right, thats like saying "just return the right results"14:47
mptmvo, why is that? Is it because it would take twice as long as doing just one search?14:47
mvompt: its because the bit that displays the application gets a query as input. it does not care much if its in search, display (sub)category or search-in-category(or sub-category) mode. its a nice abstraction. that bits needs to be redone to take multiple queries and stitch them together. maybe hard is the wrong word, but it does not map very well currently14:51
mptmvo, is that something you'd need to rewrite anyway to hide non-application packages from most search results by default?14:52
mvompt: no, that is relatively easy to do by adding a "AND" or "AND_NOT" applications14:52
mptok14:52
mpthm, something must be broken14:55
mvompt: with the recent commit?14:55
mptmvo, in r477 I search for "thunderbird" and I get 200 results: Mozilla Thunderbird is #56, and most of the others don't mention "thunderbird" at all14:57
mptmvo, http://paste.ubuntu.com/344756/14:59
mvompt: with SEACHES_SORT_MODE=xapian ? or with the default mode?15:00
mptmvo, default mode15:01
mvoSOFTWARE_CENTER_ ... =xapian15:01
mptWas that change you made just to the xapian mode?15:01
mvompt: that may well be broken now :/ please check the xapian one15:01
mptok15:01
mptmvo, http://paste.ubuntu.com/344759/15:05
mptIt's improved on non-application packages, worsened on applications15:05
mptIt's also consistently returning ~200 results where most of them don't mention the search string at all15:08
mvohm, hm, so a different approach is needed15:10
mptactually, I need to increase the sample15:11
mptit's doing fairly well on other things I'm trying15:11
mptbut getting rid of those completely irrelevant results would be nice anyway :-)15:11
* mvo nods15:15
mptmvo, http://paste.ubuntu.com/344765/15:19
mptEmilia Pinball seems to come up in the top 20 for just about every search I do :-)15:22
mpte.g. it's the #12 result for "spreadsheet"15:22
mptmvo, so on balance, from that sample I think r477-xapian is a bit worse than r47615:28
cassidykenvandine, hey! Any chance to see https://bugs.edge.launchpad.net/ubuntu/+source/telepathy-gabble/+bug/494591 fixed in Karmic?15:46
ubottuUbuntu bug 494591 in telepathy-gabble "Ship 0.8.9" [Undecided,New]15:46
mvompt: hm, I just looked into a custom weight implementation to do custom relevance raking with xapian, but that seems to be not possible with the python bindings. I think it would solve the problem neatly. oh well15:46
mvos/would/would have/15:46
=== robbiew_ is now known as robbiew
mvompt: please try r478, still not perfect, but I think better16:18
mptmvo, with explicit xapian mode, or default mode?16:34
mvompt: default, sorry for not mentioning that16:36
mptmvo, http://paste.ubuntu.com/344818/16:42
mptr479 does a bit better than r47616:42
mptr479 in xapian mode does better still.16:43
mvompt: that is interessting, dive into python is a problem to become #1 because python is also a package name and huge popularity16:43
mptAnd in both default and xapian mode, I don't see any completely irrelevant results, nice work16:45
mvothanks16:45
mptmvo, shouldn't it matter that the python package doesn't mention "dive" at all? :-)16:46
mvompt: the package names are currently a OR search, I can make that a AND, but that will be on the expenses of other queries. but if you prefer that that is fine with me (OTOH there is no dive AND in AND python package)16:49
mptmvo, sorry, I don't understand what you mean by "there is no dive AND in AND python package"16:50
mvompt: I mean, for the package name query, there is no exact match there. but yeah, for the other one I need to check what is going on, but xapian is sometimes still magic16:51
mptmvo, do you mean that with an AND search, "dive into python" would return no results?16:52
mvompt: for a AND package name search yes, it would be a "dive AND into AND python" on the pkgname16:52
mptWell, the package name isn't "dive" or "into" or "python" anyway16:53
mptSo in both cases it's looking at the description instead, right?16:53
mvoyes16:54
mvohm, but its a good question why its not doing a AND there16:54
mptWe're hampered here by the synopsis being "free Python book for experienced programmers", rather than "Dive Into Python, a reference for experienced programmers" or something like that16:54
* mvo nods16:55
mptUnlike Google and Bing developers, we have the advantage of being able to improve our dataset :-)16:55
mvoindeed16:55
mvouser-contributed-metadata ftw16:56
mptexactly16:56
mptIn the meantime, the latest xapian mode looks like a good default to be going on with16:56
mvook, cool16:56
mptthough I'm happy to test something where the package search is ANDed16:57
mptpackage name search, I mean16:57
mvompt: ok, cool. I need to leave now (appointment this evening) - but I can commit a patch for this tomorrow morning - just ping me when you are online and I'm happy to do that16:59
mptmvo, ok, or put it in a branch and mail me, whichever suits you16:59
mptthank you for your attention to detail16:59
* mpt wonders what package should come up #1 in a search for "realtime kernel"17:00
mptlinux-image-rt, I guess17:00
* mvo waves17:01
mpttchau17:01
mptBut there we have crap data because the package info doesn't mention "realtime" at all17:02
mpt"This package will always depend on the latest rt kernel image available." </nothelpful>17:02
crimsunmpt: I'll patch that, thanks17:13
mptcrimsun, I'm part-way through writing it up, would you like me to hit the "Submit Bug Report" button, or would that be more bothersome than useful?17:14
crimsunsubmit, and please let me know the bug report #17:14
crimsunthanks17:15
mptcrimsun, reported bug 499524, thank you kindly17:17
ubottuLaunchpad bug 499524 in linux-meta "Package description doesn't mention "real-time"" [Undecided,New] https://launchpad.net/bugs/49952417:17
mptcrimsun, btw, do you know why <https://launchpad.net/ubuntu/+search?text=linux-image-rt> shows the linux-image-rt binary package coming from two different source packages for the same series? Are they for different architectures, or what?17:18
crimsunmpt: originally targeted to two different base kernels17:23
crimsun2.6.31 and 2.6.32 bases17:23
mpthm17:25
mptWhen I search Synaptic for "linux-image-rt" I get one result, but when I search Ubuntu Software Center I get two identical results17:25
crimsunmpt: would it be acceptable to use "Realtime" instead of "real-time"?17:45
crimsunmpt: upstream uses the former17:45
mptcrimsun, heh, I was just wondering how to finagle the description so that it would contain both :-)17:46
mptso that a search for either would return it17:46
crimsunwell, technically it's "Realtime Linux" and "RT" both, but I agree that we need to avoid confusing users with other "rt"-like packages17:47
bjsnideris it acceptable for a package to wipe out a userland config file as part of an update, or is it considered to be destruction of data?17:48
crimsuni.e., we don't want people to mistakenly think they're getting "Real Time Linux" (i.e., RTAI)17:48
mptcrimsun, so are some/most of the mentions of "real-time kernel" on the Web people referring to RTAI?17:49
crimsunI'll just make this clearer in the longer description17:49
mpthttp://googlefight.com/index.php?lang=en_GB&word1="real-time+kernel"&word2="realtime+kernel"17:49
mptok17:49
crimsun"real-time kernel" returns mostly "Realtime Linux" (i.e., Ubuntu's linux-meta-rt-related) results17:51
crimsunbjsnider: note the distinction between conffile and configuration file17:51
bjsnidercrimsun, let me be specific. ~/.gnome2/backgrounds.xml18:00
bjsniderthat file is created if the user ever changes anything about the default backgrounds such as their colour18:01
bjsniderit overrides the xml files in /usr/share/backgrounds18:01
=== robbiew is now known as robbiew_
=== mac_v is now known as vish
=== vish is now known as mac_v
dobeywhat's the installer project name? ubiquity?20:37
Keybukthe Live installer, yus20:37
dobeycool, thanks20:39
chrisccoulsonpitti - i've uploaded the gnome-screensaver SRU now22:06

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