> On 2016Apr15, at 13:20, Stephan Witt <[email protected]> wrote: > > Am 15.04.2016 um 12:56 schrieb Anders Ekberg <[email protected]>: >> >> In the newly released 2.2rc1 on Mac (latest OS) open two documents in two >> windows. Select the frontmost and select View > Hidden and the document in >> the background. LyX will shift focus to the background window, but (in >> contrast to 2.1) not raise it to the foreground. Is this intended? >> (As a sidenote, the numbering of tabs in the menu starts from 0. I guess >> this is due to C+ numbering? Should perhaps be changed to starting from 1?) >> >> Regardless 2.2 is fantastic. The only negative thing I can say about it is >> that it gets worse and worse for me when I have to use MS Word… >> >> All the best! >> Anders > > Thank you for the kudos! > > The problem is described here: > https://forum.qt.io/topic/1939/activatewindow-does-not-send-window-to-front/10 > > On Mac the attached patch helps. I’m not sure what’s to do with Linux or > Windows. > If LyX has the problem on Linux too it’s probably better to override > the QWidget::activateWindow() in GuiView and add a portable implementation. > > Stephan > > <activate-gui-view.diff>
Just realised that this is actually a slighter larger problem than I thought: If you go to full screen and then change to another application you can’t (as far as I understand) get back to the document you edited (the work-around is to select the document, save it (without seeing), close it and then reopen. Works, but not really ideal ;-) All the best! Anders
