/srv/irclogs.ubuntu.com/2008/10/31/#ubuntu-desktop.txt

=== PrivateVoid_ is now known as PrivateVoid
huatsmorning everyone09:16
seb128lut huats09:18
huatslut seb12809:18
seb128who has an opinion on whether the "serie to track and usual updaters" updates list should be access restricted or not?09:39
seb128ie, bzr in ubuntu-desktop or desktop-bugs rather?09:39
mvoseb128: do you happen to remember the bugnumber for the "something opens when clicking on places" ? I just got it in another report09:48
seb128mvo: bug #26049209:49
ubottuLaunchpad bug 260492 in nautilus "opening a directory using an application change associations incorrectly" [Medium,Fix released] https://launchpad.net/bugs/26049209:49
mvoseb128: in bug #291132 the person claims it happens with a recent upgrade as well (he says he upgraded from 8.04 to intrepid final)09:52
ubottuLaunchpad bug 291132 in update-manager "upgrade 8.04 to 8.10" [Undecided,Fix released] https://launchpad.net/bugs/29113209:52
seb128mvo: hum?09:53
seb128mvo: we didn't do anything to migrate user configs on upgrade, that's why the update-manager task has been opened on the other bug09:53
seb128mvo: intrepid will not writte buggy configuration but users who did change it in hardy will notice that change after upgrading since gnome-panel respects the choice now which it didn't in hardy09:53
mvoseb128: oh, sorry. I thought it was a bug *during* the development cycle in intrepid09:55
mvoseb128: in this case I think we should do something similar to the fusa-migration stuff09:56
seb128mvo: no, we would not have bother for unstable users09:56
seb128I mean they know running unstable can lead to some glitches09:56
mvomy bad, I misread that09:56
seb128we will need to fix before the next lts in any case09:56
seb128I mean do something to fix those configs09:57
seb128mvo: that should be easier than the applet change, the configuration is one line in .local/share/applications/mimeapps.list09:58
mvoseb128: ok, do you plan to fix it in gnome-panel? or via a note ?09:58
seb128mvo: how would you fix that in gnome-panel? gnome-panel is only respecting the user config09:59
mvoseb128: if note, I can add it and prepare a upload now, I think this is anyoing (and common) enough so that we act quickly09:59
seb128mvo: you could be using GNOME and gtk-nautilus rather than nautilus09:59
mvoseb128: not sure, my gut-feeling is that if the config is "open totem for a directory" then there is probably something wrong09:59
seb128so gnome-panel should open directories in gtk-nautilus in this case09:59
seb128right09:59
mvobut yeah, I see your point10:00
* mvo scratches head10:00
seb128mvo: basically we could to that10:02
seb128mvo: python -c 'import gio; print gio.app_info_get_default_for_type("inode/directory", True).get_executable()'10:03
seb128mvo: if that not == nautilus, display a note "your default association to open directories is not nautilus, that might be a bug, do you want to reset it to nautilus"10:03
seb128and the reset button would just make sure .local/share/applications/mimeapps.list has nautilus listed first for the directory10:04
seb128mvo: what do you think?10:04
mvoseb128: thats cool, lets do it - I think the right place would be in the panel itself but a note will be much quicker to do10:04
seb128That's not perfect but should be good enough10:04
seb128mvo: what in the gnome-panel?10:04
seb128mvo: gnome-panel respects associations for a reason, you might be using gtkfilemanager as your filemanager in which case you want the places menu to use that and not nautilus10:05
seb128so you can't say "gnome-panel always uses nautilus to open directories"10:06
seb128but maybe I don't get what you suggest10:06
seb128what would you change exactly?10:06
mvoseb128: I was thinking of a one time message "your association is not nautilus, if that is deliberate fine, if not click here to fix it" with better wording of course inside the panel. but I guess this leaves us with the disdavantage that we can not detect if it was a upgrade or a fresh install10:21
mvoseb128: with the note we can do that and only install the note on upgrades10:21
mvoseb128: let me know what you think, if we want a note, I can prepare a update, I would need help with the SRU verification instructions though10:24
seb128mvo: do we have a way to display this note only if nautilus is not the default association?10:24
mvoseb128: yes, there is a "DisplayIf" key that can run any shell command10:25
mvoseb128: any command really10:25
seb128mvo: I'm thinking about it, what you did for the applet migration was a gnome-panel change, that's different of the note, what are the advantage of the different solutions?10:27
mvoseb128: so we put the python code there plus a test if the check was already run (I think its enough if the check is run once after upgrade)10:27
seb128I've to admit the difference between an application note and an update-manager one is not clear to me right now10:27
seb128let's go the other way10:27
mvoseb128: update-manager can not do it  itself because it runs as root and may not have access to the users homedirs (e.g. in nfs environments with the rootsquash option)10:27
seb128we want something which is displayed once after upgrade from hardy for users where nautilus is not the default association10:28
mvoright, I think we can do it inside the panel itself or via a note?10:28
seb128you probably know better than me what is the best tool we have to do that10:28
mvoeh, no "?" here :)10:28
seb128gnome-panel, as a patch to the C upstream code?10:28
mvoyes10:29
mvoI think those are the alternatives we have10:29
seb128my gut feeling is that patching upstream code is not the right place for that10:29
* mvo nods10:29
seb128what are the disadvantages of the note approch?10:29
mvoits a bit clunky, but otherwise there is none - I mean, a note displaying "there might be something wrong, fix it: [yes] [no]"10:30
seb128well, having it in gnome-panel would not display anything different10:31
seb128so it should be gnome-panel installing the note, similar to what you did for the applets migration?10:31
mvohm, right10:31
seb128I think we should go this way10:31
seb128the test is basically the python snippet I wrote before10:32
mvoyes, I think so - we *could* just fix it automatically on upgrade and say that the (few) people who changed it deliberately can fix it themself, but I don't feel well about it10:32
seb128they didn't wrap the equivalent _set api yet though which sucks10:32
seb128no, I like better displaying a note to people who have a weird association10:32
seb128we could do a "appname is set to open directory, that could be a bug, do you want to change it back to nautilus?"10:33
mvoseb128: I will prepare something and post it for review (unless you want to take it which is fine with me of course)10:34
seb128mvo: I'm think in fact we could just automatically change it10:35
james_wwhat would be the fallout from just changing it back?10:35
mvoseb128: right10:35
seb128james_w: what I wrote before " gnome-panel respects associations for a reason, you might be using gtkfilemanager as your filemanager in which case you want the places menu to use that and not nautilus"10:35
mvojames_w: good question, nothing as far as the panel is concerned because hardy did not honor it anyway10:35
seb128mvo: right that was just what I was thinking too10:36
mvoso there is no change here10:36
seb128since hardy didn't respect it10:36
mvodoes it have any other effect?10:36
mvoI mean, does anything beside the panel read that association?10:36
seb128well that's gio association10:36
seb128so anything which opens a directory using gio10:36
seb128but I would say it's a marginal usecase10:37
seb128I doubt anything out of gnome-panel is doing that in the standard install10:37
seb128and the world has not switched to gio otherwise10:37
seb128ok10:37
seb128let's do automatic fixing on upgrade ;-)10:37
mvook, so we need something in Xsession.d/ for that10:37
seb128urg10:38
mvoyeah, sucks10:38
seb128I don't like things staying around in Xsession.d10:38
mvothe alternative would be: "for d in /home/*; do ..."10:38
mvoin the postinst10:38
mvowhich is *eeeeek*10:38
seb128I'm considering the gnome-panel code change now10:39
mvo(and will not work on nfs mounted homes)10:39
mvoright10:39
mvothat is best I think10:39
mvocheck on startup, change if needed and set a gconf key that the check was performed and should never run again10:39
seb128the annoying part how to figure "first startup after hardy upgrade"10:39
seb128we will need to add a gconf key I guess10:40
mvoyeah10:40
seb128ok, so we are clear on what needs to be done10:40
mvoand for fresh installs we can just ship the gconf key with "already_run = True"10:40
seb128how?10:40
mvohrm, right. no - so we need to run it once for fresh installs too, but that should be fine because the default there is nautilus10:41
james_wcan you ship a default gconf key with "not_run = True" and then run the upgrade if that is found, setting "not_run = False" for the user?10:41
seb128we can hack a postinst snipet to set this key only on upgrade10:41
mvoseb128: yeah!10:42
mvoneed_fixup = True :)10:42
mvoI like that10:42
seb128;-)10:42
seb128ok, what we need then is10:42
seb128- have a new key defaulting to false10:43
seb128- a postinst snippet setting it to true for upgrades10:43
seb128- gnome-panel code which reads this key and call the code when the key is true10:43
seb128- the code change the default association to nautilus if that's not nautilus yet10:43
seb128- and after running the key is set to false10:44
seb128mvo: looks correct?10:44
mvoyes, looks perfect10:44
seb128do you want to do those changes or should I?10:45
mvoeither way is fine for me10:45
seb128same here ;-)10:46
seb128I'll probably not start before lunch and I've lunch outside today but I can have a look this afternoon10:46
seb128feel free to start on it if you want, I'll look at this this afternoon otherwise10:46
mvook, cool10:46
seb128that should just be calling app_info_get_default_for_type and then app_info_set_as_default_for_type10:47
mvolet see what other issues I run accross and how busy the morning will be10:47
mvohm, a opportunity to put gnome-panel into bzr ... ;)10:47
crevettehello chaps10:48
mvohey crevette10:48
seb128lut crevette10:48
seb128mvo: you didn't do that yet? ;-)10:48
seb128bah bug #29148210:48
ubottuLaunchpad bug 291482 in libgnome "package libgnome2-0 2.24.1-0ubuntu4 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/29148210:48
seb128did I already complained about those upgrade bugs ;-)10:49
mvoseb128: I did :) but nothing really major came up (yeah!)10:49
seb128joke aside looking at the recent bugs list I was surprised how many random upgrade bugs we are getting10:49
mvoseb128: make your scripts more robust ;)10:49
seb128lot of users must be running into issues10:49
seb128mvo: add || true after all the commands? ;-)10:50
mvoseb128: jokes aside, yes - this is a problem and something thats pretty anoying10:51
mvoseb128: I mean, upgrades are really too fragile and its just too many things that can go wrong (and do go wrong)10:51
mvoits hard to fix without major changes though, I think we did cover most of the easy and medium improvements10:52
* mvo checks the error that seb mentions10:52
seb128mvo: we could easily delay all the cache updates, etc to be run after the upgrades no?10:53
seb128so installations would not break when update-icon-cache crash for a random reason10:54
seb128or similar issues10:54
mvoseb128: hrm, this particular one looks really nasty10:58
seb128mvo: what is the error exactly? I've been to lazy to read all the logs there ;-)10:59
mvoseb128: this one looks like a problem in the way apt calls dpkg :(10:59
seb128urg11:00
mvoyeah, really really nasty11:00
seb128you can reassign it where you want that doesn't seem to be desktopish11:00
* seb128 hugs mvo11:00
mvoI will write some code that extracts his packages and tries to reproduce it, I would love to be able to and check a fix, this is the kind of error I don't want11:00
mvothere goes the gnome-panel work :)11:01
mvoseb128: I already reassigned it to apt11:01
seb128ok, I'll have a look to the gnome-panel changes11:01
seb128looks a nice friday afternoon project11:01
mvoseb128: ok, I updated the bugreport to include the plan11:12
seb128mvo: thanks11:19
tuxicempt?12:00
mptyep12:00
tuxicei have a fix for bug 16031112:00
ubottuLaunchpad bug 160311 in metacity "Window Resize Difficult (Window Border Thickness)" [Wishlist,New] https://launchpad.net/bugs/16031112:00
tuxicei propose we add a slider to the theme selection tab in the appearence menu, or even a new tab altogether.12:01
tuxicewhat do you think?12:03
tuxicempt?12:07
mptone moment, reading the report12:07
tuxicek12:08
mptthis is a long bug report :-)12:12
tuxiceya12:13
tuxicempt?12:27
mpttuxice, I'm commenting on the report12:28
mptI don't have anything massively useful to say though12:28
tuxicecamoguy?12:35
mptdone12:35
tuxiceDo you think adding a sliderbar, that would increase the border would be a worthy fix?12:36
tuxicempt?12:36
mptNo, I think that would be dumping the problem on users without solving it12:37
tuxicei see.12:37
mptMaking them choose between efficient and ugly12:37
tuxicewhat would be a fix?12:37
mpter, between efficient and ugly, vs. awkward and attractive12:37
mptI've suggested possible solutions in the bug report12:38
tuxiceya12:38
tuxiceok12:38
mpt* try the invisible draggable area and see if it works12:38
mpt* get GTK to introduce a corner grippy that doesn't require a status bar12:38
mpt* report bugs on apps that could have a corner grippy but don't12:38
tuxice+112:39
tuxiceg2g12:41
alexvanlierhello13:33
isawHi... can anyone help with a fragged 8.1 upgrade?14:28
huatsseb128: have you heard of some intrepid freezes ?14:58
huatsi mean of system  freeze :)14:58
mvowb seb12814:59
seb128re14:59
seb128huats: intrepid is stable now so it's frozen, you need sru to do updates14:59
huatsno non14:59
huats:)14:59
huatsi mean of system  freeze :)14:59
huatsi just had 4 on my running system :)15:00
seb128urg15:00
seb128no vt switch?15:00
seb128what videocard and driver?15:00
mvohuats: when does it freeze?15:00
huatsmvo: random :)15:01
seb128huats: can you ssh to the box when it's frozen?15:01
mvohuats: what videocard and driver?15:01
huatsmvo: sometime with evolution (writing an email) sometime with flash in firefox15:01
huats...15:01
mvoseb128: I put a proposed patch into the bugreport we talked about earlier (review welcome, its not a nice one :(15:01
mvo what videocard and driver?15:01
mvowith compiz or without?15:02
huatssearching that :)15:02
mvolspci -nn15:02
huats(without compiz)15:02
mvoif you paste the output of that, we shoudl be fine15:02
huats nVidia Corporation GeForce 8400M G15:02
mvook15:02
huatsseb128: I haven't try the ssh, I cannot switch to the console15:02
mvo/var/log/Xorg.0.log will have the used driver (either nvidia or nv)15:02
huatsnvidia15:03
mvohrm, that is bad(tm)15:03
seb128huats: try to ssh15:03
huats(I know :( )15:03
seb128usually I blame compiz for those15:03
huatsseb128: I try (next time which will be soon I am sure)15:03
huatsand I'll let you know :)15:03
seb128try using nv instead of nvidia too15:03
seb128mvo: ok thanks, will have a look15:04
huatsthanks mvo and seb12815:04
mvoseb128: no rush15:04
mvoseb128: while waiting for the upgrade test thing I had a bit of free time15:04
seb128;-)15:05
seb128mvo: looking to your patch now15:12
seb128+      g_warning("inode/directory points to '%s' - fixing", g_app_info_get_executable(app), "nautilus");15:12
seb128mvo: wrong number of arguments there?15:13
seb128mvo: you also g_object_unref(app); in the case where app == NULL15:15
mvothanks for the review15:17
seb128mvo: otherwise for the loop that's either that or building a new GAppInfo so I think iterating over the option is reasonable15:18
seb128not sure if there is a function which takes a .desktop and return a GAppInfo15:18
mvoseb128: I tried that using the nautilus.desktop file, but that crashed for me (no idea why) - app != NULL15:24
mvoI mean it was != NULL15:24
seb128what function did you try?15:24
mvogive me a sec15:27
mvog_desktop_app_info_new_from_file I think15:27
seb128mvo: also I'm not sure about that15:28
seb128+    new_app = l->data;15:28
seb128+ g_object_unref(new_app);15:28
seb128+      g_list_free(l);15:28
seb128mvo: you don't increment the ref by doing new_app =l ->data do you?15:29
seb128mvo: isn't g_list_free unrefing l anyway?15:29
dobeyno15:29
dobeyg_list_free doesn't know how to deal with the data in it15:29
dobeyyou have to loop through the list and unref/free/whatever each item, and then free the list15:30
mvothanks dobey15:34
huatsseb128: no luck with the ssh after the freeze (and no ping of the computer either)15:39
seb128huats: seems a system crash and not an xorg one then15:39
huatsyep15:39
seb128mvo: g_desktop_app_info_new_from_file should be working15:39
seb128weird15:39
mvoseb128: no idea, maybe I did something wrong15:41
seb128mvo: I'll have a look in a bit15:41
seb128out of the previous comment the patch looks good to me15:41
mvoseb128: thanks, I need to run out in a bit, so feel free to take over from here15:42
seb128mvo: will do, have fun see you later15:43
mvoseb128: thanks!15:46
seb128grrrr at xulrunner16:25
seb128you could think they would fix bugs sometimes but it's still crashing on closing and doing that since before hardy that starts being annoying16:25
seb128when it's not hanging and preventing you to open a new instance16:26
dobeywelcome to Web 2.016:27
dobeywhere nothing works, and there are more browser engines that all behave completely differently16:28
=== jtisme is now known as jt1
=== jt1 is now known as jt2
=== jt2 is now known as jt66
=== jt66 is now known as jtisme
=== jtisme is now known as jt66
=== jtisme is now known as jt66
=== jtisme is now known as jt66
=== jt66 is now known as jtisme
=== jtisme is now known as jt66
=== jtisme is now known as jt66
* jt66 is away: I'm busy19:50
mvohm, will g_list_free(g_list_last()) DTRT and free all of the list (and not just from the element it started on)?20:41
dobeythat looks like it's asking for problems20:42
mvoheh :)20:42
mvothis is why I'm asking, I check the glib source20:42
dobeyglib is doing that?20:42
mvowell, I don't know. I was just wondering if I need to keep a head pointer around20:43
dobeywhat are you trying to do exactly20:44
mvoI have a GList and iterate over it, when I'm done I want to free it20:44
dobeyfor (l = list; l && l->data; l = l->next) { item = l->data; list = list_remove (list, item); free (item); } list_free (list);20:45
waltersmvo: no20:45
mvothanks dobey and walters20:46
simpmanInstalling ubuntu desktop 8.10 having problems it's freezing during the loading splash screen while trying to boot. checksumed the md5, as well as booting it from USB and Live CD and the problem remains. Any suggestions would be appreciated23:23

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