<div dir="ltr">Hi,<div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 April 2018 at 18:11, Michel Dänzer <span dir="ltr"><<a href="mailto:michel@daenzer.net" target="_blank">michel@daenzer.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 2018-04-20 05:10 PM, Roman Gilg wrote:<br>
> Instead of getting the current msc value from the window, which might be<br>
> different to old one directly take the last saved msc value saved in<br>
> the window_priv struct.<br>
> <br>
> Signed-off-by: Roman Gilg <<a href="mailto:subdiff@gmail.com">subdiff@gmail.com</a>><br>
> ---<br>[...[</div></div>This is working around an issue in xwl_present_get_ust_msc (it doesn't<br>
return consistent MSC values for a window which has been unmapped and<br>
mapped again). This change might do the wrong thing with another backend<br>
which has real CRTCs and returns consistent MSC values for them.<br>
<br>
That said, maybe this is the best that can be done to address the<br>
immediate issue, but it might be good to at least add a comment saying<br>
this is a kludge which should be revisited after 1.20.</blockquote><div><br></div><div>Unfortunately, contrary to my initial tests, the black window still occurs randomly even with that patch applied.</div><div><br></div><div>I won't be available to investigate that next week, so for anyone willing to reproduce:</div><div><br></div><div>1. Install skypeforlinux</div><div>2. run <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">skypeforlinux, open the menu, etc.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">3. close the window (the client actually keeps running in the background)</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">4. reopen the window by running “skypeforlinux” again from the command line</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>→ The window shows up as a black frame for a random amount of seconds, before the content becomes visible.</div><div><br></div><div>Cheers,</div><div>Olivier</div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><br></div><div><br></div><div><br></div></div></div></div>