FYI, I put the resize trick in order to avoid crash when switching between windows showing the same Buffer.
I figured it out later. (Cut a comment in the resize function would be helpful.) This resize triggers a full update and moves the screen to fit the textcursor. This makes cursor navigation pretty unpredictable and makes cross-window middle-button paste impossible. Is it possible *not* to fitCursor with such a update? The easiest case I can make is: 1. open a document 2. scroll down a few pages 3. do a tiny resize of the window lyx scrolls back to the front. It would be good if lyx can try to stay at the current screen, instead of scrolling back to fit the text cursor. I would call this a bug since I have not seen any other program behaves like this. Cheers, Bo