/srv/irclogs.ubuntu.com/2015/03/12/#ubuntu-mir.txt

=== duflu_ is now known as duflu
=== chihchun_afk is now known as chihchun
robert_ancellmlankhorst, hey07:14
duflualan_g: I find myself potentially having to route logic through the frontend shell code. Although I can skip it for now if any of libmirserver will change again...?09:16
dufluI don't want to base it on classes that might change09:17
dufluIt's functional without touching shell already. But in future should use shell.09:17
alan_gI expect some functions to get added to frontend::Shell to support sizing, morphing etc. But that's not my immediate agenda.09:19
duflualan_g: Yeah, just about done :)09:19
dufluBut the proof of concept is renaming, which doesn't need WM policy (yet)09:19
alan_gSurely there should be a policy about names. ;)09:20
duflualan_g: Doubt it. Never seen a shell that modified what an app set...09:21
alan_g*something* needs to decide what to do if the name is stupidly long and won't fit in the decoration. I don't see that being the compositor09:23
duflualan_g: Actually it is. That affects rendering and fade out etc. And even if it doesn't fit, the task switcher and panel etc still know the full name09:24
alan_gOK, (at least for now) it isn't as though we can't refine the logic later.09:27
duflualan_g: Well all other spec morphs will need intervention of the shell. But I'm intentionally keeping that out of stage one09:28
anpokin the old days figuring out where to place letters was a compositors job.. but compositor is no longer a synonym to typesetter09:29
anpokat least in the world of display servers..09:29
dufluanpok: Also we don't draw lines... "Shell" includes compositor, WM, whatever you want.09:30
dufluWhich makes sense... until you realize how mammoth a job it is to build all that. We need to make it a bit easier.09:31
dufluWith reusable bits09:31
anpokyes it is easy to avoid conflicts or disagreement by just making general statements. I would conclude with the shell author should not have to replace or override the compositor to get a different title or decoration.. your example above just shows that the surfaces arent the right place to make layouting or display related changes to the text. The original problem seems that we havent established that o09:36
anpokther place yet..09:36
anpokoh that message got long09:37
anpokbleh ModuleDeleter is no silver bullet I still have to take care of well defined ownerhsip09:37
* alan_g resists quoting Brooks09:46
anpok:)09:47
dufluEach window has a "title" string. I haven't asserted anything beyond that other than suggesting it should be UTF-809:54
* duflu is confused, but also doesn't care as it's just about EOD09:54
* duflu goes to cook weird-looking mushrooms10:06
mptWould Mir’s security mechanism require command-line utilities where you choose a window, like xprop, xwininfo, or xkill, to be given special privileges?11:38
alan_galf_: your tools/update_package_abis.sh just saved me from pushing a broken change. Thanks!12:40
alf_alan_g: good to hear!12:42
=== dandrader is now known as dandrader|afk
anpokalf_: alan_g: AlbertA: interested in reviewing https://code.launchpad.net/~andreas-pokorny/mir/dispatchable-action-queue-and-fixes/+merge/252451?14:16
alf_anpok: sure, will take a look in a bit14:17
=== dandrader|afk is now known as dandrader
alan_ganpok: ok14:22
greybackalan_g: hey, I noticed in mir::Scene:Surface, the methods configure & query are marked to be removed. And instead to read/write an attribute on a Surface, you need to go through AbstractShell. Isn't that a bit roundabout?14:24
alan_ggreyback: it is more that the attribute implementation doesn't fit well with the MVC design that we were trying to stick to. The model (scene) should only contain stuff that is on interest across the system, the shell is the main consumer of attributes and they ought to be supported there.14:28
alan_gCertainly only the shell should be updating the model, not "anything that can view objects in the model".14:29
greybackalan_g: okay. It doesn't quite gel with me (cuz in my mind, the SurfaceStack is the model, Surfaces are entries in the model), but I'll acquiesce to your better judgment14:34
alan_gEssentially the model shouldn't be responsible for holding all information about surfaces that any part of the system might want. Only the information that is shared across the system. (If you think about the canonical MVC view as a widget, the model doesn't need to know the typeface)14:40
greybackfair, ok14:43
alan_ganpok: I may be missing something: is there an advantage to using an Fd over a condition variable?14:50
anpokwell apart from the fact that you can use the fd in a more neutral way with regard to the threading model ...14:52
anpokthe Dispatchers that execute Dispatchables need fds14:52
=== dandrader is now known as dandrader|lunch
nikwenHi!17:20
kdubhello nikwen17:20
nikwenI have a question regarding Mir and Slimport devices.17:20
nikwenI've installed the latest version of Mir from trunk on my vivid Nexus 4 and connected my Slimport adapter.17:20
nikwenWhen I connect the phone to a screen, I only see a black screen.17:21
nikwenHowever, the syslog shows that the device detects my monitor (I've tried with multiple ones) and the devices recognize that there is some input.17:21
nikwenThe display that there's a 1920x1080 (60 Hz) source attached, but yet the screen is black.17:21
kdubwell, id make sure that everythings powered down and up with the slimport attached, mine's a bit flaky sometimes17:22
nikwenDo I need any other piece of software? How can I verify it's not an issue with the hardware?17:22
nikwenBtw, I've tried with two (sadly poor-quality) HDMI cables and three monitors.17:23
kduband, the mir demos should work, but unity8 needs some work to get going17:23
kduband maybe the display-report or compositor-report or hwc-report (from mir's --help option) can give some clues as to what mir is doing17:24
nikwenAh, that might be the issue. Do I need to install a special version of Unity8? If so, which branch should I install?17:24
kdubnikwen, I'd just advise tinkering with the demos at the moment, and waiting for that stuff to trickle out, /me has lost track of which branches need to go together17:28
=== dandrader|lunch is now known as dandrader
nikwenkdub, ok, thanks. I'll check whether I can get the demos working. :)17:30
kdubno problem17:30
nikwenI'll definitely report back if it works. ;)17:31
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|EOD
anpokoh terry pratchett died18:13
=== dandrader|afk is now known as dandrader
nikwenHi, it's me again.18:33
nikwenkdub, Mir is working with my Slimport. :)18:34
nikwenNow I'll just have to find and compile the proper branch of Unity8. :)18:34
kdubnikwen, great!18:34
nikwenkdub, big thanks for your help. I thought my Slimport might be broken but I'm glad it was software-related.18:35
=== chihchun is now known as chihchun_afk

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