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

QScreen name not "presentable" on windows

    XMLWordPrintable

Details

    • Suggestion
    • Status: Closed
    • P3: Somewhat important
    • Resolution: Fixed
    • 5.12.1
    • 6.4.0 Beta1
    • GUI: Look'n'Feel
    • None
    • Windows
    • e9fd1c6aab (qt/qtbase/dev) e9fd1c6aab (qt/tqtc-qtbase/dev) 2045d02393 (qt/qtbase/6.3) 2045d02393 (qt/tqtc-qtbase/6.3) 3c193fa077 (qt/qtbase/6.2) 3c193fa077 (qt/tqtc-qtbase/6.2)

    Description

      The documentation for QScreen::name states that "This property holds a user presentable string representing the screen" 

      This property returns "\\.\DISPLAY1" on Windows 7. Not particularly presentable.

      This has been reported several times against the Windows api that Qt uses, so there are a few examples of how this can be 'fixed'. One such example is: https://social.msdn.microsoft.com/Forums/vstudio/en-US/cede9420-bc64-45e9-867c-f15920fb2c98/c-enumerate-monitor-name-get-same-name-used-in-control-panel-gt-screen-resolution?forum=csharpgeneral

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              phill11 phill11
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes