=== Saviq is now known as Saviq_afk | ||
=== Saviq_afk is now known as Saviq | ||
=== Saviq is now known as Saviq_afk | ||
=== Saviq_afk is now known as Saviq | ||
=== Saviq is now known as Saviq_afk | ||
=== _LibertyZero is now known as LibertyZero | ||
didrocks | good morning | 07:58 |
---|---|---|
oSoMoN | good morning | 08:04 |
=== zyga-afk is now known as zyga | ||
=== Saviq_afk is now known as Saviq | ||
=== gabon_ is now known as gabon | ||
andyrock | jcastro, hi jorge | 13:07 |
jcastro | hi andyrock! | 13:21 |
andyrock | jcastro, welcome back | 13:23 |
andyrock | jcastro, can i tag a bug as a bitesize one? | 13:23 |
=== gabon_ is now known as gabon | ||
jcastro | andyrock: by all means! | 13:47 |
jcastro | andyrock: did you see I made a template? | 13:47 |
jcastro | https://wiki.ubuntu.com/Unity/FilingBugs#Canned "Call for Help" Template | 13:48 |
jcastro | that way you can add some guiding information to a bug report | 13:48 |
andyrock | jcastro, thx | 13:50 |
=== bregma_ is now known as bregma | ||
=== kenvandine_ is now known as kenvandine | ||
=== m_conley_away is now known as m_conley | ||
andyrock | DBO, i need mouse position in Launcher.cpp but cannot use GetMouseX and GetMouseY, can i get mouse position using nux? | 14:34 |
DBO | andyrock, _mouse_position.x/y | 14:35 |
andyrock | DBO, i try to explain | 14:36 |
andyrock | DBO, first of all: https://bugs.launchpad.net/unity/+bug/769335 | 14:36 |
ubot5 | Ubuntu bug 769335 in unity (Ubuntu) "Launcher tooltips sometimes don´t show" [Low,In progress] | 14:36 |
andyrock | DBO, well in my opinion the problem is here: | 14:36 |
andyrock | / as the leave event is no more received when the place is opened | 14:37 |
andyrock | self->SetStateMouseOverLauncher (false); | 14:37 |
andyrock | in void Launcher::OnPlaceViewHidden (GVariant *data, void *val) | 14:37 |
andyrock | if the mouse is over the launcher when the place view is hidden | 14:38 |
andyrock | we have to call self->SetStateMouseOverLauncher (true); | 14:39 |
andyrock | using GetMouseX/Y we cannot say if the mouse is over the launcher when the place view is hidden | 14:40 |
DBO | ah yeah that is a problem | 14:40 |
DBO | so to fix this what I think we need to do is not make places grab the mouse internally to nux | 14:41 |
DBO | so mouse events still kinda go around normally | 14:41 |
andyrock | DBO, ok... | 14:42 |
DBO | basically this problem should just magically go away when we change the mouse grab strategy in nux | 14:43 |
andyrock | DBO, so I can not help it :) | 14:46 |
DBO | more or less :/ | 14:46 |
=== rodrigo__ is now known as rodrigo_ | ||
Andy80 | hi :) | 15:11 |
dcordes | Hi | 15:12 |
dcordes | can somebody have a look at bug 791852 ? | 15:12 |
ubot5 | Launchpad bug 791852 in unity-2d "unity-2d: does not parse QT_GRAPHICSSYSTEM env var" [Undecided,New] https://launchpad.net/bugs/791852 | 15:12 |
Andy80 | nerochiaro: ping | 15:19 |
nerochiaro | Andy80: ciao | 15:19 |
Andy80 | nerochiaro: ciao :) | 15:20 |
Andy80 | nerochiaro: I'm trying to work to bug #715611 and I've a couple of question, do you have any spare minutes? | 15:20 |
ubot5 | Launchpad bug 715611 in unity-2d "[launcher] Trash icon should indicate when it has deleted elements" [Medium,Confirmed] https://launchpad.net/bugs/715611 | 15:20 |
nerochiaro | Andy80: sure, go ahead | 15:21 |
Andy80 | nerochiaro: first of all, I've an idea of how to implement it... don't know if you have followed my comments on the bug... shortly I think I'm going to use QFileSystemWatcher to see if the trash folder is changed and maybe list files to see if it's empty or not | 15:22 |
Andy80 | what do you think about it? | 15:23 |
nerochiaro | Andy80: it can work, but have you looked at how Unity implements it ? (i have not, but maybe they use some other APIs from gnome that make it simpler) | 15:24 |
Andy80 | nerochiaro: I've given a look to this http://bazaar.launchpad.net/~unity-2d-team/unity-2d/trunk/view/head:/launcher/UnityApplications/trash.cpp | 15:24 |
Andy80 | nerochiaro: but I want to be clear... I WON'T use any function starting with g_ ;) | 15:25 |
Andy80 | it looks like a copy-paste from unity-3d code | 15:25 |
Andy80 | for many functions we could have coded in pure Qt with lot less code | 15:25 |
Andy80 | maybe there could be a signal sent to dbus that says something about it.... | 15:26 |
nerochiaro | Andy80: well, the problem with the trash is that it's not just one folder, if i understand gnome documentation correctly | 15:27 |
Andy80 | nerochiaro: yep, I've read specs yesterday. It's basically a folder with deleted files and another folder with a list of deleted files information | 15:28 |
Andy80 | nerochiaro: we just need to know if the trash is empty or not | 15:28 |
Andy80 | to decide which icon to display | 15:29 |
nerochiaro | Andy80: there can be multiple trashes (for example one for each partition), and there's a GIO API to view them as a single unified trash. i understand your desire to avoid mixing QT with C code, but it will acutually save you time to use g_ functions in this case I think | 15:30 |
* Andy80 cries :°°° | 15:31 | |
nerochiaro | Andy80: http://developer.gnome.org/gio/unstable/ch27.html#id494961 and http://www.ramendik.ru/docs/trashspec.html are useful | 15:32 |
Andy80 | but... using that API I can neither use the QFileSystemWatcher method... it would not work | 15:32 |
nerochiaro | Andy80: no, you have to use GIO APIs there, with the trash:// URL. i understand it's not pretty but the fact is that we are a QT application on top of a gnome system, so sometimes you need to call into gnome APIs | 15:33 |
Andy80 | nerochiaro: ok, I'll use that API then. Another question: the icon is simply set returning the "Icon" method with "return "unity-icon-theme/user-trash";" ? So I would need to change that returning value? | 15:35 |
nerochiaro | Andy80: yes, depending if the trash is empty or full. and where in your code you detect when it changes from empty to full you probably want to emit the signal that tell that the icon has changed so that QML can request the new one | 15:36 |
Andy80 | nerochiaro: what is the other icon name? and... does already exist that signal to emit or do I have to define it? | 15:37 |
nerochiaro | Andy80: looking into it | 15:37 |
nerochiaro | oSoMoN: please have a look at the discussion with Andy80 so far, in case you have other comments | 15:38 |
nerochiaro | Andy80: there's an "iconChanged" signal you can emit when it changes | 15:40 |
Andy80 | nerochiaro: cool! | 15:40 |
oSoMoN | nerochiaro: looks good to me, it looks like Andy80 is on track to fix the bug :) | 15:40 |
Andy80 | ok, let me manage some basic stuff first (I still have to try recompiling unity-2d without any modify, then I want to try to add the first stub of code ecc.....) | 15:43 |
nerochiaro | Andy80: if you just want to change the icon, you can use http://developer.gnome.org/gio/unstable/GFile.html#g-file-query-info to query for the standard::icon attribute of the trash:// "file" | 15:43 |
nerochiaro | this will give you the icon that you can return from the icon() method of LauncherItem | 15:43 |
nerochiaro | Andy80: and use http://developer.gnome.org/gio/unstable/GFileMonitor.html on trash:// to see check when files are added and removed to it and emit the signal that iconChanged() | 15:45 |
Andy80 | nerochiaro: I'll give a look at it, just give me some minutes... the 28°C in my room are not helping me to concentrate :D | 15:45 |
nerochiaro | Andy80: i think i have given you all the clues I had :) take your time (and some water ;)) | 15:45 |
Andy80 | nerochiaro: isn't better to use directly this to check if something is added/deleted http://developer.gnome.org/gio/unstable/ch27.html#id494961 ? | 15:45 |
andyrock | DBO, about the "tooltip bug"... | 15:47 |
DBO | yeah? | 15:47 |
andyrock | we can use something like this: | 15:48 |
andyrock | self->SetStateMouseOverLauncher (pointerX < self->GetAbsoluteGeometry ().x + self->GetGeometry ().width && | 15:48 |
andyrock | pointerY >= self->GetAbsoluteGeometry ().y); | 15:48 |
andyrock | and when nux grab pointer startegy change | 15:48 |
DBO | yep that should work as a temporary fix | 15:48 |
andyrock | we'll remove it | 15:49 |
andyrock | i have to add a fixme comment? | 15:49 |
DBO | yeah | 15:50 |
nerochiaro | Andy80: ah yes, good point | 15:50 |
nerochiaro | Andy80: actually, isn't it the same thing i suggested ? ;) | 15:51 |
Andy80 | nerochiaro: yes it is! for that reason I could not understand why you suggested me two different things :) | 15:51 |
Nafai | DBO! ltns! | 15:54 |
nerochiaro | Andy80: that is for monitoring. i also suggested you how to properly get the icon for full/empty trash | 15:54 |
Andy80 | nerochiaro: yeah, that is the other thing I've to do of course ) | 15:55 |
Andy80 | :) | 15:55 |
njpatel | cdbs, what do you want done with https://code.launchpad.net/~bilalakhtar/unity/make-compilation-strict/+merge/62073? | 16:17 |
Andy80 | nerochiaro: trying some code inside trash.cpp.... the compilation of trash.cpp passes but later some tests in launchermenutest fail. Do I have to add anything in the testsuite for each method/function I add? | 16:22 |
nerochiaro | Andy80: not really sure. agateau added them IIRC | 16:23 |
Andy80 | mmm... | 16:23 |
Andy80 | I need to understand how these tests work or this will block the compilation of code, damn it -.- | 16:31 |
Andy80 | ok... found how to avoid compilation error (for the moment) | 16:44 |
Omega | Andy80: Pff, it's 32°C here all year round :P | 17:19 |
Andy80 | Omega: where :) ? | 17:23 |
Omega | Andy80: close to the equator, tropics :> | 17:31 |
Andy80 | wow :) | 17:32 |
Omega | I'm not complaining though, it's nice. | 17:33 |
Andy80 | I hope at least you're close to the sea! so you can swim sometimes | 17:33 |
Omega | I do! I was at the beach yesterday! | 17:33 |
Omega | Aruba, we have really nice beaches. | 17:33 |
Andy80 | oh Aruba! like the name of one our national ISP :D | 17:34 |
Omega | Hah! | 17:34 |
Andy80 | not only a tropical paradise if I remember well... also a fiscal paradise :D | 17:34 |
Omega | Hah :> | 17:34 |
Omega | So, you're in italy I assume | 17:34 |
Andy80 | ahahaha yes ;) | 17:35 |
* Andy80 wonders why when we talk about not paying taxes, people always think to Italy :D | 17:35 | |
* Omega thought italy because of the ISP called aruba :P | 17:36 | |
Andy80 | a question: I cannot access a Qt/class property from a C function inside a Qt class? | 17:44 |
Andy80 | (very cryptic question I know... maybe it would be better if I pasted the code somewhere....) | 17:44 |
DBO | andyrock, I am reviewing your tooltip work now | 18:13 |
DBO | is there anything you want me to look at closer? | 18:13 |
DBO | also, I dont really know who you are, so I would love to hear your FOSS history :) | 18:14 |
DBO | like to know who I am reviewing and all | 18:14 |
andyrock | DBO, i am Andrea Azzarone | 18:14 |
DBO | is that italian? | 18:15 |
andyrock | yes... | 18:16 |
DBO | we have several italians working on Unity, dont know what it is about Italy that generates such fine programmers | 18:16 |
andyrock | do you remember the man who stole you the function to change launcher icon size? :) | 18:17 |
DBO | oh man, feel like an idiot now | 18:17 |
DBO | my brain just placed you | 18:17 |
DBO | sorry about that | 18:17 |
andyrock | don't worry... you rock :) | 18:18 |
DBO | (you should have seen how long it took me to figure out njpatel == AWN guy) | 18:18 |
DBO | the tooltip branch works excellently | 18:18 |
DBO | 1 second is too long | 18:18 |
DBO | I am going to make it 500ms | 18:19 |
DBO | merging away :) | 18:19 |
andyrock | DBO = The Jason = Docky :) | 18:19 |
andyrock | Thanks... | 18:19 |
andyrock | in a comment mark said 1 second... i dont'know | 18:19 |
DBO | hes silly | 18:20 |
DBO | 1 second sounds short | 18:20 |
DBO | but its actually a REALLY long time | 18:20 |
andyrock | I agree | 18:22 |
andyrock | I only run 'orders' :) | 18:22 |
DBO | I like to change see stuff and see how hard I get smacked | 18:23 |
DBO | its fun | 18:23 |
DBO | andyrock, two branches landed in 30 seconds, well played | 18:24 |
andyrock | DBO, thx! is a plesure for me | 18:25 |
DBO | 3 branches | 18:27 |
andyrock | the last merge proposal is a very old one! :) | 18:29 |
jcastro | yeah! | 18:43 |
jcastro | http://wiki.documentfoundation.org/ReleaseNotes/3.4#GUI | 18:43 |
jcastro | man | 18:47 |
jcastro | http://www.omgubuntu.co.uk/2011/06/drag-and-drop-google-docs-uploader | 18:47 |
jcastro | DBO: check that out | 18:47 |
DBO | seen it :) | 18:48 |
jcastro | "The big change in this version is that the launcher icon now supports drag n’ drop uploading of documents to Google Docs, and opens newly uploaded file automatically as a ‘web app’." | 18:48 |
jcastro | that's just HOT. | 18:48 |
jcastro | DBO: hey, if you can explain to trevino better how you want that webapp matching bug fixed I would love you | 18:48 |
DBO | will do shortly | 18:48 |
Omega | DBO: some people still don't know you're deebeeoh | 20:07 |
DBO | i fly under the radar | 20:07 |
Omega | Also, that reminds me, jcastro, when's the team AMA coming? :> | 20:08 |
jcastro | probably midcycle | 20:08 |
jcastro | it would be boring to do it now | 20:08 |
Omega | Yeah, that's what I just thought too | 20:11 |
Omega | needs more controversy, so it's more fun | 20:11 |
Nafai | DBO: perhaps you could help me! | 20:40 |
DBO | maybe | 20:40 |
DBO | whats up? | 20:40 |
Nafai | I'm trying to write a patch to Unity to pop up a launcher's quicklist when you hit Super + Control + Number | 20:41 |
Nafai | but I can't get keyboard navigation working | 20:42 |
Nafai | https://code.launchpad.net/~nafai/unity/quicklist-shortcut | 20:42 |
jcastro | fyi, alt-f1, then arrow key down, and then right arrow will do a quicklist shortcut | 20:46 |
jcastro | though you probably already know that | 20:46 |
Nafai | yeah | 20:48 |
Nafai | I wanted something more direct :) | 20:48 |
_alazar | Hi everybody, does anyone know if the unity launcher will always be panel like? I mean, docky (for example) is toggleable, between panel and dock. Will it be possible with the u' launcher? | 21:51 |
Saviq | _alazar: you mean right/left edge vs. bottom edge? I believe I've seen some code (at least in unity-2d) that signalled support for any of the edges | 22:13 |
Saviq | but don't hold me on that | 22:14 |
Andy80 | nerochiaro: it (almost) WORKS!!!! :D | 22:17 |
=== m_conley is now known as m_conley_away | ||
Nafai | I think I scared DBO away | 22:18 |
DBO | failure to ping | 22:18 |
DBO | uhm | 22:18 |
DBO | reading backlog | 22:18 |
DBO | hmmm interesting problem there | 22:19 |
DBO | let me get back to you on that | 22:19 |
_alazar | Saviq: No no, I mean the launcher now goes from edge to edge, just like selecting the panel option in docky. But, I want unity to act more like a dock, not a panel (fixed size that grows when there are more icons inside), like a no-panel docky. | 22:20 |
Saviq | ah understood, I don't think that the current design has that in store | 22:21 |
Andy80 | guys I need your help for a very common task I suppose (at least for you): I've to test some changes to the unity-2d launcher, but if I launch the version I've compiled, the old one is still in memory. If I kill the old one in memory it's launched again.. in this way I've always two launchers running (both the old and the new version) and I cannot test the new one properly. How can I manage this? | 22:22 |
Nafai | DBO: np :) | 22:23 |
Saviq | Andy80: either disable the launcher autostart in gnome-session-properties | 22:26 |
Saviq | or remove "Autorestart" or whatever the key is in /usr/share/app[...]-launcher.desktop | 22:27 |
Andy80 | Saviq: it's not visible in gnome-session-properties | 22:28 |
Saviq | Andy80: ah it might be a requirement in gconf | 22:29 |
Saviq | so try in gconf-editor in /desktop/gnome/session or similar | 22:29 |
Saviq | can't remember the exact key | 22:29 |
Andy80 | let me see.. | 22:31 |
Andy80 | uhm...nope can't find it | 22:32 |
Saviq | then go to /usr/share/applications/ | 22:32 |
Saviq | find the launcher .desktop file | 22:32 |
Saviq | and comment out / remove the autorestart line | 22:32 |
Andy80 | but.... maybe I've another idea: since I'm modifying the original source code and debian/ is present... isn't there a way to rebuild the .deb packages and install them? | 22:32 |
Saviq | yeah, but that's probably not efficient when testing | 22:33 |
Saviq | you can always reinstall the original package to get the file back | 22:33 |
Andy80 | ok... I try putting the Autorestart to false | 22:34 |
Saviq | yup, but you'll have to restart your session | 22:34 |
Saviq | it's X-GNOME-AutoRestart | 22:34 |
Andy80 | Saviq: oh ok! I restart my session.... how do I know that it fill start at least the first time? without it I won't be able to launch anything if it fails to start | 22:36 |
Saviq | it will | 22:36 |
Saviq | that's X-GNOME-Autostart for you | 22:36 |
Andy80 | Saviq: ok, now X-GNOME-AutoRestart=false | 22:37 |
Andy80 | Saviq: I can't see Autostart in the same file, but I assume the default is to true (I hope) | 22:38 |
Saviq | no it's not | 22:39 |
Saviq | but it should be there | 22:40 |
Saviq | ah no, it's started by the session | 22:40 |
Andy80 | yeeeeeeeeeeeeeeeeeeeeeahhhhhhhhhh | 22:40 |
Andy80 | it woooooooorks ^___^ | 22:41 |
Saviq | good | 22:41 |
Andy80 | bug #715611 almost fixed :P (need to test again!!!) | 22:41 |
ubot5 | Launchpad bug 715611 in unity-2d "[launcher] Trash icon should indicate when it has deleted elements" [Medium,Confirmed] https://launchpad.net/bugs/715611 | 22:41 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!