Results 1 to 8 of 8

Thread: Translucent frameless window problem on Kubuntu

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2011
    Posts
    42
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Translucent frameless window problem on Kubuntu

    I see what u mean. The window also loses all the effects of dragging windows, applied on window manager config. I tried running a normal program on kubuntu, removing borders with the window options, and the same happened, dragging effect of windows disappeared.

    Is there anyway of letting the window manager know about our frameless window, in order to use the translucency, without loosing all desktop effects?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Translucent frameless window problem on Kubuntu

    Don't disable the frame. You can try masking it out (using setMask) however I have no idea whether kwin will be able to detect the mask.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2011
    Posts
    42
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Translucent frameless window problem on Kubuntu

    I dont really know how to use the masking or paint methods...
    Is there any tutorial or guide for masking actions and use of QPixmaps? im interested in changing widget's shape and making transparent areas, but i cant find a tutorial or examples to that. That would be pretty usefull!

    thanks for your help!

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Translucent frameless window problem on Kubuntu

    Open Qt Assistant (or Qt Creator help pane), go to "index" tab and type in "setMask".
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Frameless Window Helper
    By nish in forum Qt-based Software
    Replies: 6
    Last Post: 20th February 2011, 08:28
  2. Replies: 10
    Last Post: 26th October 2010, 00:59
  3. Resize handling of frameless window
    By Peppy in forum Qt Programming
    Replies: 5
    Last Post: 2nd June 2010, 21:48
  4. Translucent window background in 4.3.2 - possible?
    By dpimka in forum Qt Programming
    Replies: 2
    Last Post: 15th July 2009, 09:53
  5. KWin's shadows and frameless window
    By EuroElessar in forum KDE Forum
    Replies: 4
    Last Post: 12th July 2009, 17:16

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.