well - this is what i found out so far: the closing of the popup is triggered by an instance of QTimer (OpenEditorsWindow::m_autoHide) which is connected to the slot OpenEditorsWindow::selectAndHide. m_autoHide is started (600ms, single shot) in OpenEditorsWindow::setVisible(bool visible) when visible = true. the timer will be stopped when OpenEditorsWindow::event() registers a QKeyReleaseEvent.
the only thing is: there is no incoming key release event exept the one caused by releasing the ALT-button! pressing the TAB-button causes an ShortcutOverride event and releasing it causes none at all. question 1: are the event types identical on differnt builds from Qt-Mac-Cocoa? and if so - is it rather a Qt issue, or are the different event types ok and must just be handled individually by Qt Creator? question 2: what's the sense of OpenEditorsWindow::m_autoHide at all? greetings florian 2009/11/11 Eike Ziller <[email protected]> > Hi Florian, > > Am Nov 10, 2009 um 6:26 PM schrieb ext Florian Schwehn: > > > hi. > > > > those of you who tried to compile Qt Creator for Mac using a Cocoa- > > version of Qt will know that this aproach leads to some very > > annoying issues. one of them is "switch between open documents > > dialog" thing when using the keyboard shortcut (ALT-TAB by default). > > as far as i know these issues are Qt issues - not Qt Creator. so > > i've been waiting for weeks now but the trolls still didn't fix it - > > so i'd like to have try on my own. > > since i'm not very familiar with the Qt Creator - code yet, can > > please someone give me a hint where to start searching for that > > snippet of code in Qt Creator which calls the "switch documents" > > popup-dialog? > > > the popup itself is implemented in Core::Internal::OpenEditorsWindow, > the code that is called to show it is in Core::EditorManager::gotoNext/ > PreviousDocHistory(). > > The corresponding task in the public bugtracker is > http://bugreports.qt.nokia.com/browse/QTCREATORBUG-258 > which you can use to comment and also to vote on this issue :) > > Happy hacking > Eike > > -- > Eike Ziller > Software Engineer > Nokia, Qt Development Frameworks > Phone +49 (0)30 6392 3255 > Fax +49 (0)30 6392 3256 > E-mail [email protected] > > > > > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
