Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82880

Drawing on X11 root screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.0 Beta2
    • 5.13.2
    • QPA: X11/XCB
    • None
    • Linux/X11, Other
    • 8337684b044b944ba99c7e9a69933ea29e1194ab (qt/qtbase/5.15)

    Description

      In the QApplication docs there is an hit under:
      QDesktopWidget *QApplication::desktop()
      On X11, it is also possible to draw on the desktop.

      But QDesktopWidget is marked as deprecated. "On X11, it is also possible to draw on the desktop." can not be true anymore. I tested and I can't find a way in Qt to draw on the X11 root screen. It looks like a lot of people have the same issue, for example:

      I also created a forum post and we came to the same conclusion:
      https://forum.qt.io/topic/111914/draw-in-qdesktopwidget-desktop-background

      If there is really no more way to draw to the X11 root screen, the documentation should be adapted. If there is, I would be happy to receive advice. My use-case: change X11 wallpaper/Background.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            rsadowski Rafael Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes