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

QScreen name not "presentable" on windows

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.4.0 Beta1
    • 5.12.1
    • 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)

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes