/srv/irclogs.ubuntu.com/2014/10/20/#xubuntu-devel.txt

knosyssorry i have no extra monitor , just tv and missing a second hdmi cable for reproduce it01:24
knosysoh that was a while ago :P01:25
sidiPwnna, not sure what is extend (am running on Arch). I have no trouble wildly disconnecting my second monitor though. Can try to reproduce xrandr to internal only and then wild disconnect but not sure it'll help. in any case im tempted to say regardless of whether the bug is reproducible, the error handling behaviour in xfsettingsd could be defined better10:10
ali1234i use nvidia driver and disconnect monitors all the time. i also have no idea what extend means10:45
knosysPwnna , ali1234 extend dekstop to 2 monitors, instead of having one different desktop on each monitor10:48
ali1234i didn't know there was any other way to do it?10:48
knosysthere is other ways10:48
knosysits different when you extend it10:49
knomei'd call that mirroring, not extending10:49
knosysyou can have a window in half of both monitor at the same time10:49
knosysdo you know what i mean?10:49
ali1234yes, i know what you mean10:49
ali1234this is the default method of doing multimonitor on nvidia, anything else would be pointless10:49
knosysthats what i understand from "extend monitor"10:49
ali1234why would you specifically choose not to be able to drag windows across monitors?10:50
knosysyou can duplicate the image10:51
knosysfor example10:51
knosysor just disable one , and enabling the other..10:51
* ochosi is back after a long weekend11:04
ochosianything important i missed?11:04
ochosidid anyone manage to get a hold of xnox?11:04
knomenope11:05
ali1234sidi: i just watched your XDC talk12:39
sidiali1234, cool, any feedback/thoughts?12:42
sidi(especially negative :P)12:42
ali1234is there any implementation of WSM that works? for example, i can write a program that requests WSM_SCREENSHOT and libwsm will either allow or deny it, but then what happens?12:43
ali1234i mean, after i get permission to do something, how do i then actually do it?12:44
sidiWe have a prototype that needs to be hooked and implemented by compositor devs who want to try it out12:57
sidiMartin will make a Weston implementation when he's back from holidays12:57
sidithe program just uses the normal API and then gets a response based on the policy12:57
sidimost of the API isnt designed in Wayland actually12:57
sidibecause noone wanted to do it wrong :P12:58
ali1234what is the "normal" API for eg WSM_SCREENSHOT though?12:58
sidiso i'm currently designing API12:58
sidii dont think there is one yet12:58
sidibasically getting a framebuffer of the entire screen would be that API12:58
sidicurrently it shouldnt be possible in pure Wayland (dunno about XWayland)12:58
sidiso basically libwsm tells compositor developers "place a hook in this function, and then get a reply from whatever backend is in use"12:59
sidiin practice, libwsm is just a draft12:59
sidiit'll change and improve12:59
sidiwas more meant for KDE/GNOME/E19 and Weston devs to poke around and get their requirements written12:59
sidifor app developers this is irrelevant12:59
sidiall they need to do is to tell us what permissions they need12:59
sidiin a separate file, a bit like a .desktop file13:00
sidipackagers and distros are then free to modify these permission files if they disagree13:00
ali1234i see that as a problem13:00
sidiwhy?13:00
ali1234because desktop developers don't need permissions, app developers do13:00
ali1234if you ask GNOME what permissions they want to export, they'll say "none"13:00
sidiali thats not what i meant13:01
sidiwhat i mean is, desktop compositor developers are responsible for using the library13:01
sidito verify that a specific app has permission13:01
sidiso, if i implement in an hypothetical wayland xfce compositor a method for taking a screenshot13:02
sidii would call libwsm with the wayland socket of the requesting client13:02
sidilibwsm would find the client, find the backend and policy used on the OS, and would return one of several possible recommendations13:02
sidiand then compositor must decide what to do with this13:02
sidiapp developers provide a file with their source that tells what their app does, and distros verify it when packaging the app13:03
sidi(which is what windows, ios, os x and android do, virtually)13:03
ali1234so my point is, what's the point of a cross-DE permissions system, if there is no cross-DE API for it to protect?13:03
sidithen everyone is free to provide GUIs of their liking, the API is flexible and so generic and dumb you can do whatever you want with it13:03
sidithe API is meant to be cross-DE13:03
sidiWayland essentially defines an API, but some bits are not done yet13:03
ali1234that's not what they told me13:04
sidifor instance Weston has a custom Fullscreen API because people (gnome/weston/kde/tizen) havent standardised it yet13:04
sidimost API should be X-DE13:04
ali1234wayland developers told me wayland will never implement these things by design13:04
sidiotherwise theres no point to doing Wayland13:04
ali1234well yeah, that's what i said13:04
sidiwell wayland doesnt implement things, it's just a spec13:04
sidiali1234, Martin who was working with me just informed me he pushed libwsm into libwayland13:05
sidiso yeah i would assume that some of the API will be standardised13:05
sidii would also assume some of it will not, because only some DEs implement it13:05
sidithis is very grey area so far, most of this work has yet to be done...13:05
sidiali1234, who is it you talked to?13:07
ali1234jasper mainly13:07
sidiyeah13:13
sidiJasper explicitly stated that he thinks libwsm is stupid and that we dont understand security13:14
ali1234lol13:14
sidihe also does not seem keen at all on anything being cross-DE13:14
sidiso you know..13:14
ali1234so here's a thing, did you think about this situation? say a compositor has one single API to intercept both keyboard and mouse, which permission does it request? can it requests both at once, or do you get two requests sequentially?13:15
sidiso, in the case it has a single API it does not mean the calls are not separate dwithin this API13:15
sidii fail to see how a client can need within an atomic call to modify both mouse and keyboard13:16
sidii've never seen such API in my life13:16
ali1234well it might be that the compositor just designed the api that way13:16
sidiin any case if it were to exist, either the compo dev believes this is really a combined use of both APIs, and it requires both permissions13:16
sidior the dev believes the semantics dont match and that API has another purpose (and morei mportantly a different attack surface / threat model) and then a new permission can be made13:16
sidiand integrated into the backend i wrote13:16
sidiali1234, move_keyboard_and_mouse_at_the_same_time (...)? :P13:17
ali1234it was just an example13:17
sidiwell, you're right this situationwill occur13:17
sidilibwsm is just a prototype, not an injunction13:17
sidii think jasper took it as "two idiots who never wrote a compositor are telling me what to do and they have no clue what we actually need". it's partly a fair point and partly the fact that he didnt get a specification or a list of requirements for his security model, yet he is close to feature parity with X13:18
sidiwe've made something dumb and simple and we're essentially asking DEs to identify how this dumb thing fails them, so we can try to develop something that matches requirements for each major DE and has decent flexibility for the future13:19
ali1234i disagree that any wayland compositor has anywhere near close to feature parity with X13:19
sididoesnt GNOME Shell have fullscreen, screenshot, clipboard?13:19
sidiwell they probably still use the old X APIs actually13:19
ali1234yeah it has them if you are using the GDK X backend13:20
sidibut they want to switch this to default in Fedora/GNOME asap dont they? which means "we wont change the APIs"13:20
ali1234in the wayland backend it's all //TODO: implement this13:20
ali1234and there's no way to implement it13:20
sidithe problem is the clipboard API especially is broken, it allows too many attacks and even worse it doesnt even allow apps to do basic stuff in a secure way (you cant query the type of data in the clipboard to check if your app supports it without pulling the data)13:20
ali1234also fullscreen, screenshot, clipboard is nothing like feature parity anyway13:21
sidi(errata to what i've said before, my friend didnt push libwsm into libwayland-trunk but into a testing branch of libwayland :p)13:21
sidifair enough13:21
ali1234you need things like WSM_RAISE_FOCUS_OTHER, WSM_POSITION_RESIZE(_OTHER)13:21
sidigood points13:21
ali1234ability to get information about other clients13:21
ali1234even maybe ability to draw into other client's surfaces13:23
ali1234or at least around them :)13:23
sidithat really should be done via IPC or UI composition13:23
sidieither the apps collaborate to produce something, or clearly separated UI elements are embedded within one another13:23
sidiif you have other ideas of capabilities, or issues with the existing ones do ping me ali1234 !13:24
ali1234also, why is screenshot and screensharing separate?13:26
ali1234if i get screenshot permission, can't i just keep doing it over and over?13:26
ali1234you could ask every time, but that is going to get annoying13:26
ali1234most likely the screenshot tool is just going to be set to "always allow" by the packager13:27
ali1234in which case they've defacto received screensharng permission to13:27
ali1234i suppose something like skype you would want it to ask permission every time13:28
ali1234also worth considering that there are input devices other than keyboard and mouse13:30
ali1234like joysticks for example, or leap motion, or oculus rift head tracker13:31
ali1234or other weird haptic things13:31
ali1234although i suppose the "core pointer" as X calls it is not really tied to any specific hardware, it's an abstraction13:34
ali1234i should subscribe wayland-devel13:37
ochosifolks, i won't make tomorrow's meeting, it's unfortunate, but it's a conflict of appointments :/13:57
ochosior: another conflict....13:57
knomethat's okay, the meetings are much more pleasant without you whining anyway13:59
knomeoops ;)13:59
knomeno seriously, meh, but maybe you're around and available at other times tomorrow if somebody needs something?13:59
ochosiheh14:02
ochosiyeah, i'll try to be14:02
knomeVV is called Vivid Vervet14:02
ochosiat least during what is my morning14:02
knomehttp://www.markshuttleworth.com/archives/142514:02
ochosioh14:02
ochosihadnt read that yet14:02
knomeyeah, just accidentally bumped into that when checking the planet14:03
elfyrespins tomorrow14:27
ochosihey elfy 14:27
elfyhi ochosi 14:27
GridCubethe xfce4-weather-plugin is failing, see https://forum.xfce.org/viewtopic.php?id=9163 , fixed version is 0.8.3-5 apparently, trusty ships -1, and utopic will -2, so it will fail 14:46
skellatI guess we're not going to eat anybody's lunch in 15.04 :-( http://www.markshuttleworth.com/archives/142516:40
Unit193"Document es/index.xml does not validate" dangit.20:16
Unit193migrating-upgrading.xml:315, settings-preferences.xml:373, media-apps.xml:323.20:17
knomeUnit193, oi, fail :)20:18
brainwash_bluesabre: https://code.launchpad.net/~brunonova/ubuntu/trusty/xubuntu-default-settings/lp1310264/+merge/23893521:12
brainwash_it's a minor UI change, so the fix has not been backported yet21:13
knomehttps://twitter.com/RLUK_Mike/status/51724390719397068821:13
Unit193knome: Nice.21:14
knosyswho is that? :D21:45
knosysi should already know right ? xD21:46

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