<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p>I can't tell you, I did not use it actively. I have only installed it because it is a dependency of
<a href="https://github.com/hpi-swa-teaching/WindowAcrobatics/" class="OWAAutoLink">
WindowAcrobatics</a>.</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
Christoph<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von John-Reed Maffeo <jrmaffeo@gmail.com><br>
<b>Gesendet:</b> Mittwoch, 23. Oktober 2019 16:49 Uhr<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] Fractional bounds and flickering (contains images that may be disturbing to some readers)</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Thiede,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Do you find Widgets useful?<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Oct 23, 2019 at 12:24 AM Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>
<div dir="ltr">
<div id="gmail-m_-4934250734179181692x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Hi Dave,</p>
<p><br>
</p>
<p>many thanks for the pointer! The #extent: implementation in my image actually does not call #rounded - this is because I have installed
<a href="https://github.com/hpi-swa/widgets" target="_blank">Widgets</a> which contains an extension method based on an older implementation of #extent: ... Will report or fix the bug there. Thanks.<span></span></p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="gmail-m_-4934250734179181692x_Signature">
<div name="x_divtagdefaultwrapper">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
<hr style="display:inline-block; width:98%">
<div id="gmail-m_-4934250734179181692x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>>
 im Auftrag von David T. Lewis <<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>><br>
<b>Gesendet:</b> Mittwoch, 23. Oktober 2019 03:20:43<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] Fractional bounds and flickering (contains images that may be disturbing to some readers)</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div>I cannot reproduce in my image either. The fractional bounds are<br>
rounded to integer values in Rectangle>>rounded, which is called<br>
from Morph>>extent.<br>
<br>
Dave<br>
<br>
On Tue, Oct 22, 2019 at 01:09:23PM +0000, Thiede, Christoph wrote:<br>
> Hi Nicolas,<br>
> <br>
> <br>
> thanks for the insight. On my system, it is not rounded ... I have the latest trunk updates installed.<br>
> <br>
> ________________________________<br>
> Von: Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>><br>
> Gesendet: Dienstag, 22. Oktober 2019 15:00:27<br>
> An: The general-purpose Squeak developers list<br>
> Betreff: Re: [squeak-dev] Fractional bounds and flickering (contains images that may be disturbing to some readers)<br>
> <br>
> Hi Christoph,<br>
> I cannot reproduce. It seems like bounds soon get rounded in my image:<br>
> <br>
>     (SystemWindow new openInWorld extent: (24214/31)@(11565/31)) bounds extent.<br>
>         781@373<br>
> <br>
> Le mar. 22 oct. 2019 ? 13:40, Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" target="_blank">Christoph.Thiede@student.hpi.uni-potsdam.de</a><mailto:<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" target="_blank">Christoph.Thiede@student.hpi.uni-potsdam.de</a>>>
 a ?crit :<br>
> <br>
> Hi all,<br>
> <br>
> <br>
> In the latest days, I encountered flickering problems caused by non-integer bounds of system windows again. For me, the following fails reproducibly in different images:<br>
> <br>
> <br>
> SystemWindow new openInWorld extent: (24214/31)@(11565/31).<br>
> <br>
> <br>
> If I hover and unhover the window a few times, its contents are drawn badly and incompletely like this:<br>
> <br>
> <br>
> [cid:16df38cc226f456b1e51]<br>
> <br>
> <br>
>   *   As you can see, the issue also affects other morphs in the same region (in the screenshot I am hovering the implementors button of the background browser).<br>
>   *   The issue only occurs with very complex fractions, so the extent 500 @ 300 / 2 would not be a problem (at least in my image). I could not reproduce it using floats.<br>
>   *   The situation can be also reproduced by composing a few morphs manually, but the more submorphs there, the higher the flickering rate appears to be.<br>
>   *   [World imageForm] does not contain any abnormalities, maybe the problem is related to the damage recording?<br>
> <br>
> I would like to solve this bug, but I'm not sure where the problem actually arises. In general, should morphs be allowed to have non-integer bounds? This could be useful e. g. for exact animations, but we already have some rounding that (unfortunately) rule
 out this use case:<br>
> <br>
>   *   #position: appears to round the delta value for movement<br>
>   *   #extent: and #bounds: do no rounding at all.<br>
> <br>
> Should we maybe apply some rounding or at least truncating there? Or just convert the arguments using #asFloat before?<br>
> Or do you have any idea how one could debug the problem?<br>
> <br>
> (For relevancy: I often call Preferences >> #changeFontSize:, and each time all windows are drawn badly until I round their bounds. This can indeed be quite annoying:<br>
> [cid:16df38cc227f456b1e52])<br>
> <br>
> Looking forward to your help!<br>
> Best,<br>
> Christoph<br>
> <br>
<br>
<br>
<br>
<br>
> <br>
<br>
<br>
</div>
</span></font></div>
<br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">John-Reed Maffeo<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>