[00:00] <cariveri> yea . pretty funny. at least I could logout normally.
[00:01] <bschaefer> cariveri, if you mess up the current build you can remove the locally built one by rm ~/.compiz-1
[00:01] <bschaefer> then doing a unity
[00:05] <cariveri> ok. Launcher::RenderIconToTexture() <-- how do I manipulate the position? if thats done, then drawing my subIcon could be easy.
[00:06] <bschaefer> cariveri, it uses Base position, soo it depends on what is doing the renderering, which is why you see 0,0 for the geo x,y
[00:12] <cariveri> ok. Im trying to mess around a bit more.
[00:16] <cariveri> ok. I manipulated all the zeros and ..nothing happened.
[00:17] <bschaefer> well...which zeros?
[00:17] <cariveri> almost all of them. ;)
[00:17] <bschaefer> haha
[00:17] <cariveri> still inside the Launcher::RenderIconToTexture
[00:18] <bschaefer> hmm,   GfxContext.QRP_Color(0,
[00:18] <bschaefer> those zeros didn't change anything?
[00:18] <bschaefer> and the geo
[00:18] <bschaefer>   nux::Geometry geo(0, 0, texture->GetWidth(), texture->GetWidth());
[00:19] <bschaefer> note, this RenderIconToTexture takes an icon and makes a box for the icon texture
[00:19] <bschaefer> which then the launcher places
[00:19] <bschaefer> (so changing those 0s' will just mess with the textures position in this box that will be placed in a spot the launcher determines)
[00:20] <cariveri> god bless just drawing another Launcher is easy here :) man why did I study computer science if dont get this done!
[00:21] <bschaefer> look at
[00:21] <bschaefer> line 1922 in Launcher
[00:21] <bschaefer> you see the nux::Geometry(bkg_box.x, (*rev_it).render_center.y - 3, bkg_box.width, 2)
[00:21]  * bschaefer thinks this could be where that 'box' gets placed
[00:22] <bschaefer> cariveri, haha, this isn't computer science as much...(believe me, this graphics stuff is hard)
[00:22]  * bschaefer has a CS degree
[00:24] <cariveri> by the why your line numbers dont match mine :) but I did find the  - 3
[00:25] <bschaefer> nice...you were using unity/5.0 right?
[00:25] <bschaefer> or turnk
[00:25] <cariveri> 5.0
[00:25] <bschaefer> thats why :)
[00:26] <bschaefer> so the nux::Geo is just a rectangle
[00:26] <bschaefer> (x, y, width, height)
[00:27] <cariveri> it must be possible to do this Paint2DQuadColor step again with offset and other Icon, but I cant see how.
[00:28] <bschaefer> yes, you will need to setup your own "Draw" function...
[00:28] <bschaefer> so you will have to create your own little "launcher"
[00:28] <bschaefer> hmm
[00:28] <bschaefer> you would have to do a lot of work with that htough
[00:28] <bschaefer> though*
[00:29] <cariveri> maybe this is not the way to go.
[00:29] <cariveri> Didnt you say there is a possible to pass the LauncherIcon to the Quicklist?
[00:31] <bschaefer> the LauncherIcon opens the Quicklist
[00:31] <bschaefer> if you right click it, look under LauncherIcon
[00:32] <bschaefer> RecvMouseClick
[00:32] <bschaefer> an Activate
[00:32] <bschaefer> and*
[00:32] <cariveri> yes. and if the LauncherIcon had a subIcon (or list) how would I insert it to those entries?
[00:33] <bschaefer> to the quicklist?
[00:33] <cariveri> yes. ql_item = new QuicklistMenuItemLabel(menu_item (Icon here in stead?) , NUX_TRACKER_LOCATION)
[00:34] <cariveri> I could create a QuicklistMenuItemICON class. those have a Draw() function.
[00:34] <bschaefer> you'll have to figure out how it is added...I looked into that...
[00:34] <bschaefer> once
[00:35]  * bschaefer doesn't know much about how quicklist get their list
[00:35] <bschaefer> i know it uses dbus
[00:36] <cariveri> it all does not matter, If ...
[00:36] <bschaefer> figure out who makes a QuickListMenuItem
[00:38] <cariveri> well, the OpenQuicklistMenu is fair enough. it adds in the items.
[00:39] <cariveri> but its entries are very simple. the Item's draw functions simply draw text. and I dont know how to draw the LauncherIcon then either :(
[00:40] <bschaefer> you'll still have to figure out how the icons use the IconRenderer
[00:40] <bschaefer> and the RenderIconToTexture
[00:41] <bschaefer> (possibly inherit from the launch?)....that file is huge though and it might assume a few to many things...
[00:41] <cariveri> thats why modularization is a very nice thing. A dummy as I could come and reuse a draw function! :)
[00:42] <bschaefer> so you'll have to figure out how to make a minimalist launcher, that can hold, activate, (possibly drag/drag, possibly quicklist)...
[00:42] <bschaefer> and render
[00:42] <bschaefer> but I need to get some of my own work done, good luck on the work!
[00:42] <cariveri> yes sure. thanks anyway.
[00:43] <cariveri> maybe youve got an email adress of this matrix' author for me?
[00:43] <bschaefer> matrix?
[00:43] <cariveri> there must be a designer of this code.
[00:43] <cariveri> someone who had a first thought on the structure.
[00:44] <bschaefer> you mean the Launcher? He no longer works on unity
[00:44] <cariveri> Not even available for questions?
[00:45] <bschaefer> hmm im not sure what his current email address is anymore
[00:45] <bschaefer> his name is on top of that file
[00:46] <cariveri> jason hmm. canonical.com.
[00:46] <cariveri> maybe I give it a try.
[00:46] <bschaefer> he doesn't work for canonical anymore
[00:46] <cariveri> so that wont work.
[00:51] <cariveri> ok. I feel like giving up for today.
[00:51] <cariveri> but thank you ver ymuch for all your time
[00:53] <bschaefer> your welcome, sorry I couldn't have helped more...feel free to email me more questions
[00:53] <bschaefer> and I should have more time to help out in a few days
[00:54] <cariveri> very nice. Ill retry certainly.
[00:54] <cariveri> where do I email'?
[00:54] <bschaefer> brandon.schaefer@canonical.con
[00:54] <bschaefer> com*
[00:55] <cariveri> cool.
[00:56] <cariveri> so have a good night! I really need to sleep.
[00:56] <bschaefer> good night!
[08:37] <kortsi> my launcher icons often disappear, but after a re-login they are again just fine however, I would not like to logout every time this happens so is there a way of re-loading the launcher without a logout/login?
[08:45] <Squarism> is it safe to step unity version in say ubuntu 12.04?
[11:45] <ppd> hi, from a programmers point of view: What is the "right" way to do fullscreen gtk apps and keep unity's tandard on screen keyboard (onboard) stil above the gtk application? Or is there no such way?
[14:25] <MCR1> didrocks, sil2100: Hi :) Are you here ?
[14:26] <didrocks> MCR1: in a call :)
[14:27] <MCR1> I got 2 lp:compiz MPs with multiple *very-minor* speed and memory usage improvements I would like to see some comments on:
[14:27] <MCR1> 1. https://code.launchpad.net/~mc-return/compiz/compiz.merge-performance-do-not-assign-values-that-are-never-used/+merge/135150
[14:28] <MCR1> 2. https://code.launchpad.net/~mc-return/compiz/compiz.merge-performance-improvements-prevent-unnecessary-operations-if-we-return/+merge/134805
[14:29] <MCR1> I vote for every little improvement possible to be made, but others have differing opinions on that...
[14:30] <MCR1> Thinking about mobile performance I think no optimization can be small enough to not be made...
[14:41] <sil2100> MCR1: here, but on lunch right now ;)
[14:43] <MCR1> sil2100: Enjoy your meal then && please ping me later ;)
[14:56] <MCR1> smspillaz: Oh, Sam - Hi :) I did not know that you are online also... 8-) Please judge on these 2 branches above ^^
[14:56] <MCR1> smspillaz: Zhx :)
[14:57] <MCR1> aehm Thx
[15:02] <sil2100> Back!
[15:04] <MCR1> sil2100: Then you can join the discussion (which seems to be heating up) ;)
[15:05] <sil2100> Discussion?! Where ;)?
[15:05] <MCR1> please look @ the 2 MPs I posted above ^^ ;)
[15:06] <MCR1> sil2100: & Welcome back !
[15:07] <sil2100> Let me check that
[15:07] <MCR1> thx
[15:28] <mvo> Trevinho: I noticed that you set yourself as reviewer for lp:~mvo/unity/sc-launcher-integration-fixes - thats great - please note that I'm happy to tweak the approach as needed, its a first iteration and I'm not too familiar with the unity codebase etc. I am right now looking at making it a bit nicer c++ (i.e. not changing _bamf_app directly but using a setter). alternatively we could move the logic out and add a additional dbus call like "Cha
[15:28] <mvo> ngeLauncherByID" or something that would switch from the temp desktop file to the real desktop file
[15:49] <bregma> is anyone looking at the constant test suite failures in the unity-team-staging PPA?
[15:55] <didrocks> bregma: not that I know of, I pinged yesterday about the it
[15:55] <didrocks> didn't get the time to investigate though :/
[16:00] <Trevinho> mvo: ah, I didn't see this mention... Sorry, however...
[16:00] <Trevinho> mvo: I was thinking that SoftwareCenterLauncherIcon::GetActualDesktopFileAfterInstall could be improved
[16:00] <mvo> Trevinho: totally, happy to implement any suggestions, first iteration etc
[16:01] <Trevinho> mvo: it would be better if the daemon would send: the desktop-id of the app
[16:01] <Trevinho> so that you can just use GetDesktopPathById to retrive the desktop file
[16:02] <mvo> Trevinho: oh, I need to look how the Id is generated, note that the desktop file is not available yet when the install starts. i.e. its just a temporary one generated to fill in until the app is actually installed, then the temp one is replaced with the real one
[16:03] <Trevinho> mvo: yeah.. However the .desktop id is generated using an algorithm you can also check in our implementation of DesktopUtilities::GetDesktopID
[16:04] <Trevinho> mvo: basically what you do is fine, but you're using the "__" as path separator, while the desktop-id protocol define that just using a dash means that the .desktop file is in a sub-folder
[16:04] <Trevinho> mvo: ie, a kde app can be kde4-kate.desktop
[16:04] <Trevinho> that would mean that it's under /u*/sh*/apps*/kde4 ...
[16:04] <Trevinho> or ~/.local in case user already customized it :)
[16:04] <mvo> Trevinho: sweet, good to know. I will update accordingly
[16:06] <Trevinho> mvo: another thing.. instead of adding FRIEND_TEST(TestSoftwareCenterLauncherIcon, DesktopFileTransformTrivial); and making unity directly depending on gtest when building, just mock the class in the tests so that you cana ccess to protected members (or, just add a friend  class TestSoftwareCenterLauncherIcon; definition in the header)
[16:09] <mvo> Trevinho: nice, thanks. I wll address that as well
[16:10] <Trevinho> mvo: per se it wouldn't even needed to exchange the bamf-app... Just updating the icon-uri would be enough... The problem is that if the .desktop file is in temp and gets removed after install, we'll go into troubles...
[16:11] <mvo> Trevinho: that is exactly the issue why I exchange it
[16:11] <mvo> Trevinho: plus exchanging it means that the desktop file points to the one that belongs to the actual deb package, so when the deb gets removed, the icon gets auto removed from the launher too
[16:12] <mvo> Trevinho: what would not be the case if it would permanently point to the one that got created by software-center for the transaction
[16:12] <Trevinho> mvo: yeah... and also libunity will work with it: i.e. launcher icon progress bars and such
[16:12] <Trevinho> mvo: yeah... I see the point...
[16:13] <Trevinho> mvo:  probably bamf will eventually support the ability of changing a .desktop app, but this is quite tricky considering how is currently designed.
[16:14] <mvo> Trevinho: right, the branch as its now seem to be working for my tests, i.e. exchaning bamf_app_ and updating remove_uri  does the trick afaict
[16:15] <mvo> or is there something I overlooked?
[16:15] <Trevinho> mvo: yeah... Consider that the RemoteUri is now the only thing that is used both to save the icons in the launcher and to show the libunity decorations..
[16:16] <Trevinho> no, that's fine... .desktop file is used poorly, but needed as well to run the app and for the applications shortcuts
[16:17] <mvo> Trevinho: great, I will address the points you mentioned now and will write into the MP when I'm done. thanks again for your feedback
[16:20] <Trevinho> mvo: yw...
[18:59] <NightMan> I just want to say that I am quitting Ubuntu. The Unity UI is a piece of shit.
[19:39] <timetopat> Hello all,  I would like to learn about contributing to ubuntu's unity project.  I followed the steps to compile and install nux and unity.  When I run the code to compile and install nux, all goes well.  But unity's script says nux is not installed.  What did I do incorrectly?