Results 1 to 1 of 1

Thread: QComboBox prevents screensaver while opened

  1. #1
    Join Date
    Dec 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question QComboBox prevents screensaver while opened

    Hello,

    I am observing a very strange phenomenom in my application. (Running on Linux, using Qt 4.6.2.)

    I have a non-editable QComboBox widget with a few entries. When the drop down list is displayed, the screensaver is delayed from triggering. As soon as the drop down list is closed (e.g. clicking anywhere else), the screensaver triggers immediately (if enough time has passed while the drop down list was displayed).

    In normal circumstances, this would just be a very minor (if strange) bug, but my application is used in a security-sensitive context and we actively rely on the screensaver to blank the screen and lock the session.

    The bug seems independent of the window manager and the actual screensaver program (tested with Gnome + gnome-screensaver and Matchbox + xscreensaver).

    Can anyone explain what's happening?

    EDIT: Might be related, might not: when the drop down list is opened, the combo box seems to catch key presses that should be sent to the WM, such as Alt+Tab or Print Screen.
    Last edited by joelafrite; 17th July 2013 at 14:39.

Similar Threads

  1. QWSServer ScreenSaver
    By webquinty in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 19th May 2016, 18:45
  2. Replies: 1
    Last Post: 27th October 2010, 18:06
  3. QFileDialog prevents app from closing
    By hersheyzombie in forum Qt Programming
    Replies: 6
    Last Post: 21st July 2009, 10:16
  4. winEvent prevents opening menus...
    By supergillis in forum Qt Programming
    Replies: 0
    Last Post: 16th November 2008, 16:48
  5. Replies: 2
    Last Post: 7th May 2008, 20:11

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.