/srv/irclogs.ubuntu.com/2012/10/15/#ubuntu-unity.txt

MCR1duflu: Hi :) Got 2 minutes ?07:01
dufluHello MCR1, yes?07:03
MCR1duflu: Enabled Framebuffer object causes laggy and stuttering graphics if unityshell is enabled with recommended gallium driver at least. Is there a reason to turn it on by default ?07:03
dufluMCR1: Yes, because with most graphics configurations, the opposite is true. I have tested 6 different graphics drivers to come to that conclusion07:04
dufluOr do you mean /only/ with unityshell?07:05
MCR1yes07:05
dufluHmm07:05
MCR1It is 100% reproducable07:05
dufluYes I suspect the new FBO logic in compiz is not optimally integrated with that of Nux (Unity)07:05
dufluThere may be some inefficiency there07:05
MCR1And the result is highly visible07:05
MCR1I have just tested AMD/gallium07:05
dufluI don't have trunk Unity built to verify right now but will test it as soon as I do07:05
MCR1Thx, because I think this would be quite important for every AMD/ATI user.07:06
dufluMCR1: Make sure you have this fix: https://bugs.launchpad.net/bugs/106483407:06
ubot5Ubuntu bug 1064834 in nux (Ubuntu) "Compiz spends 94% of its CPU time in glTexImage2D() from nux::IOpenGLSurface::InitializeLevel() from ... nux::GraphicsEngine::CreateTextureFromBackBuffer when the dash is open" [High,Triaged]07:06
dufluMCR1: Please also log a bug in case I forget07:07
MCR1duflu: I have this fix afaik, I am on trunk of Compiz/Unity and tested again yesterday...07:08
MCR1duflu: Ok, I'll file a bug.07:08
dufluMCR1: You also need trunk lp:nux07:08
MCR1duflu: I make sure I have tested and verified that before filing the report. Thx 4 your time.07:09
jokerdinohm, i can't find the unity --reset bug but i think phanimahesh has a python script that does something similar in a dirty way.07:10
phanimaheshHere's the script http://etherpad.ubuntu.com/kftNoOVFYM07:12
jokerdinoin case it doesn't work, http://paste.ubuntu.com/1280650/07:12
didrocksMirv: sil2100: hey! :)08:18
didrocksMirv: sil2100: are you preparing the SRU to get it into -proposed tomorrow, as we planned?08:19
Mirvdidrocks: very much so, the problem is that getting the fixes done was a bit delayed so we'll need to push hard to get also testing done on time08:40
Mirv(and we need SRU acks)08:40
didrocksok :)08:41
didrocksSRU acks?08:41
Mirvie. following https://wiki.ubuntu.com/StableReleaseUpdates#Procedure08:48
MCR1Mirv: Hi :) I want to get bug 1063249 into SRU for Precise and Quantal - The fix has no regression potential and is tested and merged. Should I just subscribe the team ubuntu-sru ?08:53
ubot5Launchpad bug 1063249 in unity (Ubuntu) "Unity Show Desktop fade back in function not smooth" [Undecided,In progress] https://launchpad.net/bugs/106324908:53
MirvMCR1: yes please, just change the bug description to have the required items from the above wiki page, and then subscribe08:54
MCR1Mirv: ok08:54
MCR1Mirv: Done. :)09:01
sil2100MCR1: could you also submit a merge request for lp:unity/6.0 ?09:02
MCR1sil2100: Good you are here - I need you for 1 min.09:02
MCR1sil2100: Will do, but another question: Can it be that the automerger does not like https://code.launchpad.net/~mc-return/unity/unity.merge-fix1006429-fix1006434-fix1063171/+merge/129150 ?09:03
jokerdinohey, i am curious if there was a need to put back unity --reset. me and my friends put together a python script that does it somewhat.09:03
MCR1sil2100: You know it was the branch accidentially merged...09:04
jokerdinohere's the script - http://paste.ubuntu.com/1280650/09:04
MCR1sil2100: I had to re-commit my one line fix and repropose to merge...09:04
MCR1sil2100: Maybe that is why it does not land - if so I can ofc apply the fix once again to trunk and propose a new merge...09:05
MCR1sil2100: This fix is closely connected to other showdesktop bugs, so I would really like to get this in also.09:05
MCR1sil2100: I am not entirely sure how to best submit a merge request for lp:unity/6.0 - Should I check out this branch and then apply the fix, commit, push and request the merge or is there an easier way ?09:19
sil2100MCR1: one moment, looking09:24
MCR1thx09:24
didrocksMirv: sil2100: there is still the nux issue on armfh/armel to build, wasn't it supposed to be fixed?09:24
sil2100didrocks: I read an e-mail from Martin today that he sent on Friday that it seems 'not fixed' even though it got marked as resolved09:25
sil2100didrocks: so the nux guys need to check it out again09:25
didrockssil2100: the issue is that nux FTBFS on armfh and so no install is possible?09:26
sil2100MCR1: about the 6.0 merges - yes, sadly, you have to branch lp:unity/6.0, apply your changes, commit, push and request - best if its also tested before submitting if it works with the 6.0 code-base09:27
sil2100didrocks: that was the issue before, yes, so I suppose its still the same problem - as Martin posted a jenkins log on where he reproduced the nux build failure on Friday09:28
=== mmrazik is now known as mmrazik|afk
MCR1sil2100: Ok :-( - although this particular fix will work in Unity 6.0 for sure as this bug is old and the showdesktop unity code has not changed for a long time...09:28
didrockssil2100: ok, please keep me in touch09:28
MCR1sil2100: What about  https://code.launchpad.net/~mc-return/unity/unity.merge-fix1006429-fix1006434-fix1063171/+merge/129150 ?09:29
sil2100didrocks: but now that I see it, it's just a bunch of unused variables with -Werror=unused-parameter ... strange thing09:29
sil2100MCR1: looking at this one right now09:29
MCR1sil2100: oh, sry09:30
MCR1did not want to stress09:30
sil2100lp:unity uses the new merger, so not sure why its stalled since Friday - let's try re-approving it09:30
MCR1sil2100: thx, I am preparing the fix for 6.009:31
sil2100MCR1: thanks! Will keep you in touch about the one-liner-fix ;)09:31
MCR1thx09:31
MCR1sil2100: Done (6.0 merge request): Is this okay ? : https://code.launchpad.net/~mc-return/unity/unity6.0.merge-fix1063249/+merge/12963209:43
sil2100MCR1: thanks, looking good!09:46
sil2100MCR1: will test and approve ASAP09:46
MCR1sil2100: You can ofc test, but you do not need to.09:46
* MCR1 is preparing the other showdesktop fix (requirement) for Unity 6.0 as well...09:47
MCR1aeh - feature, not requirement09:48
MCR1sil2100: https://code.launchpad.net/~mc-return/unity/unity6.0.merge-fix1006429-fix1006434-fix1063171/+merge/12963609:56
MCR1sil2100: This should also be part of the SRU, but it has 3 bug reports linked it fixes.09:57
sil2100MCR1: first, I need to check why its not getting picked up by the merger for trunk ;)10:06
MCR1sil2100: If it creates problems, just tell me and I will apply the fix to current trunk and propose a new merge request :)10:08
ppdhi, maybe someone can help me a little bit. I'm having difficulties settings shortcuts in quantal without a modifier. E.g. some notebook's special keys. They get recognized in the gnome settings but then are ignored. I'm pretty sure I have seen a similar bug report once but cannot find it anymore. Maybe someone can point me in the right direction?!10:16
=== MacSlow is now known as MacSlow|lunch
=== mmrazik|afk is now known as mmrazik
sil2100mmrazik: hi!11:17
MCR1sil2100: Oh - problem ?11:18
sil2100MCR1: it seems your fix has some fatum on it, maybe some curse or something - but we're tracking it11:20
sil2100MCR1: ah, but Martin just fixed it, it should be merging pretty soon11:22
MCR1sil2100: Probably because it is the same branch the merger thinks he already merged it... Ah - good news as I've no work to do then :)11:22
MCR1Thanks, mmrazik :)11:23
MCR1sil2100: Last question for today: Do you know why latest nux is not available in any of the usual PPAs (staging, stagingfuture) and do you know if this will change soon ?11:25
sil2100MCR1: I see staging has the latest nux in it11:36
sil2100MCR1: revision 688 from lp:nux11:36
sil2100MCR1: but we have problems with nux arm builds currently11:36
sil2100(FTBFS for arm*)11:36
MCR1sil2100: You are right - just apt chose 3.8.0+bzr+pkg368~quantal1 here, because it thinks this version is higher than 3.8.0bzr688pkg368quantal6 - probably because of the missing "+" between 3.8.0 and bzr...11:42
=== _salem is now known as salem_
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== MacSlow|lunch is now known as MacSlow
=== dandrader is now known as dandrader|afk
=== Guest98741 is now known as balloons
=== balloons is now known as Guest27823
=== dandrader|afk is now known as dandrader
=== Guest27823 is now known as balloons_
=== balloons_ is now known as balloons
=== yofel_ is now known as yofel
davidcallemhr3, hey14:33
mhr3davidcalle, hi14:34
davidcallemhr3, how are you doing?14:34
amithkkI need some help with the python gsettings api14:42
mhr3davidcalle, preparing myself mentally for next week :)14:45
davidcallemhr3, :)14:56
davidcallemhr3, is it still possible to specify a category header for the home Dash, by default now we have have the lens name and the icon of their first category.14:56
mhr3davidcalle, what about you?14:56
davidcallemhr3, I'm pretty good :)14:57
mhr3davidcalle, nope, it's the lens name atm, no way to override14:57
davidcallemhr3, meh14:58
davidcallemhr3, ty :)14:58
mhr3davidcalle, well, there is the property to set it, but i think unity doesn't honour it14:59
mhr3it might in the future though14:59
davidcallemhr3, it's for an invisible lens, the calculator/weather/'n various stuff. I think I'll split everything into lenses. By the way, Unity also doesn't care about the personal_content hint sent from Python.15:05
mhr3are you sure?15:07
davidcallemhr3, well, every scope using it should appear above the shopping one, right?15:08
=== salem_ is now known as _salem
mhr3well, unless there are already results15:16
mhr3actually, i'm not sure now15:17
mhr3i think even non-personal results would show up above shopping if there's space15:18
* mhr3 looks at the code15:18
davidcallemhr3, not sure what you mean by "if there's space"15:23
mhr3ie there are no other results15:23
davidcallemhr3, if I make a search returning only photos and shopping results, I consistently have the shopping cat on top, even if it appears after the photos cat.15:25
mhr3davidcalle, looking at the code, shopping should be moved to 3rd place everytime there are some results15:35
mhr3all scopes need to properly emit finished for it to work though15:37
davidcallemhr3, haha just found the issue : I had "scope.provides_personal_content=True" instead of "scope.props.provides_personal_content=True"15:43
mhr3heh, python and its stupid props :P15:44
mhr3davidcalle, still, even without the flag, the results should be above shopping, if only photos and shopping is visible for the search you did15:49
davidcallemhr3, without the flag, shopping is above every Python lenses15:50
mhr3then there's a bug somewhere :)15:50
davidcalle:)15:51
mhr3and if you find where, i'll make sure it gets sru-ed15:51
=== _salem is now known as salem_
=== Guest58037 is now known as jbicha_
=== dandrader is now known as dandrader|lunch
MCR1bschaefer: Hi :) If you have a minute - this one needs approval (I guess it does not need any testing, just a look): https://code.launchpad.net/~mc-return/unity/unity.merge-fix-xml.in-headers/+merge/12971316:46
bschaeferMCR1, ill take a look in a bit :) (Thanks!)16:46
MCR1bschaefer: Thx a lot also :)16:47
bschaeferMCR1, since I don't know a lot about XML, <?xml version="1.0" encoding="UTF-8"?> is just the header that XML files need?16:52
MCR1bschaefer: Yes, this header is partially already in use for .xml.in files, not only in lp:unity, but also in lp:compiz. Please take a look at the 2 screenshots I attached to the linked bug report as well :)16:58
bschaeferMCR1, cool, will do16:59
MCR1Oh, Trevinho was fast :) Thx 4 approval. :)16:59
MCR1bschaefer: Thx also :)16:59
TrevinhoMCR1: yw ;)16:59
bschaeferMCR1, looks like marco beat me to it :)16:59
bschaeferTrevinho, thanks16:59
MCR1Trevinho: Thx for merging my triple bug fix to Unity 6.0, but I am not sure what happens if someone already has fadetodesktop or showdesktop activated -> might be that those have to be deactivated manually then - that is why I have not proposed the fix for 6.0 yet...17:15
MCR1Trevinho: I mean if those computers explode, you have been warned ;)17:17
=== dandrader|lunch is now known as dandrader
=== Guest72485 is now known as dpb___
=== jbicha_ is now known as jbicha
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== dandrader is now known as dandrader|afk
phanimaheshAnother attempt at fixing unity --reset, using Python Gobject bindings. http://paste.ubuntu.com/1281827/20:06
phanimaheshThe revision history is saved on bitbucket at https://bitbucket.org/jpmahesh/unity-reset20:06
bschaeferphanimahesh, unity --reset is no more, it is just unity (which does the same thing now)20:08
phanimaheshI'm not on quantal yet, but there has been discussion that unity can not be reset to defaults as of now.20:10
phanimaheshAnd this is supposed to fix that.20:11
=== dandrader|afk is now known as dandrader
bschaefero hmm, cannot be reset to defaults? As in the default compiz profile?20:11
phanimaheshyup. stash all customisations.20:12
bschaeferwhich actually sounds like a good idea20:12
bschaeferawesome, but didrocks would be the one to talk to, about getting it in :)20:13
phanimaheshBut I'ven't tested it yet. If anyone is on Quantal, can you change launcher icons size, autohide, and such settings at random and see if running this resets everything?20:14
bschaeferhmm let me see if it'll work for me :)20:15
phanimaheshI pinged Jorge catro. He'll talk to didrocks,20:15
bschaefercool20:15
phanimaheshThe first version was dirty, and didrocks commented that it'd be better to rewrite it to use python bindings, and i just did that.20:15
bschaeferin the paste bin you have up there?20:16
phanimaheshthe pastebin one is the newest version.20:17
phanimaheshold ones are in the git repo, as separate files.20:17
bschaefercool, Ill give it test20:18
bschaeferphanimahesh, when I set the launcher to autohide, it doesn't reset to default20:23
phanimaheshcan you pull up a python shell?20:23
bschaeferyeah20:24
phanimaheshoops, fixed it. I've not imported the library. wonder hw it ran in the first place.20:25
bschaeferhm it must have just skiped to the unity --replace20:25
=== salem_ is now known as _salem
phanimaheshcan you pull up the updated file reset-gio.py from the repo.20:26
bschaeferphanimahesh, also if I just run that script...it doesn't seem to call anything but the unity --replace20:27
=== _salem is now known as salem_
phanimaheshI've made a couple of really really bad errors.20:27
bschaeferyup will do20:27
phanimaheshyup, just noticed that I missed the function calls and import. fixed them.20:27
bschaeferawesome :)20:27
phanimaheshso... it works?20:28
bschaeferhmm the launcher still wants to autohid20:28
bschaeferim not sure where it would change the autohide back from 1 to 0, it seems you just use a list of plugins20:29
phanimaheshthe autohide should be somewhere under...20:29
bschaeferit should be under the unityshell plugin20:30
phanimaheshcom.canonical.Unity.Launcher20:30
phanimaheshnope. this one has it.20:30
phanimaheshand I did reset it in my script.20:30
phanimaheshlets try it manually. can you open up a python shell?20:30
bschaeferhmm20:30
bschaeferyup20:31
phanimaheshfrom gi.repository import Gio20:31
* bschaefer installing ipython really quick20:32
bschaefercause im lazy20:32
bschaeferalright20:32
phanimaheshpython -c 'from gi.repository import Gio;print Gio.Settings(schema="com.canonical.Unity.Launcher").list_keys()'20:33
phanimaheshin terminal.20:33
phanimaheshwhat does the output read?20:33
bschaefer['favorite-migration', 'favorites']20:34
* bschaefer wonders where that moved to20:34
phanimaheshthis, is something wierd. :P20:36
phanimaheshcan you look up the autohide setting in dconf-editor and find its schema?20:36
bschaeferyeeah, Ill see if I can find where it is20:36
bschaeferyeah20:37
phanimaheshgot it?20:40
bschaeferhmm I dont see it under com.canoncial.Unity20:41
bschaeferthe only place I can see it under the gconf-editor is under my profile/plugins20:45
phanimaheshokay. when you see it, select it and look at the bottom portion. it should tell you the schema.20:45
bschaeferit says No Schema :(20:46
phanimahesh:(20:46
phanimaheshwhats the key?20:46
phanimaheshautohide ?20:46
bschaeferlauncher-hide-mode20:46
bschaeferhmm odd20:46
bschaefersmspillaz, would know20:46
bschaeferbut he wont be around for a bit20:47
phanimaheshokay. gimme a sec.20:48
bschaeferthis is were it is declared: http://bazaar.launchpad.net/~unity-team/unity/trunk/view/head:/plugins/unityshell/unityshell.xml.in#L5020:49
=== salem_ is now known as _salem
=== _salem is now known as salem_
phanimaheshThanks.21:00
phanimaheshpython -c 'from gi.repository import Gio;print Gio.Settings(schema="org.compiz.unityshell").list_keys()'21:01
bschaefer(process:1198): GLib-GIO-ERROR **: attempting to create schema 'org.compiz.unityshell' without a path21:10
bschaeferTrace/breakpoint trap (core dumped)21:10
bschaeferwait21:10
* bschaefer tries something21:10
bschaefernevermind I get a seg fault21:11
bschaeferwhen I try that...hmm21:11
MCR1bschaefer: I've cleaned up the mess in unity/plugins/unityshell.xml.in - 1 more tab, better structuring, better indentation, easier readability, improved explanations/tooltips - I would be pleased if you could try: https://code.launchpad.net/~mc-return/unity/unity.merge-unityshell-compiz-ccsm-plug-in-refactoring/+merge/12972421:16
bschaeferMCR1, awesome21:16
* bschaefer looks21:16
MCR1bschaefer: The diff looks unreadable now ofc. :-[21:16
MCR1bschaefer: I guess you have to try it...21:17
bschaeferMCR1, was the refactoring it just adding spaces and making it more readable?21:17
MCR1bschaefer: This is something I wanted to do for a long time, because it was a big mess...21:17
* bschaefer pulls the changes21:17
MCR1bschaefer: Nope, it is quite a bit more - but no options have changed, just what I wrote above.21:18
MCR1bschaefer: Essentially this fixes nothing, but should make the unityshell Compiz plug-in much more structured...21:19
bschaeferMCR1, awesome, I think the design team would have to look at the string changes through...21:19
bschaeferlike the tooltips21:20
MCR1bschaefer: Those just replace "weak" English with a bit better (also weak) English, but you could proofread them as you are a native speaker...21:20
bschaeferMCR1, yeeah about being a native speaker != strong english :)21:21
bschaeferbut I can proof read it :)21:21
MCR1I just fixed obvious grammatical mistakes and added a "." to the end of the long descriptions/tooltips...21:21
MCR1To unify the look of them - simply does not look professional to have one tooltip end with "." and the other without...21:22
bschaefercool, I don't think it'll need the design team21:23
MCR1Important is that keys are now on top of each tab and options are sorted - New tans are "General", "Dash", "Launcher", "Switcher", so it is now easy to find and change things...21:24
MCR1*tabs21:24
bschaefercool21:25
bschaeferyeah, I usually just grep to find what im looking for21:25
MCR1and it is more easy for a human to read the unityshell.xml.in file now, because indentation was completely off before...21:26
bschaeferyay, readability is very important21:28
MCR1After all humans are no machines ;)21:28
bschaeferyet!21:29
MCR1hehe21:29
MCR1Unity brain extension already planned ?21:29
bschaeferI was hoping more for cyborg stuff21:29
bschaeferor aiming more at21:29
MCR1Play UFO:AI then ;)21:30
* bschaefer has no time 21:30
MCR1oh wait - they do not have implemented it yet ;)21:30
bschaeferhaha21:31
bschaeferMCR1, 46+ <option type="float" name="panel_opacity">21:34
bschaefercould you flip the type and name around?21:34
bschaeferas most have the name then the type21:34
MCR1yep, sure - good catch :)21:35
bschaefernp, easier for me to read :)21:35
bschaefer55+ <option type="bool" name="panel_opacity_maximized_toggle">21:35
bschaeferthere could be more21:35
bschaefer360<option type="float" name="launcher_opacity">21:36
MCR1yes, I'll fix them all :)21:36
bschaefercool :)21:36
bschaefertheres only 321:36
bschaeferMCR1, also...im not sure if Experimental is no longer Experimental21:40
bschaeferthen again using CCSM is experimental...21:40
MCR1bschaefer: everything is experimental21:40
bschaeferyeaah21:40
MCR1:P21:40
bschaefersoo much more organized...21:42
MCR1bschaefer: Done (the name reordering issue).21:42
bschaeferMCR1, could you post some screen shots of each tab on the MP?21:42
MCR1Yes, I think it is much better that way.21:42
bschaeferMCR1, as it is a big enough string change that I think some other people would have to look at it21:43
bschaeferand screen shots would make it a faster process :)21:43
MCR1I hoped it would not be necessary, but I guess it will be :P21:43
bschaefer4 isn't tooo bad21:43
MCR1Will do, np.21:43
MCR1:)21:43
MCR1bschaefer: Although I am not sure if I can attach screenies there... probably I have to open a new bug report...21:44
bschaeferMCR1, do that21:44
bschaeferMCR1, also21:44
bschaeferhmm21:44
bschaeferMCR1, should the settings be organized by there type?21:45
bschaeferie21:45
bschaeferthe drop down settings21:45
bschaefershould be grouped21:46
bschaeferalong with the shortcut settings, and the checkboxes21:46
MCR1bschaefer: I tried to set the priority regarding the sorting to thematic "families", but if you can give me an example of what you want changed...21:48
bschaeferMCR1,21:49
bschaeferlike21:49
bschaeferMCR1, go to the launcher tab21:50
bschaeferand it just seems like we could move Hide launcher, Reveal Trigger, Backlight Mode, Launcher animation, Urgent animations together21:51
* bschaefer isn't sure if he makes sense21:53
MCR1Oh yes - just checked that I made a mistake there or better I have not finished there - thanks - sure...21:53
MCR1Keys should ofc be on top and together...21:53
bschaeferofc?21:53
bschaeferi thought I knew what tha tment but know im not sure21:53
MCR1of course...21:53
bschaeferalright cool21:53
MCR1thanks for the find - as usually I have yet to test my changes :-/22:09
bschaeferMCR1, no worries :) let me know when you want another review22:12
bschaeferthough you should test your changes first :p22:12
MCR1I am now creating screenies, bug report and then I'll link everything - when done I'll ping you again - Thanx a lot :)22:13
MCR1& will test ofc. ;)22:13
bschaeferMCR1, excellent22:13
MCR1but first I'll make a break 8-)22:14
=== salem_ is now known as _salem

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