<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Scott,<br>
<br>
I'm not affiliated with TortoiseHg. I'm just an end-user. As such,
I have no idea how to create a minimal testcase outside of
TortoiseHg. When I filed a bug report at <a
href="https://bitbucket.org/tortoisehg/thg/issues/5086/caret-position-is-incorrect-if-window">https://bitbucket.org/tortoisehg/thg/issues/5086/caret-position-is-incorrect-if-window</a>
I attached a video demonstrating the problem. Hopefully that'll
help.<br>
<br>
If you guys have a stand-alone application I could run, I can try
reproducing the problem with it as well.<br>
<br>
Thanks,<br>
Gili<br>
<br>
On 2018-05-23 4:45 PM, Scott Bloom wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BLUPR10MB0801FFB842102099B48EA9C1A96B0@BLUPR10MB0801.namprd10.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1039744982;
mso-list-template-ids:1203822914;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">I have a PC
with multiple monitors.. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">However,
looking at the issue, there is no minimal testcase. There
is also nothing saying it’s a bug in Scintilla, QScintilla
or tortoisehg. It could be any of the three.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Why is the
assumption being made that its QScintilla?<br>
<br>
Scott<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
style="color:windowtext"> QScintilla <a
class="moz-txt-link-rfc2396E"
href="mailto:qscintilla-bounces@riverbankcomputing.com"><qscintilla-bounces@riverbankcomputing.com></a>
<b>On Behalf Of </b>cowwoc<br>
<b>Sent:</b> Wednesday, May 23, 2018 13:42<br>
<b>To:</b> Phil Thompson <a
class="moz-txt-link-rfc2396E"
href="mailto:phil@riverbankcomputing.com"><phil@riverbankcomputing.com></a><br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated"
href="mailto:qscintilla@riverbankcomputing.com">qscintilla@riverbankcomputing.com</a><br>
<b>Subject:</b> Re: [QScintilla] Bug report: Caret
position is incorrect if window dragged across monitors<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 2018-05-23 11:09 AM, Phil Thompson
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>On 23 May 2018, at 3:01 pm, cowwoc <a href="mailto:cowwoc@bbs.darktech.org" moz-do-not-send="true"><cowwoc@bbs.darktech.org></a> wrote:<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><o:p> </o:p></pre>
<pre>On 2018-05-23 8:46 AM, Phil Thompson wrote:<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>On 22 May 2018, at 3:48 am, cowwoc <a href="mailto:cowwoc@bbs.darktech.org" moz-do-not-send="true"><cowwoc@bbs.darktech.org></a> wrote:<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Sorry, I forgot to include the bug report: <a href="https://bitbucket.org/tortoisehg/thg/issues/5086/caret-position-is-incorrect-if-window" moz-do-not-send="true">https://bitbucket.org/tortoisehg/thg/issues/5086/caret-position-is-incorrect-if-window</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Thank you,<o:p></o:p></pre>
<pre>Gili<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>On 2018-05-21 9:13 PM, cowwoc wrote:<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hi,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Can someone please take a look at this bug report which seems to affect your project?<o:p></o:p></pre>
</blockquote>
</blockquote>
<pre>Sorry, I don't have the equipment needed to reproduce the problem.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Phil<o:p></o:p></pre>
</blockquote>
<pre><o:p> </o:p></pre>
<pre>Hi Phil,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Which equipment are you missing? A video card with 2 ports? 2 monitors? Or a copy of Windows?<o:p></o:p></pre>
</blockquote>
<pre><o:p> </o:p></pre>
<pre>...and a PC.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Phil<o:p></o:p></pre>
</blockquote>
<p>Fortunately for you, that's not a problem :) Assuming you
have a Mac laptop:<o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"> Plug in a second monitor (any will do) so your
laptop sees multiple monitors.<o:p></o:p></li>
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"> Fire up a virtual machine of your choosing. I
used VMWare Workstation, which is equivalent to VMWare
Fusion on Mac. I believe VirtualBox (which is free) will
work just as well.<o:p></o:p></li>
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"> Download and install the Windows 10 ISO which
you can download for free from <a
href="https://www.microsoft.com/en-ca/software-download/windows10"
moz-do-not-send="true">
https://www.microsoft.com/en-ca/software-download/windows10</a><o:p></o:p></li>
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"> You can run Windows 10 without a license for a
short period of time (30 days I believe) so this isn't a
problem.<o:p></o:p></li>
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"> Configure the VM with 2 virtual monitors and
you should be able to reproduce the problem.<o:p></o:p></li>
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1"> I just tried it in VMWare Workstation and it
worked for me.<o:p></o:p></li>
</ol>
<p>I haven't been able to get this working (yet) using a single
physical monitor. See <a
href="https://superuser.com/questions/1325393/how-to-use-multiple-virtual-monitors-if-host-has-a-single-monitor"
moz-do-not-send="true">
https://superuser.com/questions/1325393/how-to-use-multiple-virtual-monitors-if-host-has-a-single-monitor</a><o:p></o:p></p>
<p>But it's possible that VirtualBox is better in this regard
than VMWare Workstation.<o:p></o:p></p>
<p>Gili<o:p></o:p></p>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>