/srv/irclogs.ubuntu.com/2011/09/14/#ayatana.txt

=== Omega- is now known as Omega
=== API is now known as Guest1621
=== Guest1621 is now known as apinheiro
=== MacSlow is now known as MacSlow|brb
=== lool- is now known as lool
oSoMoNgood morning08:29
=== chrisccoulson_ is now known as chrisccoulson
Saviqhello08:37
apinheironjpatel, one question, looking at this method QuicklistView::IsMenuItemSeperator(int index)08:49
apinheiroand at the objects08:50
apinheiroit seems that a quicklistmenu item can have a label, no matters if it is a quicklistmenuitemlabel or  not08:50
apinheiroright?08:50
apinheirohmm, the question is not really clear08:51
apinheirocan I assume that only quicklistmenuitemseparator will be a separator?08:52
=== MacSlow|brb is now known as MacSlow
njpatelapinheiro, yes, you can assume that safely :)09:16
apinheironjpatel, ok, thanks09:27
nigelbnjpatel: Heya! Do you think you'd have time to give a session at User Days about Unity Lenses? https://wiki.ubuntu.com/UserDays09:35
nigelb(Mostly about using)09:35
njpatelnigelb, I _should_ be able to, but I'm not sure if I'm away those days, let me find out and get back to dyou09:39
nigelbnjpatel: Great! Thanks. Once you're sure you can pick a slot yourself or just let me know whats a convinient time :)09:43
Saviqany comments on whether that's a sane approach http://pastebin.ubuntu.com/689057/ to fix https://bugs.launchpad.net/unity-2d/+bug/801073 ?10:35
ubot5Ubuntu bug 801073 in unity-2d "[dash] Dash is shown when pressing and releasing quickly super+KEY" [High,Triaged]10:35
Saviqwhat I'm yet unsure how to follow on, are custom shortcuts for other LauncherItems10:36
Saviqand now that I think about it, it won't help with shortcuts interpreted outside of the launcher :/10:37
Saviqe.g. what's mentioned on the bug - using Super+Tab to switch between windows10:37
=== MacSlow is now known as MacSlow|lunch
SaviqKaleo: ^10:53
KaleoSaviq: that won't do it unfortunately11:07
KaleoSaviq: it has to work for any key press happening at the same time as the super tap11:07
KaleoSaviq: that is, for keys that Unity 2D does not control11:07
Saviqyeah I know11:07
KaleoSaviq: just read your comment :)11:08
KaleoSaviq: ok :)11:08
Saviqah so you mean if during SuperkeyHeld11:08
Saviqany other key is pressed11:08
Saviqjust ignore that11:08
KaleoSaviq: yes11:08
Saviqso we need to monitor all the other keypresses11:08
KaleoSaviq: for example, some laptops for some reason use Super+L for switching video output11:08
KaleoSaviq: that's right11:08
KaleoSaviq: and we don't want the dash to show up when the user presses Super+L quickly11:09
Saviqyeah obviously11:09
Saviqok, on it11:09
KaleoSaviq: thanks11:10
=== MacSlow|lunch is now known as MacSlow
smosermy unity-2d-panel right now is taking up 865M resident12:02
smoserI'm running 'system-load-indicator', could that possibly causing leaks in unity-panel-2d ?12:04
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
greybackmardy, hey would you like me to review the grid_view stuff you did?14:44
mardygreyback: sure, you're most welcome! :-)14:44
greybackmardy, ok, I wasn't certain what "Abstain" meant14:45
mardygreyback: I accidentally set it on "resubmit" myself, then I didn't find a way to remove my own review, so I changed it to "abstain" :-)14:47
greybackmardy: aha, see :)14:48
greybackmardy, interestingly, you've also managed to fix something I just logged: bug:85003614:50
mardygreyback: good to know! :-)14:51
greybackmardy: hmmm, no, not quite :(14:51
mardygreyback: I hope it doesn't make it worse, at least :-)14:51
greybackmardy: it's working a lot better anyway. That was a nasty bug14:52
greybackmardy: oh you're really gonna hate me now!14:55
mardygreyback: maybe ;-)14:56
davidcalleKaleo, hi14:57
Kaleodavidcalle: hi14:58
davidcalleKaleo, are you the one who implemented the HorizontalRenderer in Unity-2D?14:59
Kaleodavidcalle: yep15:01
davidcalleKaleo, great, I have a small problem with it, non square images are enlarged to fit the tile http://ubuntuone.com/4hJIk1CeAboeNXsKv0T1ZP15:02
davidcalleKaleo, do you want a proper bug report on this?15:02
Kaleodavidcalle: I'm not sure I see the non square case in that screenshot15:10
Kaleodavidcalle: definitely, a bug report would be grand15:10
greybackKaleo: "would be grand" :P15:12
davidcalleKaleo, silly me, it sure could be useful to provide you a reference... Same icons with the vertical renderer http://ubuntuone.com/1SSTc5J23VFLFK5piS9GAD Bug report on its way, thanks a lot :-)15:12
Kaleogreyback: :p15:14
Kaleodavidcalle: got it :)15:14
Kaleodavidcalle: excellent, thank you for that15:14
cyphermoxmpt: hey15:15
cyphermoxmpt: can I get your opinion of https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/834495 ? better to have icons that are almost invisible in some themes, or no icons at all?15:16
ubot5Ubuntu bug 834495 in network-manager-applet (Ubuntu) "Edit Connections tabs have wrong-color mono icons" [Medium,In progress]15:16
cyphermoxunfortunately special-casing the icons to ship dark when the theme is light and the other way around would be complicated15:17
OwaisLIn some cases especially with the panel at some level of transparency. Mono icons become invisible when opening the dash as the panel changes colour too. Usually happens with light panel+dark icons15:30
mptcyphermox, that's a false choice, it works in 11.0415:46
mptand I'm pretty sure there was a bug report about it previously15:47
cyphermoxmpt what do you mean?15:47
cyphermoxit "works" in as much as the icons are already there, but afaik they would be just as not very visible15:47
mptBasically the menu should be using -symbolic, which mono provides, while the Edit Connections window uses the standard icons that don't15:47
cyphermox-symbolic?15:47
mpt"don't" = "mono doesn't provide, I mean15:47
cyphermoxboth things use the exact same icons15:50
mptcyphermox, exactly, they shouldn't15:50
cyphermoxthis is done because normally the icons will match the theme throughout, what nm-connection-editor does is ask what theme is used, that's all15:50
mptcyphermox, what does it do with that information?15:53
cyphermoxwell, just get the theme used, to know what the icon theme is, then load the icon from that theme15:53
mptcyphermox, why does it do that? Why doesn't it just use the icon name?15:54
cyphermoxmpt, it's equivalent. just getting the icon name will also get the one from the current theme15:55
cyphermoxyou ask for the icon name, the theme will be used unless the icon is unavailable, then it will start to use fallbacks15:55
cyphermoxhowever the icon *is* always availa15:55
cyphermoxbecause it's the same as we use for the indicator icons15:56
cyphermox(or largely the same, especially for wired)15:56
mptcyphermox, what are the names of the icons used?16:00
cyphermoxnm-device-whatever; so -wired, -wireless, -wwan and -unknown, IIRC16:01
cyphermox-unknown is a possibility but should never be reached, so we can safely forget it16:01
cyphermoxoh, I forgot -vpn16:01
mptcyphermox, so, the mono themes should provide, and the network menu should be using, -wired-symbolic, -wireless-symbolic, -wwan-symbolic, etc16:04
mptcyphermox, then Humanity or Hicolor should provide, and the Edit Connections window should be using, -wired, -wireless, -wwan, etc.16:04
cyphermoxcan you point me to where this symbolic stuff is defined? I know nothing of it and it all sounds a little confusing16:06
cyphermoxe.g. defined as in documented16:06
mptDepending on the age of the code it might be using -panel rather than -symbolic16:06
mptaha16:08
cyphermoxI can't find anywhere on my system an icon named -symbolic (and -panel has *very few*)16:08
mptcyphermox, bug 541882 is where the equivalent bug was fixed for the Sound Preferences.16:08
ubot5Launchpad bug 541882 in ubuntu-mono (Ubuntu) "Ambiance panel-style volume icons look ghostly elsewhere" [Low,Fix released] https://launchpad.net/bugs/54188216:08
mptLooks like maybe it is supposed to be -panel, to avoid clashing with future -symbolic icons that work differently.16:09
mptcyphermox, oh, snap16:30
mptwe commented at the same time16:30
cyphermoxd oh16:30
cyphermox:)16:30
cyphermoxwell, I understand it better now, though I'm pretty unhappy that this means yet more delta from upstream and debian16:30
cyphermoxbut I think with careful work, this can be corrected16:30
mptcyphermox, there shouldn't be any delta except in the menu, which is all delta anyway, right?16:31
mptAnd why do you need new icons at all?16:31
cyphermoxmpt: less and less16:31
cyphermoxI'm working on getting the patches upstream16:31
mptWell then, even in the menu, exactly the same code would work regardless of theme16:31
mptIf you're using an icon theme that doesn't have -panel icons, it falls back to the standard ones16:32
cyphermoxwell, seems to me like it should be new icons, ubuntu-mono needs to have a dark version of say, nm-device-wired, and a light version. the light one will be used in the panel, the dark one in the UI.16:32
cyphermoxpast that I don't really care much how they are done or what the name is, as long as it's implementable in code and doesn't destroy other themes16:32
mptcyphermox, are you sure that Humanity or Hicolor or something else in the fallback stack doesn't have them already?16:33
cyphermoxpretty sure16:33
mptcyphermox, well if they don't, why doesn't it malfunction upstream?16:33
mptDoes upstream have versions of Humanity or Hicolor that have more icons than ours?16:34
cyphermoxhicolor just has colored icons, and that works no matter if your panel is dark or light16:34
mptcyphermox, right, that's what you want here16:34
mptAgain comparing to the Sound Preferences, the volume icons there are slightly colored too16:35
cyphermoxbut the name of the icon used in the code is always the same here, I use nm-device-wired for both the panel and connection editor, that's how it's done upstream16:35
mptcyphermox, exactly!16:35
mptcyphermox, so step 1, change the names in the menu code, adding -panel16:36
mptStep 2, change the names in the mono theme, again adding -panel16:36
mptThe Edit Connections window code remains unchanged16:37
cyphermoxmkay, now this makes sense16:37
cyphermoxmpt: finally, you know the icons will look different in ubuntu-mono and humanity at least for wired?16:39
cyphermoxin ubuntu-mono we have arrows, in humanity what I find now is two connectors of some sort, looks a bit like a belt16:40
mptcyphermox, if anything, that's a feature ... Mono's wired icon is not very good :-)16:40
cyphermoxalright.16:40
cyphermoxcare to update the bug so that it's clear as you described it above?16:41
mamedhey19:20
smoseris unity-2d-panel leaking extremely badly for others ?19:20
mamedguys19:21
mamedi removed unity it was so slow but i loved global menu . i want it back (i mean global menu) can you help me?19:21
smoserI'm using 4.6.1-0ubuntu1, its been up for < 8 hours, and sucking 1.1G resident.19:21
smoserKaleo, ^ ?19:22
mamednoone will help i think19:22
smosermamed, you could try unity-2d. i dont think that the unity panel was expected to function without the rest.19:23
htorquesmoser: is it unity-2d-panel or the unity-panel-service (bug 835646)?19:26
ubot5Launchpad bug 835646 in unity (Ubuntu) "unity-panel-service memory leak when starting various applications" [High,Confirmed] https://launchpad.net/bugs/83564619:26
smoserunity-2d-panel is what shows in top19:26
htorqueok, then that's not that19:26
smoseri run 'system-load-indicator' which might be what differenciates me from stock19:27
smoseri just killed unity-2d-panel, and quit the system-load-indicator. i'll see if that is less leaky19:28
htorquesmoser: i'm running that here as well, though using normal unity. haven't seen it leaking.19:28
smoserwell, its visably still leaking for me. started off at 32M resident, its alrady up to 46M in 10 minutes.19:38
Kaleosmoser: hi, let me see19:40
Kaleosmoser: that's not good, can you file a report with the specifics of your configuration please?19:41
smoserKaleo, what sort of specifics ?19:43
smoserbug 850320 opened19:43
ubot5Launchpad bug 850320 in unity-2d (Ubuntu) "bad memory leak in unity-2d-panel" [Undecided,New] https://launchpad.net/bugs/85032019:43
htorquesmoser: that gotta be similar to bug 835646 - you can trigger the memory raise by opening any program19:44
ubot5Launchpad bug 835646 in unity (Ubuntu) "unity-panel-service memory leak when starting various applications" [High,Confirmed] https://launchpad.net/bugs/83564619:44
htorquee.g., check mem usage, run start and quit gimp, check mem usage again19:44
smoserhm... htorque i dont know. i dont start a lot of GUI problems.19:44
smoserprograms.19:44
smoseri dont actually think i've *started* an X11 program in the last 15 minutes19:45
smoseri do use 'gnome-open' fairly extensively though for opening urls in firefox.19:45
htorquesmoser: maybe just coincidence, will monitor it a bit and confirm if it raises on without any action.19:46
smoserwell its hard to do *no* action19:46
smoser:)19:46
htorqueheh, true19:46
smoserfor one, you just made my launcher panel come out, and the indicator panel light up by saying my name19:46
smoseri'll let others figure out if its a dupe or not.19:48
htorquesmoser: did you switch between windows a couple of times during that period? seems to raise on every switch here (~500kb each time).19:50
smoseryeah. switching desktops seems to make it leak19:52
macer1Hi. What is ayatana doing exactly? I mean...is it managing Ubuntu look and feel and thinks like that?19:56
macer1?20:00
Omegamacer1: it tries to improve the user experience of ubuntu and applications on ubuntu20:02
macer1cool :D20:03
Omegaso yes look and feel are all part of what ayatana does20:03
Omegahttps://wiki.ubuntu.com/Ayatana20:03
macer1I am running oneiric now. Ayatana made very good work on imporiving user experience :)20:04
Omega:)20:04
macer1i want to report a bug about some dropped gestures/keys like Ctrl+D in compare to natty. does it affect ayatana or only unity?20:06
macer1maybe ayatana deleted Ctrl+D to show desktop, to give better user experience :D20:07
Omegamacer1: yes it affects ayatana20:13
Omegaif it is a design change, it affects ayatana20:14
macer1hmm...is there a list of changes like that?20:14
jderosetedg: what's the correct, modern way to save and restore an app's window size and position?21:17
tedgjderose, Great question :-)21:17
tedgjderose, It seems to be falling on apps to do today, but my personal believe is the WM/session manager should help there.21:17
jderosehehe21:17
tedgjderose, But they're not today.21:17
tedgbelief21:18
jderoseyeah, it does seems like a weird thing for the app to manage... so that being the case, how should an app to this?  what's "the tedg way"? :)21:18
tedgjderose, You can just grab your position from you window and restore it.  Honestly, i think you probably should just have a good default.21:24
jderoseyeah21:24
tedgIt's quick to maximize, which is really what most people want anyway.21:24
tedgEspecially with a video editor.21:24
jderoseyeah :)21:25
jderosetedg: so just call Window.maximize() before I call Window.show_all()?21:28
=== tremolux_ is now known as tremolux

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