<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        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;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle28
        {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:509301485;
        mso-list-template-ids:758948120;}
@list l1
        {mso-list-id:1039744982;
        mso-list-template-ids:1203822914;}
@list l1:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2
        {mso-list-id:1958176112;
        mso-list-template-ids:-1312932364;}
@list l3
        {mso-list-id:2005430552;
        mso-list-type:hybrid;
        mso-list-template-ids:1278924452 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l3:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l3:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l3:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
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]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Im just a user of the widget </span>
<span style="font-family:"Segoe UI Emoji",sans-serif;color:windowtext">😊</span><span style="color:windowtext">  Though I am looking into the problem.  If I find a solution Ill forward it to Phil.<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">I honestly don’t know if here is a QScintilla bug tracker, as a commercial user of it, I just go direct to support
</span><span style="font-family:"Segoe UI Emoji",sans-serif;color:windowtext">😊</span><span style="color:windowtext"><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"> cowwoc <cowwoc@bbs.darktech.org>
<br>
<b>Sent:</b> Wednesday, May 23, 2018 18:25<br>
<b>To:</b> Scott Bloom <scott@towel42.com>; Phil Thompson <phil@riverbankcomputing.com><br>
<b>Cc:</b> qscintilla@riverbankcomputing.com<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">Okay that's perfect.<br>
<br>
Is it safe to assume that you guys will take care of this issue from here on in? Is there some bug tracker I can add a watch on?<br>
<br>
Thanks,<br>
Gili<br>
<br>
On 2018-05-23 8:16 PM, Scott Bloom wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">To be a bit more explicit.  </span>
<o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">The QScintilla widget appears to be using the scaling factor of the “Primary” monitory, not necessarily monitor 1.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">In my setup, I have 3, the laptop monitor + 2 externals (to the right of the laptop) so my primary is actually monitor #2</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"><br>
I confirmed that it only works correctly, on monitors whose scaling factor is the same as the primary monitor.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Scott</span><o:p></o:p></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"> cowwoc
<a href="mailto:cowwoc@bbs.darktech.org"><cowwoc@bbs.darktech.org></a> <br>
<b>Sent:</b> Wednesday, May 23, 2018 17:11<br>
<b>To:</b> Scott Bloom <a href="mailto:scott@towel42.com"><scott@towel42.com></a>; Phil Thompson
<a href="mailto:phil@riverbankcomputing.com"><phil@riverbankcomputing.com></a><br>
<b>Cc:</b> <a 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</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">I think you nailed it.<br>
<br>
I used to think that the problem had to do with launching the app on monitor 1 then dragging it into monitor 2 but I see now that no matter what I do the bug always occurs on monitor 2.<br>
<br>
Here's the kicker: the scaling factor of monitor 2 is 100%. The scaling factor on monitor 1 is 150%. So it looks like the app is using the scaling factor of monitor 1 for the app running on monitor 2. Further, if TortoiseHg is open on monitor 2 and I change
 the scaling factor on monitor 1, I see the font of the app change on monitor 2 (which is unexpected).<br>
<br>
Lastly, setting the scaling factor on monitor 1 to 100% fixing the caret issue on monitor 2.<br>
<br>
Gili<br>
<br>
On 2018-05-23 8:04 PM, Scott Bloom wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">Does the problem exist, in the tortoiseHG if opened on a scaled screen?<br>
<br>
Scott</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></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"> cowwoc
<a href="mailto:cowwoc@bbs.darktech.org"><cowwoc@bbs.darktech.org></a> <br>
<b>Sent:</b> Wednesday, May 23, 2018 17:03<br>
<b>To:</b> Scott Bloom <a href="mailto:scott@towel42.com"><scott@towel42.com></a>; Phil Thompson
<a href="mailto:phil@riverbankcomputing.com"><phil@riverbankcomputing.com></a><br>
<b>Cc:</b> <a 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</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Scott,<br>
<br>
Thanks for reproducing the problem.<br>
<br>
I tried digging into example-Qt4Qt5 but I know nothing about Qt and frankly was turned off not being able to find a pre-built version of qmake (even after installing the Qt SDK). Are you able to publish a pre-built executable of example-Qt4Qt5 for me to try
 out?<br>
