<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Calc selects multiple cells on click instead of just one"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139913#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Calc selects multiple cells on click instead of just one"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139913">bug 139913</a>
              from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
        <pre>Interesting findings, indeed.

Please post the output from xrandr, but without all the mode lines, like:

<span class="quote">> Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
> eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
> ...</span >

So we can see, how X sees all the monitors mapped internally.

My current guess: on resize outside the top-left monitor, some of the VCL
abstraction reports the wrong position of the window - maybe some
<a href="https://doc.qt.io/qt-5/qwidget.html#mapToGlobal">https://doc.qt.io/qt-5/qwidget.html#mapToGlobal</a> is missing. So VCL thinks the
window top-left still is on A monitor, while you click at the same relative
poisition on the other monitors. And then Calc scrolls and select the range;
guess the selected range is actually the size of a monitor in pixel. Internally
that position and size is cached in SalFrameGeometry, so once you trigger this,
things break eventually. Or the selection code queries the Window position and
gets the wrong result.

But that should also happen with two monitors, always... or it still might be a
Qt bug in Kubuntu. Everything looks, like we should have a very prominent bug
with a lot of reports. Or it's some timing problem somewhere. Sill puzzling.

Q: do you have any input method (IM) enabled, like fcitx or ibus?

Just because I just got <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Qt's ImCursorRectangle is not correctly take device scale factor into account"
   href="show_bug.cgi?id=140207">bug 140207</a>, which is unrelated to yours. But I never
tested IM with multiple monitors.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>