snadge | fine i'll check the bugs in the topic prior to mentioning this one | 01:32 |
---|---|---|
snadge | im not sure quite how to describe this bug.. and im just looking for some feedback basically | 01:33 |
snadge | when typing a url into firefox, the autocomplete/history feature.. sometimes just doesnt work | 01:33 |
snadge | clicking on the title bar a few times.. and refocusing the app | 01:34 |
snadge | then clicking back into the location bar.. or pressing ctrl-l | 01:34 |
snadge | it starts to work as expected | 01:34 |
snadge | a) has anyone else noticed this? b) does it piss you off? | 01:35 |
Daekdroom | Yes and apparently not, given I've never bothered to report it. | 01:36 |
snadge | yes that is really unfortunate isnt it.. its only upset me enough to complain about it in here | 01:39 |
snadge | but not to actually stop using it.. and throw my pc off the 3rd floor balcony | 01:39 |
snadge | ok so thats half my question answered then.. someone else has noticed it, which means that it should be fairly trivial to reproduce | 01:40 |
Daekdroom | I don't know how to reproduce it. It seems random. | 01:41 |
snadge | that too | 01:41 |
snadge | you know.. now that im trying to get it to do it.. its not doing it | 01:42 |
snadge | that pisses me off even more than the problem itself ;) | 01:42 |
snadge | im trying to think when it happens.. what i was doing before that.. or the state the browser is in at the time.. eg.. a way to reproduce the issue reliably | 01:45 |
snadge | ok its doing it now | 02:06 |
snadge | i was looking at a picture on imgur.. flicked over to irc.. flicked back to browser | 02:07 |
snadge | i can type in the location bar, but the autohistory stuff is not coming up | 02:07 |
snadge | .. and now its working again and i didnt do anything.. fffffffffffu | 02:08 |
snadge | im not familiar enough with how firefox implements that functionality.. or with how compiz/unity works | 02:08 |
snadge | probably neither is anybody.. hence why the problem exists ;) | 02:09 |
jo-erlend_ | I don't hear much about Unity 2D. Is there any progress? | 14:08 |
jo-erlend_ | reboot... | 14:13 |
=== yofel_ is now known as yofel | ||
mhr3 | davidcalle, ping | 16:31 |
davidcalle | mhr3, pong | 16:31 |
mhr3 | davidcalle, did you ever try filters from python? | 16:31 |
mhr3 | in lenses of course... | 16:31 |
davidcalle | mhr3, sure | 16:31 |
mhr3 | do they work? | 16:31 |
davidcalle | mhr3, yep | 16:32 |
mhr3 | davidcalle, do you have any code i could point the people to? | 16:32 |
davidcalle | mhr3, I think I've tried all of them without any problem. | 16:32 |
davidcalle | mhr3, I'm a bit concerned about the cleanliness of my code, but yes, let me check. | 16:33 |
davidcalle | http://bazaar.launchpad.net/~davidc3/onehundredscopes/desura/view/head:/src/unity-scope-desura | 16:37 |
* mhr3 makes a note to update the python-sample lens | 16:37 | |
davidcalle | mhr3 ^ good one for radio option | 16:37 |
mhr3 | davidcalle, thanks, awesome | 16:39 |
davidcalle | mhr3, do you want code samples for the three types of filters? Could have them ready in a few hours. | 16:39 |
mhr3 | and it's pretty clean ;) | 16:39 |
mhr3 | i'm just answering to some askubuntu questions, and wanted some example in python | 16:39 |
davidcalle | Ok =) | 16:39 |
davidcalle | I've just pushed another version, so people can try the branch with the "Game" filter of the Applications lens. | 16:44 |
davidcalle | mhr3, which will probably raise questions about the possibility of sorting results from scopes in a category :P | 16:45 |
mhr3 | we'll probably allow installing a filtermodel in a lens | 16:46 |
davidcalle | mhr3, you are making my day! | 16:47 |
mhr3 | i'm nagging kamstrup about it every now and then :) | 16:48 |
mhr3 | but i understand there are quite a few unanswered questions there | 16:49 |
mhr3 | davidcalle, like based on what would you sort the results? | 16:51 |
davidcalle | mhr3, well, relevancy seems a bit far fetched but alphabetically on the item's title would be nice. And deduplication on visible elements (icon+title in vertical view, icon+title+comment on horizontal). | 16:55 |
mhr3 | relevancy would kinda break the schemas on the models | 16:56 |
davidcalle | Yeah. | 16:56 |
mhr3 | but otherwise it's doable using filter model | 16:57 |
mhr3 | although i'm afraid for such advanced usage of filtermodels, python wouldn't cut it | 16:57 |
davidcalle | Maybe yes. | 16:57 |
mhr3 | well.. it's not about FilterModels, but Filters themselves | 16:57 |
davidcalle | ? | 16:57 |
mhr3 | you basically can't create a custom Filter in python | 16:58 |
mhr3 | you can only use the predefined ones | 16:58 |
mhr3 | and although we do have filter that sorts by name | 16:59 |
davidcalle | I didn't know that in Vala, you could create custom ones. | 16:59 |
mhr3 | it wouldn't do the de-duplication | 16:59 |
mhr3 | actually, it'd be pretty broken in vala as well... but workaroundable | 17:00 |
mhr3 | we could use a MultiFilterModel :) | 17:01 |
davidcalle | The python deduplication really depends on the amount of results. I think it would be up to the devs to decide if the speed is ok. | 17:04 |
davidcalle | In fact, with unpredictable results, I kind of enjoy the absence of sorting/deduplicating. For example, the Grooveshark scope puts all its results after the music in your own library, which is nice. | 17:06 |
mhall119 | davidcalle: if I separate my scope from my lens,can I still reference attributes of the lens instance from my scope's code? | 17:24 |
davidcalle | mhall119, like what? Scopes can ask the lens about filters, search, visibility... | 17:28 |
mhall119 | davidcalle: I'm going to split my loco teams lens into a general community lens + loco teams scope | 17:29 |
mhall119 | the lens tries to find the user's launchpad username at __init__, and stores it as an instance attribute | 17:30 |
mhall119 | well, the daemon does that | 17:30 |
mhr3 | damn, i'm going to break to many lenses, i feel bad :( | 17:30 |
mhall119 | I wanted to store the lp username in the community lens, so community scopes can access it without having to find it on their own | 17:30 |
mhall119 | breaking lenses sounds bad | 17:31 |
davidcalle | I would do it with a separate script, but maybe it's possible to do it from the lens. I've never tried. | 17:32 |
jo-erlend | has Unity 2D supported Super+num all the time? I thought that was something I had missed the last time I used it. | 17:32 |
davidcalle | mhr3, it's ok, if it's well documented =P | 17:32 |
mhall119 | davidcalle: the problem with a separate script is that it'll have to be executed each time | 17:33 |
jo-erlend | davidcalle, wrt code samples in Python... Yes please. :) | 17:33 |
mhall119 | unless we know for sure that all scopes and lenses will run in the same python runtime | 17:33 |
mhr3 | does anyone know if there's a rhythmbox scope for music lens? | 17:36 |
davidcalle | mhall119, you could store the lp usernames in a Dee resource manager and access it form the scopes. Let me check if I have a branch using it. | 17:36 |
mhall119 | what is Dee again? | 17:36 |
mhr3 | Dee is magic | 17:37 |
davidcalle | mhr3, there is one, from Mark Tully (teester on IRC). There is a PPA (teester/ppa I guess) | 17:37 |
mhr3 | thx david | 17:37 |
davidcalle | Dee is the storage you send your scope data to, and it passes it to Unity for display. But you can also store the data in a file in .local/share/resources . It's really fast to store and access. | 17:39 |
mhall119 | ok, I'll have to read up on this | 17:40 |
davidcalle | mhall119, http://paste.ubuntu.com/777697/ | 17:44 |
davidcalle | mhall119, this is pretty much all I know about Dee resource manager, but it works really well. | 17:45 |
mhr3 | mhall119, there's no need to forcefully split up scopes into separate processes (the only valid reason being using extra libraries or you being unable to change the lens - ie extending default lenses) | 17:46 |
davidcalle | mhr3, I disagree. Scopes are awesome, they can fail on their own but don't impact the other ones. | 17:47 |
mhr3 | davidcalle, ideally you shouldn't let that happen ;) | 17:48 |
davidcalle | mhr3, which is very useful when working with web sources, as you don't have control on what can happen over time. | 17:48 |
mhall119 | mhr3: I want to make a lens that others can add scopes to | 17:49 |
mhall119 | so there is a need to have them separate | 17:49 |
mhall119 | I just want to provide useful, common, pre-fetched data to scopes | 17:49 |
mhr3 | davidcalle, right, but you can write the scope in a way where it won't affect the other scopes nor the lens | 17:50 |
mhr3 | but yes, ultimately separate scopes are possible and you're free to use them | 17:50 |
mhr3 | just don't clog my ram with dozens of python scopes :P | 17:50 |
mhall119 | what would be the best way of prompting for and storing authentication credentials needed by a scope? | 17:50 |
davidcalle | mhr3, yeah, ideally I would catch all errors. But "try: and except: pass" makes the output so clean :P | 17:51 |
mhall119 | are separate scopes run in separate python processes, or all loaded into one? | 17:52 |
davidcalle | mhr3, just kidding, but you're right about the ram issue. This might be the only thing that will make me move to Vala. | 17:52 |
davidcalle | mhall119, separate processes. About credentials, I'm still looking for the right way to do it. | 17:52 |
mhall119 | hmmm, separate processes isn't good for one hundred scopes | 17:53 |
mhr3 | :) | 17:53 |
mhall119 | is there a way we can have them dynamically loaded into a single python process? | 17:53 |
mhr3 | currently? no | 17:53 |
mhr3 | is it planned? not really | 17:54 |
mhall119 | is it possible? | 17:54 |
mhr3 | sure | 17:54 |
mhr3 | but then you can just as well use local scopes | 17:54 |
mhall119 | what would it take to move it from planned='not really' to planned='yes'? | 17:55 |
mhr3 | i suppose people having hundreds of scopes installed and their ram being clogged by it? | 17:59 |
mhall119 | well, we're making good progress on that :) | 18:00 |
mhr3 | then again, we could have just suggested making the scopes local | 18:01 |
davidcalle | mhr3, would it be possible to have a Unity wide Zeitgeist logger on Dash results activation? We could have data usage frequency stats for "everything". | 18:14 |
mhr3 | davidcalle, i'm not sure how "safe" it is | 18:59 |
mhr3 | scopes often use custom uris | 18:59 |
mhr3 | moreover if you opened some document it'd be logged twice | 19:00 |
mhr3 | once by dash, once by the app that actually opens it | 19:00 |
davidcalle | Hmm. Good points. | 19:00 |
davidcalle | mhr3, at UDS I've heard about putting a check option filter to activate/deactivate scopes in every lens by default. Is it really planned? | 19:03 |
mhr3 | the design specs have it there | 19:04 |
mhr3 | so yes | 19:04 |
mhr3 | i'll need to ask about prio on that | 19:05 |
mhr3 | but people are on holidays, so it'll have to wait | 19:05 |
mhall119 | what happens to the bottom of the dash when you have more lenses can than fit on screen? | 19:07 |
davidcalle | mhall119, let me test =) | 19:07 |
davidcalle | mhr3, cool. :) | 19:08 |
davidcalle | mhall119, the lens bar fills up until there is no more space, with the home lens icon at the extreme left of the bar, then doesn't display icons that don't fit, but they are still accessible with Tab. | 19:17 |
AlanBell | is there a way to find out in a lens how many icons it can fit? | 20:27 |
AlanBell | so scopes don't return thousands of icons, but do try to fill the screen with stuff | 20:28 |
jo-erlend | are there different layouts available now? I've wanted to start developing some lenses and scopes, but I haven't quite gotten started yet. :) | 20:37 |
davidcalle | AlanBell, I don't think so. Do you mean : it can fit without having to scroll? | 20:43 |
davidcalle | jo-erlend, curretnly two layouts : the vertical one (icon on top, title on bottom) & horizontal (icon on left, title and comment on right) | 20:44 |
AlanBell | davidcalle: yeah something like that | 20:46 |
davidcalle | AlanBell, you could check for the resolution, then the state of the dash (maximized or restored) | 20:46 |
AlanBell | indeed, but I just want a number :) | 20:46 |
AlanBell | then I can decide whether to limit to the number or do a page and a half or whateve | 20:46 |
davidcalle | AlanBell, not possible to find out without resolution + dash state. | 20:47 |
smoser | anyone else seeing bug 905854 | 21:41 |
ubot5 | Launchpad bug 905854 in unity-2d (Ubuntu) "memory leak in unity-2d-panel" [High,Confirmed] https://launchpad.net/bugs/905854 | 21:41 |
bschaefer | thumper, ping | 21:51 |
andyrock | bschaefer, thumper is on vacatation | 23:23 |
bschaefer | andyrock, yeah that is what I figured | 23:24 |
andyrock | bschaefer, any progress about alt+f1? | 23:24 |
bschaefer | andyrock, not any good ones. I can get GrabPointer working (found where it was seg faulting so I can ungrab the pointer) | 23:25 |
bschaefer | but still cant get the mouse to work through to the window | 23:25 |
bschaefer | ie if I have the pointer you wont be able to say drag a window. Along with inconsistency in the KeyEvent...and super | 23:26 |
andyrock | bschaefer, indeed | 23:26 |
bschaefer | you were very right about how annoying this bug was | 23:26 |
andyrock | bschaefer, a queer solution can be: exit from the keyboard navigation if another window get the focus | 23:28 |
andyrock | but I don't know if exist corner cases | 23:28 |
bschaefer | andyrock, yeah that is what I was looking into, but isn't that handled in compiz? | 23:28 |
andyrock | bschaefer, have you look to PluginAdapter? | 23:29 |
bschaefer | andyrock, not yet, im still pretty new to unity's source...j | 23:29 |
bschaefer | andyrock, will do, thanks | 23:29 |
andyrock | bschaefer, do not be afraid to ask ;) | 23:30 |
bschaefer | andyrock, I wont, I find stumbling around is a good way to learn :) | 23:30 |
bschaefer | I wont be afraid to ask* | 23:30 |
bschaefer | andyrock, how did your test go? (if you have taken them) | 23:32 |
andyrock | for tests do you mean exams? :) | 23:33 |
andyrock | btw you can register to WindowManager::window_focus_changed signals | 23:33 |
andyrock | i'm not sure if there is a better solution | 23:33 |
bschaefer | andyrock, yeah! | 23:33 |
bschaefer | andyrock, hmm ill see what that does | 23:34 |
andyrock | bschaefer, i padded physical exam ;) | 23:34 |
andyrock | pyshical 1 | 23:34 |
bschaefer | andyrock, that is what I have been looking for today, I was digging in nux to see if I could find if the mouse was down. So i could use that in Launcher::Draw... | 23:34 |
andyrock | now i've physical 2 :/ | 23:34 |
bschaefer | andyrock, I am not sure how exams work in italy, so you have to take another one soon or next semester? | 23:35 |
andyrock | bschaefer, yeah | 23:35 |
andyrock | i've physical 1 and physical 2 | 23:35 |
bschaefer | andyrock, cool, how about the linear algebra? I want to take that class eventually | 23:36 |
andyrock | bschaefer, pretty cool... i think that's useful for software eng. | 23:36 |
andyrock | you know.. graphics etc. | 23:37 |
bschaefer | andyrock, also on the WindowsManager; I thought only the panel was currently using that | 23:37 |
andyrock | don't worry to use that... | 23:37 |
bschaefer | andyrock, yeah, I studied mainly computer science, the theory side | 23:37 |
andyrock | keep in mind that most of the time you don't use WindowsManager but PluginAdapter | 23:38 |
andyrock | we need an abstract class for testing | 23:38 |
andyrock | so we can create a mock class | 23:38 |
andyrock | DummyWindowManager if i'm not wrong | 23:38 |
andyrock | bschaefer, are you graduated? | 23:39 |
bschaefer | andyrock, nope, this is my last year. Working here for school credit | 23:39 |
bschaefer | andyrock, how many years do you have left? | 23:40 |
andyrock | bschaefer, i'm 19 :) pyshical 1 has been my first exam | 23:41 |
bschaefer | andyrock, nice! I wish I would have gotten into open source earlier haha | 23:42 |
bschaefer | andyrock, how do you think you did? | 23:42 |
bschaefer | andyrock, im 21 | 23:42 |
andyrock | and in Italy graduation takes 3 year + 2 of major | 23:42 |
andyrock | bschaefer, i got in the open source word 5 years ago but i've started to develop it just one year ago | 23:43 |
andyrock | thx to unity | 23:43 |
bschaefer | andyrock, here it's 4, but I have been doing graduate level work for a couple years. Theory is a lot different then graphical programming haha. | 23:45 |
bschaefer | andyrock, and nice | 23:45 |
andyrock | bschaefer, computer since? | 23:46 |
andyrock | bschaefer, and yeah... in Italy there is a lot of math.... 7 math exams in 2 semester! | 23:47 |
bschaefer | andyrock, yeah, like formal languages, logic (propositional calculus) and other cool stuff haha :) | 23:48 |
bschaefer | andyrock, dam, yeah you get use to a lot of exams. Where I go it is on the quarter system. So I get about 3-4 exams for 3 quarters | 23:49 |
bschaefer | andyrock, what do you think you are going to major in? | 23:50 |
andyrock | bschaefer, yeah, but first of all i've to finish the 3-year graduation | 23:56 |
andyrock | *years | 23:56 |
andyrock | and it will be hard | 23:56 |
andyrock | ahh | 23:56 |
andyrock | ahah | 23:56 |
bschaefer | andyrock, yeah it will; hopefully you will have motivating professor. It helps | 23:58 |
bschaefer | andyrock, on a sidenote the window_focus_changed doens't get called on a click to the current window | 23:59 |
bschaefer | andyrock, since I am guessing the focus never changed for it | 23:59 |
bschaefer | andyrock, I mean the focus stays on the launcher | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!