/srv/irclogs.ubuntu.com/2015/04/30/#ubuntu-desktop.txt

pittiGood morning05:38
didrocksgood morning05:53
pittibonjour didrocks !06:06
didrockshey pitti, how are the ice creams nowdays?06:08
pittididrocks: wonderful! although I didn't have any yesterday06:08
pittimy wife is away for two days, and eating ice cream alone just isn't the same06:08
pittibut I feel my left arm and legs from Basketball yesterday (after 3 weeks)06:09
didrocksI understand you :) but a day without an icecream is it still really a day ?06:09
didrocksahah :)06:09
pittididrocks: it is, but for sure not a good one!06:09
larsugood morning!06:17
seb128hey larsu & desktopers06:22
hikiko-lpthello :)06:26
didrockshey larsu, seb128!06:27
seb128lut didrocks06:27
seb128hey hikiko-lpt06:27
didrocksmorning hikiko-lpt06:27
hikiko-lpthi seb128 didrocks :)06:27
didrockstodays is visual studio in ubuntu make day!06:30
=== hikiko-lpt is now known as hikiko
didrocksif someday someone would have preditected that some version of visual studio will be available on linux…06:30
larsudidrocks: ya. craziness06:32
seb128didrocks, yeah, I didn't know that was a thing!06:32
seb128in fact seems it's "visual studio code" and a new IDE not visual studio proper?06:34
seb128http://www.theregister.co.uk/2015/04/29/visual_studio_code/06:34
seb128nice ubuntu/unity screenshot ;-)06:34
didrocksseb128: yeah, it's a version of visual studio for the web06:34
seb128oh, web?06:34
seb128I though it was for mono06:34
didrockssupports node and javascript as well06:34
seb128the news focus on .NET06:35
didrockswell, .NET is mainly for the web as well06:35
didrockshttps://code.visualstudio.com/06:35
didrocks"Build and debug modern web and cloud applications."06:35
seb128that url doesn't work here06:35
didrocksinteresting, you are blacklisted!06:36
seb128seems so06:36
seb128"Firefox ne peut trouver le serveur à l'adresse code.visualstudio.com."06:36
didrocksdefinitively works here06:36
didrockseven on some browser like firefox :p06:36
seb128"To prove that Microsoft still loves Linux, the company demonstrated a Mono application being edited in Visual Studio Code on Ubuntu today."06:37
seb128:-)06:37
didrocksI guess they mean asp.net by mono application06:37
seb128Ubuntu demoed by Microsoft at their conf, kind of cool ;-)06:37
didrocksbut yeah, really cool!06:37
didrocksit's running well, time to build support into Make!06:38
seb128great06:38
didrocksok, the "direct" eurostar is taking more than changing in Lille06:40
didrocks(and it's arriving at 22:12)06:40
pittididrocks, seb128: I think https://www.brainyquote.com/quotes/quotes/l/linustorva381582.html was from around 1991; took a while, but I think we can safely say it's true now :)06:54
didrockspitti: ahah, indeed :)06:56
didrocksseb128: still didn't get a link? I wonder if it's just because you have an x68 machine (they don't seem to have a download available for you)07:02
willcookemorning07:23
=== mitya57 changed the topic of #ubuntu-desktop to: Welcome to the Desktop Team | https://wiki.ubuntu.com/DesktopTeam | For support please join #ubuntu | Test gtk 3.16 from ppa:ubuntu-desktop/ww & file bugs with the tag "gtk316"
didrockshey willcooke07:27
didrocksseb128: the website is down for me as well now FYI07:31
larsusame here (worked earlier)07:31
didrockslarsu: I was blaming my code first :p07:32
didrocks(support ready, then wanted to have a run before implementing mock tests)07:32
larsuwow you're fast ;)07:32
didrocksI wonder who did this framework to add new support so flexible while being nicely tested… OH WAIT! :)07:33
larsuhehe07:33
lngHi! I have two monitors, but both show the same output and it's detected as one in Displays section. I use Gnome. Here is more details: http://ubuntuforums.org/showthread.php?t=2273883&p=13265949#post1326594907:34
didrockslet me add the large tests in between (even if I can't really test it for now)07:34
didrocksand large test implemented ;)07:38
seb128didrocks, sorry was afaik for a bit, glad to see it's not only me ;-)07:40
didrocksseb128: not glad for me, it's blocking me now :p07:41
seb128hehe07:41
didrocksseb128: we could had it with full tests in a couple of hours! Now, we won't :p07:41
seb128you should have downloaded the site while it was up to be able to mock it/work offline :p07:42
* didrocks creates some mock ssl certificates on code.visualstudio.com for medium tests meanwhile07:42
=== ara is now known as Guest6469
didrockssome people are reporting it's crashing on trusty though07:47
willcookelng, this is a developer channel rather than a support channel - you would be best to ask in #ubuntu where people who know about this sort of thing will be07:59
Laneyhullo08:04
willcookewhat ho Laney08:04
willcookedamn it window focus08:05
larsuwillcooke: welcome to the wonderful world of compiz08:05
willcooketime to explore "focus follows mouse again"08:05
willcookeor can't I do that in Compiz?08:05
Laneythanks mitya57!08:05
larsuwillcooke: probably there's a plugin for that :P08:06
didrockshey Laney08:06
Laneyhey didrocks et willcooke08:07
Laneywhat up?08:07
didrockswillcooke: yeah, think about enabling locally integrated menu though (if you care about reaching your menus)08:07
Laneyhud!08:07
larsuhi Laney!08:07
larsudidrocks: oh shit good point :)08:07
larsudidrocks: I guess you could still get at them with Alt-Something08:08
didrockslarsu: I know some QA guy who had to stop using ffm when Unity came around because of that precise reason :p08:08
didrocksor rather "a QA guy"…08:08
Laneyhey larsu!08:09
larsudidrocks: you mean *the* qa guy ;)08:09
didrocksright, *the* one ;)08:10
larsuseb128: I don't know about bug #144554008:11
ubot5bug 1445540 in gtk+3.0 (Ubuntu) "GTK draws its own (double) window decorations under Mir" [High,Triaged] https://launchpad.net/bugs/144554008:11
seb128hey willcooke & Laney08:11
larsuseb128: we won't have default gtk apps on unity8, right? I suggest just going with upstream headerbars08:12
seb128larsu, I think it's an unresolved question, until unity8 displays decoration (if it does) we should keep the csd08:12
seb128larsu, how does that work with unity8 if they display decoration? same issues than we currently have in u7?08:12
larsuseb128: johnlea said unity8 will allow csd and ubuntu apps will use csd08:14
larsuseb128: this might be a development/design not in sync issue actually08:14
seb128larsu, k, so close it as invalid?08:15
seb128or just let it triaged and ignore it08:15
larsuseb128: I'll comment and leave it to wishlist08:15
seb128larsu, thanks08:15
willcookeqengho, running Version 42.0.2311.135 Ubuntu 14.04 (64-bit)08:39
willcookeqengho, still get the crash at startup08:39
willcookeseb128, I've got a "The application Chromium Web Browser has closed unexpectedly." window up.  There's a load of debugging info in there08:45
willcookeis there a text file equivilent somewhere?08:45
willcookeoh08:45
willcooke/var/crash08:45
didrocksyeah, just open it and read if you want to ensure we didn't see how which tabs you were :p08:46
willcookelol08:48
willcookeI'll upload it somewhere and send a private link to qengho08:48
seb128willcooke, right08:49
seb128willcooke, you can also apport-retrace it locally to provide a backtrace08:49
willcookeoki - can I do that later on, or do I have to do it now?08:50
willcookelike08:50
willcookeif qengho wants me to do it in a few hours, will the data still be there?08:50
didrocksas long as you keep the .crash and you don't upgrade libraries, you will be able to retrace08:51
willcookecool, thx08:52
didrocksyw08:55
didrocksnice, I receive different kind of error page on visual studio website everytime I try a download from it09:04
didrocksthey are clearly working on it: http://pastebin.com/LXbdtset09:04
didrocks(a mono stacktrace, asp verbose mode enabled)09:05
willcookeha09:07
flexiondotorgI'm the lead for Ubuntu MATE. If I wanted to make LIM an option what libraries/settings do I need to incorporate?09:12
didrocksI guess it's a question for Trevinho ^09:13
didrocksok, the site is back up, the remaining crash was due to user agent (which put the server in error)10:21
didrocksso using chromium user agent for now in make10:21
willcookedidrocks, o_O10:49
willcookedidrocks, so Ubuntu support isn't quite what it should be?10:49
didrockswillcooke: well, it's more their server-side doesn't handle no user agent, so not a biggie10:49
willcookeah, I see10:49
didrockswillcooke: I would be interested in someone trying on trusty though10:49
didrocksI read on the net that it's crashing10:50
willcookesure, what do I do?10:50
didrocksok, large and medium tests work \o/10:50
willcookewoo10:50
didrockslet me wrap that in nice commit messages and pushing it10:50
didrocksthen, you can have a try10:51
willcooke:D10:51
didrockswillcooke: ok, so:10:55
didrocks1. git clone https://github.com/ubuntu/ubuntu-make10:55
didrocks2. cd ubuntu-make10:55
didrocks3. bin/umake web visual-studio-code10:55
didrockspath, accept licence, and so on…10:55
willcookeImportError: No module named 'bs4'10:56
willcookeinstalling bs4...10:56
willcookeNow installing the Python 3 version...10:57
willcooke;)10:57
willcookefixed10:57
didrockswillcooke: oh, I thought you had ubuntu-make installed (and so all deps :p)10:57
willcookeI guess it's on my vm10:57
didrocksmakes sense10:57
willcookeWORKS!!!!10:58
willcookewell10:58
willcookeLOADS!!!10:58
didrockshehe :)10:59
didrockslet's see once installed10:59
willcookeI quite like it11:00
didrockswillcooke: so, it's basically atom under the wood11:01
didrocks(yeah you have another installation of chromium)11:01
willcooke:)11:01
didrocksok, so let's release it and write a blog post I guess11:02
willcooke\o/11:04
willcookeNow *thats* snappy11:04
jcastro__didrocks, man awesome, I'm in malta and came in and wanted to see if someone wanted to do the new ide11:04
jcastro__you rock11:04
willcookedamn straight11:04
didrocksheh, thanks guys!11:04
didrocksuploaded to the ppa (vivid, utopic, trusty), waiting for publication before getting the blog post out11:10
willcooke\m/11:16
Laney\m/ >_< \m/11:16
willcookeexcellent11:16
=== MacSlow is now known as MacSlow|lunch
didrockspublished in the ppa, blog post and g+ post done :)11:42
didrocksdavidcalle: waow!11:42
didrocksI guess it's a new record, sharing in <5s :p11:43
willcookedidrocks, congrats11:43
* davidcalle is actually a bot11:43
didrocks:)11:44
willcookeqengho, anecdotal information about new Cr from the ppa:  there seems to be a lot more screen tearing12:29
willcookewhen scrolling up and down pages esp.12:29
qenghowillcooke: huh. How many "GPU crashes" did you see per day, previously?12:30
willcookecrashes, only at start up12:31
willcookeonce it was running, it was solid12:31
=== MacSlow|lunch is now known as MacSlow
flexiondotorgHas someone some pointer on how I might be LIM working in Ubuntu MATE? I've installed all the *appmenu* packages. But nothing. Guessing I might need to export some environment variables?12:54
didrocksflexiondotorg: as told earlier this morning, let's wait for Trevinho to be around, I don't know if the code is in unity or if the decorator with LIM support is in compiz itself, he would know12:56
Trevinhodidrocks: oh, I'm around... I just didn't see any ping :o12:56
didrocksTrevinho: there were at least one :p12:56
* Trevinho now does12:56
flexiondotorgTrevinho, See above :)12:56
Trevinhoflexiondotorg: I've seen it...12:57
Trevinhoflexiondotorg: so... for ubuntu mate you need to implement it by scratch mostly12:57
Trevinhoflexiondotorg: the only thing you can get from unity-panel-service is the full list of menus around12:58
Trevinhoflexiondotorg: but then you've to make gtk-window-decorator to support them, and it's not easy, considering how it's done (that's why I wrote a new decorator from scratch for unity)12:58
Trevinhoflexiondotorg: the unity decorator is not a separate plugin from unity..12:59
flexiondotorgTrevinho, All understood. So, I don't need of of the appmenu stuff?13:00
Trevinhoflexiondotorg: but....... in theory you might create a new compiz plugin from scratch using most of of its code (as it doesn't depend much on unity code).. But you could use Libunitycore13:00
flexiondotorgTrevinho, I need unity-panel-service running and gtk-window-decorator adapted to display the menus?13:00
Trevinhoflexiondotorg: indicator-appmenu is used, but via unity-panel-service13:00
flexiondotorgTrevinho, Is indicator-appmenu required if I am only interested in lIM?13:01
Trevinhoflexiondotorg: well... not sure you're already using unity-panel-service for indicators... In case you do, you can just re uset it.13:01
flexiondotorg*LIM?13:01
Trevinhoflexiondotorg: otherwise no, you can use directly indicator-appemnu13:01
Trevinhoappmenu*13:01
Trevinhoflexiondotorg: yes...13:01
Trevinhoflexiondotorg: it exposes you the menus  of the focused app or, of every app (depending on the environment variables you set)13:02
flexiondotorgTrevinho, OK, so this menu introspection is used elsewhere in Unity too?13:02
Trevinhoflexiondotorg: mhmh, no... In unity we have unity-panel-service which loads libappmenu (with the others) and talks to LibUnityCore wich abstracts the indicators...13:04
Trevinhoflexiondotorg: this was needed at the time we also had unity2d/unity3d... to allow code reusage13:04
Trevinhoflexiondotorg: then, we use these things in two sides: PanelMenuView which handles the menus when an app is maximized, and in DecoratedWindow wich is the new decorator code13:05
Trevinhofor (restored windows)13:05
flexiondotorgTrevinho, Thanks for such a detailed replay. Very useful. Thanks you.13:07
Trevinhoflexiondotorg: let me know if you need further explainations...13:07
Trevinhoflexiondotorg: in case you'd like to create a new decorator, and share the code with the unity one we might create a library maybe...13:08
flexiondotorgTrevinho, I will do. I've filed those notes and will do some research to better understand how this all integrates.13:08
Trevinhoflexiondotorg: the way we do things is not the "most optimized" so far because of this service around, but it still helps to solve some issues (such has handling the lockscreen better), but in general code should be quite self-explainatory13:18
* Laney mews13:29
xclaesseseb128, was thinking about the inconsistent GtkHeaderBar in unity when the window is maximized. Here is what I currently get: http://people.collabora.com/~xclaesse/tmp/window-decoration-maximized.png14:36
xclaesseseb128, on the left it is nautilus maximized (no GtkHeaderBar afaik), on the right it is devhelp maximized14:36
seb128xclaesse, right, I know14:36
xclaesseseb128, the theme could just hide close/max/min buttons14:37
seb128we could remove the decoration from the headerbar in those cases I think14:37
xclaesseseb128, and theme it as a toolbar14:37
seb128that would display a standard toolbar14:37
xclaesseand that would solve the problem, no?14:37
seb128yeah, I guess so14:37
seb128larsu, Laney, ^ would that be easily doable?14:37
xclaessethere are little size/padding differences as well, even in the windowed state, but that's cosmetical, probably just a few values to tweak in the css14:38
Laneywe already want to remove the buttons14:39
Laneydon't know about re theming14:39
seb128xclaesse, I think it's not that easy, larsu looked at it and gtk doesn't let you use lower padding14:39
xclaesseprobably because they are in the same GtkHBox than other widgets in the headerbar which force it to have bigger height14:41
xclaesseor something like that... anyway that's cosmetical, if we can already hide decoration buttons when maximised that would improve it a lot already :)14:42
seb128right14:43
xclaesseatm only devhelp seems to have that issue, in the apps I'm using, but more will come in upcoming GNOME releases14:43
seb128gnome-system-log in vivid has the issue14:47
Sweet5harkseb128: I had a look at that libreoffice 4.4 crash on close ...15:01
seb128Sweet5hark, did that result in anything useful?15:02
Sweet5harkseb128: in a cruel twist of fate, it was caused by the fix for another crash on close. Will look into this with the author of the commit. https://bugs.documentfoundation.org/show_bug.cgi?id=8493515:04
ubot5bugs.documentfoundation.org bug 84935 in BASIC "Intermittent crash on exit" [Normal,Resolved: fixed]15:04
seb128Sweet5hark, how did you manage to nail it down to that commit without being able to reproduce?15:04
Sweet5harkseb128: looked at the stacktrace and the git log.15:05
seb128good :-)15:05
Sweet5harkseb128: Often that is not helpful, but in this case it was. ;)15:06
jcastrodidrocks, hey so the wiki and github descriptions of umake need to be updated15:20
jcastroit doesn't list like the categories you can use, etc. makes it seem like it's only for android sdk15:21
larsuxclaesse: we can't hide those buttons15:21
larsuxclaesse: and even if we could, moving the rest of the headerbar content around is a bit weird imo15:22
xclaesselarsu, cannot be worse than current state ;-)15:22
larsuxclaesse: which current state?15:22
larsu?15:22
Laneyless weird than showing the buttons twice15:22
Laneybuuuuuuuuuut </headerbars>15:22
larsuyeah...15:23
xclaesselarsu, currently buttons are duplicated15:23
xclaesselarsu, maybe GtkHeaderBar should have a "toolbar" mode where it only show custom widgets15:23
xclaessebecause that's really what it is, once you remove all info that unity panel already display, GtkHeaderBar becomes a toolbar15:24
larsuxclaesse: I don't know. Lots of applications use the center of the header bar as a title15:24
larsuand having 2 titles looks weird15:24
didrocksjcastro: I don't think we should update the category, but rather point to --help (and tab completion) which does all the thing), but good point, I'll reword to not make it sounds like it's for android sdk only15:24
xclaesselarsu, title can/should be removed from the headerbar is well15:25
larsuxclaesse: then it looks empty (see current evince)15:25
xclaesselarsu, should have a way to tell GtkHeaderBar "my WM already show title and close button, please hide them"15:25
larsuxclaesse: how about epiphany then?15:25
larsuwhere title and locationbar are the same?15:26
didrockslarsu: evince> not empty, there is this awesome "open file" icon15:26
didrocks</friday> :)15:26
xclaesselarsu, it's custom widget => keep it15:26
larsuxclaesse: how do you know if it's a custom widget?15:26
larsudidrocks: :P15:26
xclaesselarsu, GtkHeaderBar API knows it15:26
larsuxclaesse: not saying this can't be done, but it's hacky15:26
xclaessewidget you add with gtk_header_bar_set_custom_title() or gtk_header_bar_pack_start() must be kept in the hypotetical "toolbar" mode, the rest hidden15:27
larsuugh, magic15:28
larsubut then, gtkheaderbar is already a mess15:28
larsuanyway, not sure we want this in unity at all15:28
larsustill have the argb window problem, for example15:28
xclaesseunless ubuntu wants to rewrite all GNOME apps, you'll have to deal with it, no?15:29
larsuwe are15:29
Laneywe change default apps to not use them15:29
xclaessedoesn't macosx has the same issue ?15:30
larsuxclaesse: I've been advocating to add proper support for csd windows in compiz for years15:30
larsuxclaesse: nothing happened yet15:30
xclaesseI think gtk upstream should have some support for the unity case15:30
Laneypersonally would vote for trying the hiding buttons thing (see if it really is weird) and leave the other stuff15:30
larsuit does15:30
larsuand my patch adds it to gedit as well15:30
larsunot sure why it's still not applied15:30
* Laney goes out, bbl15:30
larsuI guess because there's a toolbar missing15:30
larsubut that's what it looks like on osx today15:31
xclaesseIMO patching every single app isn't a brillant idea, should try to get GtkHeaderBar widget handle the unity/maxos case15:32
larsuI agree15:32
xclaesseIMO a "toolbar-mode" property where all non-custom widgets are hidden makes sense15:33
larsuno15:33
larsuthat's just stupid15:33
xclaessethen unity could set that property when maximized, and theme it as a toolbar15:33
larsuit should be automatic15:34
xclaesseyeah, or have it know what the WM wants15:34
larsuright15:34
larsuso another xsetting?15:34
xclaessesomething that tells "I already dispaly close/max/min buttons and the title if it's not custom widget, please hide them"15:35
larsu"but only when maximized"15:36
larsuthis is weird15:36
larsuI'd rather just keep the traditional title bar for now15:36
xclaesseI guess the theme css can know if it's a GtkHeaderBar inside a maximized window, then make the background like toolbar's15:37
larsuuntil we see how (and *if*) unity design deals with csd in the future15:37
larsuxclaesse: you can't properly hide widgets from css (only make them invisible, which means you'll still be able to click)15:38
larsualso, the theme doesn't know which desktop it runs on15:38
larsuunless we finally give in and tie desktop env and theme together15:38
xclaesselarsu, yep that's why hiding widget must be done by GtkHeaderBar widget itself (via a property, or a xprop, or whatever). The ubuntu theme should just deal with the background of the headerbar that looks weird when maximized and make it lool like toolbar15:39
larsuxclaesse: ah, right15:40
larsuI've been planning on doing that anyway15:40
xnoxI'm done with O_CLOEXEC -> i aggree15:40
larsunot sure if people will like that, since it will change the look of many apps15:40
larsufor example, nautilus15:40
xnoxdesrt: ^15:41
xclaesselarsu, nautilus' toolbar maximized looks correct to me, it continues nicely the unity panel, no?15:41
larsuxclaesse: it's a technically a header bar, so it would get restyled if we implement your proposal15:42
larsuxclaesse: see how this is a shitty problem? We've been talking about this for a while now. Don't even get me started on supporting LIM on windows with csds15:43
larsuwhich is more or less impossible15:43
larsubut people like it, so there goes15:43
didrocksxnox: hum, what happened with O_CLOEXEC?15:44
* didrocks does use it15:44
xnoxdidrocks: i've hit a race with it -> http://gtk.10911.n7.nabble.com/I-m-done-with-O-CLOEXEC-td86719.html15:45
xclaesselarsu, it's already a GtkHeaderBar in nautilus? the background looks different to devhelp's: http://people.collabora.com/~xclaesse/tmp/maximized.png15:46
larsuxclaesse: ambiance styles it differently if it's not a titlebar15:47
didrocksxnox: interesting… we should definitively forbide multithreading and be back to one processor as well :)15:49
xclaessexnox, IIRC glib itself is done with CLOEXEC15:50
xclaessewasn't desrt taking about it recently?15:50
didrocksxclaesse: I guess that's the link he posted above15:50
xnoxxclaesse: see thread i linked. yes it's about glib, and that desrt will stop doing it =)15:51
xclaesseok :)15:52
xclaesselarsu, checking GtkHeaderBar API, there is already "show-close-button" property. So one step is to make that vie a style property, right?15:59
* xclaesse is not familiar with GTK's CSS, dunno what it can do, like having a different class for when widget's window is maximized16:01
larsuxclaesse: please don't add this API yet. Unity is *not* ready for this yet16:01
xclaesselarsu, unity's UI is going to change that much ?16:03
larsuxclaesse: wtf?16:04
larsuxclaesse: it won't16:04
larsuit's not ready for the reasons I stated above: LIM and argb windows not getting shadows16:04
xclaesseso why shouldn't we care yet about making GtkHeaderBar look good ?16:04
xclaessenot getting background is another orthogonal issue, no?16:05
larsunot getting a shadow is a no go16:05
larsuwe will always patch in a title bar if that is the case16:05
larsusrsly. Don't add API in gtk for unity if unity doesn't use the features yet16:05
larsustep one should be to fix unity16:05
xclaesseif you say so... just though they are 2 unrelated things that can be fixed in parallel16:07
larsunah, sadly not16:08
larsugotta run now, sry16:08
xclaesselarsu, ok :-)16:08
=== alan_g is now known as alan_g|EOD
desrtxnox: fight the system!17:41
=== qengho_ is now known as CardinalFang
=== davmor2_ is now known as davmor2
CardinalFangSo quiet in here today. I guess we fixed all the bugs.  :(18:58
ogra_snappy ate them18:58
=== rsalveti_ is now known as rsalveti
=== \b is now known as benonsoftware

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