Results 1 to 2 of 2

Thread: undesirable transparent cascaded menus

  1. #1
    Join Date
    Jun 2008
    Location
    Boulder, Colorado, USA
    Posts
    70
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Question undesirable transparent cascaded menus

    Some of our menus are becoming partially or totally transparent after a little use. That is, they are initially correctly opaque, but then at some point become transparent. This is a problem only on Windows XP (SP3) (and not on Solaris). We're using Qt 4.4.3. See attached images.

    We're not doing anything special to the QMenu objects. Submenus are created with QMenu::addMenu (const QString& title), and QMenu::addAction (QAction*).

    The transparency applies to both the menu background and the foreground menu action text.

    Does anyone have any ideas about what might cause this?
    Thanks in advance.
    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2008
    Location
    Boulder, Colorado, USA
    Posts
    70
    Thanks
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Question Re: undesirable transparent cascaded menus

    More info: This _appears_ to possibly be due to a malfunction of an intended feature: popup menus gradually (but quickly) FADE-IN. Possibly, the fading-in DOESN'T COMPLETE.

    I don't see any way of disabling the fading-in behavior in code. Is there?

    Also, we had thought that maybe we were seeing this bug only in Visual Studio (we're using VS 2008). But actually, we see it also in a release (non-debug) build running outside of visual studio.

    This is with Qt 4.4.3 on Windows. (We're on Windows XP SP3).

Similar Threads

  1. How to set Qt window transparent?
    By montylee in forum Qt Programming
    Replies: 17
    Last Post: 24th December 2013, 20:11
  2. transparent menus
    By nupul in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2006, 16:05

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
  •  
Qt is a trademark of The Qt Company.