<br>
Thanks,<br>
Gili<br>
<br>
On 2018-05-23 6:40 PM, Scott Bloom wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">To duplicate under windows 10:</span><o:p></o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoNormal" style="color:windowtext;mso-list:l3 level1 lfo3">Setup two monitors, resolution doesn’t matter, however the Scale & layout option (windows 10), “Change the size of text, apps and other items” to 125% on one screen<o:p></o:p></li><li class="MsoNormal" style="color:windowtext;mso-list:l3 level1 lfo3">Run the example-Qt4Qt5 app as shipped with the QScintilla core<o:p></o:p></li><li class="MsoNormal" style="color:windowtext;mso-list:l3 level1 lfo3">In the screen with magnification, just type, you will see the visible cursor is NOT where it should be.<o:p></o:p></li></ol>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">I have confirmed it doesn’t happen with SciTE</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">It doesn’t appear it has anything to do with moving, just having the window open on the scaled screen.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Gili, can you confirm that ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Scott</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></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"> cowwoc
<a href="mailto:cowwoc@bbs.darktech.org"><cowwoc@bbs.darktech.org></a> <br>
<b>Sent:</b> Wednesday, May 23, 2018 15:19<br>
<b>To:</b> Scott Bloom <a href="mailto:scott@towel42.com"><scott@towel42.com></a>; Phil Thompson
<a href="mailto:phil@riverbankcomputing.com"><phil@riverbankcomputing.com></a><br>
<b>Cc:</b> <a 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</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Thanks Scott. As far as I can tell, this bug isn't 4k specific.<br>
<br>
If I change my 1080p monitor to have the same scaling factor as the 4k monitor and drag TortoiseHg across the problem does not occur. The bug seems tied to different scaling factors, regardless of the monitor resolution.<br>
<br>
Gili<br>
<br>
On 2018-05-23 6:17 PM, Scott Bloom wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">I don’t have a 4k monitor, but I will try to play with it on a multimonitor PC and see if I can set the scaling factor on one screen and not the other (all three screens are the same resolution here)<br>
<br>
There is not (that I know of) a QScintialla public test app</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"><br>
Scott</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></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"> cowwoc
<a href="mailto:cowwoc@bbs.darktech.org"><cowwoc@bbs.darktech.org></a> <br>
<b>Sent:</b> Wednesday, May 23, 2018 15:15<br>
<b>To:</b> Scott Bloom <a href="mailto:scott@towel42.com"><scott@towel42.com></a>; Phil Thompson
<a href="mailto:phil@riverbankcomputing.com"><phil@riverbankcomputing.com></a><br>
<b>Cc:</b> <a 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</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">It just tested SciTE and it works fine.<br>
<br>
Do you have an equivalent program that uses QScintilla?<br>
<br>
PS: Using TortoiseHg, if I keep the application on the same monitor and change its scaling factor the bug does not occur. The bug only seems to occur when the application is dragged from one monitor to another. My guess is that when the application is sitting
 on one monitor and the scaling factor is changed, it receives and responds to an event. But when the application is dragged across monitors it does not recieve a scaling-specific event and as such it doesn't think to update the DPI accordingly. I would be
 surprised if this logic was TortoiseHg-specific (it seems like something that should be handled by the lower layers) but who knows...<br>
<br>
Thanks,<br>
Gili<br>
<br>
On 2018-05-23 6:08 PM, Scott Bloom wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">Understood.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">You may want to try SciTE.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">That is a base editor, tied to the core Scintilla widget, not used QScintilla (which is a Qt wrapper for the core)<br>
<br>
In reality, the TortoiseHg devs, need to work on this, to see if its their bug first..
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">This could be due to the 4k to HD resolution swap…</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"><br>
Scott</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></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"> cowwoc
<a href="mailto:cowwoc@bbs.darktech.org"><cowwoc@bbs.darktech.org></a> <br>
<b>Sent:</b> Wednesday, May 23, 2018 15:06<br>
<b>To:</b> Scott Bloom <a href="mailto:scott@towel42.com"><scott@towel42.com></a>; Phil Thompson
<a href="mailto:phil@riverbankcomputing.com"><phil@riverbankcomputing.com></a><br>
<b>Cc:</b> <a 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</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">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:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">I have a PC with multiple monitors..
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></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.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Why is the assumption being made that its QScintilla?<br>
<br>
Scott</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></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 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 href="mailto:phil@riverbankcomputing.com"><phil@riverbankcomputing.com></a><br>
<b>Cc:</b> <a 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</span><o:p></o:p></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"><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"><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">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:l1 level1 lfo6">
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:l1 level1 lfo6">
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:l1 level1 lfo6">
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">
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:l1 level1 lfo6">
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:l1 level1 lfo6">
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:l1 level1 lfo6">
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">
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>
</blockquote>
<p> <o:p></o:p></p>
</blockquote>
<p> <o:p></o:p></p>
</blockquote>
<p> <o:p></o:p></p>
</blockquote>
<p> <o:p></o:p></p>
</blockquote>
<p> <o:p></o:p></p>
</blockquote>
<p><o:p> </o:p></p>
</div>
</body>
</html>