Menu

#155 A Multi-monitor curiosity

9.0rc4
closed
nobody
None
Bug
major
2018-06-22
2018-05-30
No

I have encountered the following today when working with 2 monitors on the one machine. Have a latex document open on both monitors but have the focus window on monitor 2. Now try to insert a equation reference. Specifically, type \eqref{ into the document on monitor 2, thereby triggering the electric completion. A list appears in a dialog box on monitor 1. If I select an element from the list presented then it gets inserted into the document open on monitor 1. However, if I drag the dialog box onto monitor 2 before making a selection from the list then the selected reference is inserted in the appropriate place in the document on monitor 2. I have noticed this before, so it is not new to this version of Alpha, but not for a while, which probably just serendipity. (I typically work with the source on my left (monitor 1) and the view on my right (monitor 2), but not today for some reason.

Discussion

  • Bernard Desgraupes

    Thanks for the report. I'll test on a multi monitors setting as soon as possible. Looking rapidly at the code of the listpick command, the dialog should appear on the main screen which, according to Apple's doc, "refers to the screen containing the window that is currently receiving keyboard events." I'll look into this.

     
  • Bernard Desgraupes

    The calculations for the listpick's rect omitted the screen's origin, as if the origin was at (0,0).
    This is fixed now.

     
  • Bernard Desgraupes

    Changes committed to the repository (rev. 1477). The core must be rebuilt.

     
  • Bernard Desgraupes

    • status: open --> fixed
     
  • Bernard Desgraupes

    • status: fixed --> closed
     

Log in to post a comment.