Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to Change the Primary Screen Resolution, mine is too low ?

    General and Desktop
    3
    5
    213
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JOduMonT last edited by

      Hi;
      I have several Applications with a Icons/Fonts size issues which seams to all have in common Qt.
      I'm talking about application I use on a XFCE Ubuntu 18.04: Gnome, VLC, QOwnNotes, OnlyOffice Desktop.

      Here a dump from an apps

      **Platform**: `linux`
      **Operating System**: `Ubuntu 18.04.4 LTS`
      **Build architecture**: `x86_64`
      **Current architecture**: `x86_64`
      **Release**: `Launchpad PPA`
      **Qt Version (build)**: `5.9.5`
      **Qt Version (runtime)**: `5.9.5`
      ...
      **Qt Debug**: `0`
      **Locale (system)**: `en_US`
      **Locale (interface)**: *empty*
      **Primary screen resolution**: `640x360`
      **Icon theme**: `breeze-dark-qownnotes`
      ...
      
      The issue one developer point it out and it sound also odd for me is the : **Primary screen resolution: `640x360``**
      
      Now after a quick look on the web, I didn't found how to change this resolution,
      1 Reply Last reply Reply Quote 0
      • Kent-Dorfman
        Kent-Dorfman last edited by

        not Qt related, but web search "ubuntu desktoip - change screen resolution"

        J 1 Reply Last reply Reply Quote 0
        • J
          JOduMonT @Kent-Dorfman last edited by

          @Kent-Dorfman said in How to Change the Primary Screen Resolution, mine is too low ?:

          not Qt related, but web search "ubuntu desktoip - change screen resolution"

          Nice try,

          I hope I didn't sign to another forum where people use it as a chat room

          since an image worth a thousand word

          1efa5fc6-9e9b-418b-a2d3-6f3f2c81d245-image.png

          668ac205-6edc-4fd3-9506-66af26493844-image.png

          93d185c8-a9e3-4706-b21c-b5951f40e563-image.png

          and few ref:

          I'm using Ubuntu 18.04LTS with XFCE 4.12 everything was fine until last week, I think it's an update and/or I uninstalled another apps which probably had dependencies, ... but I can't figure when and why it is like that right now.

          The apps are affected VLC, GIMP (with a solution) and qOwnNotes. It don't seams related directly to XFCE because when I play with font and size through Appearance and Windows Manager these apps don't respect the change.

          While I was posting the issue on qOwnNotes GitHub crazy thing happened.

          Basically if I unplug my HDMI screen everything is fine on my laptop screen which the resolution is: 1920x1080
          http://i.imgur.com/T3deziL.png

          Then if I plug back my HDMI and use is as a mirror everything still fine but the Mirror setting is not fully applied
          http://i.imgur.com/0gqe6NK.png

          But if I try Dual Screen it is not fine
          http://i.imgur.com/zHJDeyu.png

          It is also weird if I Enforce the Mirror setting http://i.imgur.com/hsKr0Gb.png
          and my Laptop screen resolution fallback to 1280x1024 instead of 1920x1080

          • https://forum.xfce.org/viewtopic.php?id=13779
          • https://github.com/pbek/QOwnNotes/issues/1639
          1 Reply Last reply Reply Quote 0
          • fcarney
            fcarney last edited by

            I think in QML you can fix it like this:

            import QtQuick.Monitor 2.12
            
            Monitor {
                width: 1920
                height: 1080
            }
            

            C++ is a perfectly valid school of magic.

            J 1 Reply Last reply Reply Quote 0
            • J
              JOduMonT @fcarney last edited by

              @fcarney said in How to Change the Primary Screen Resolution, mine is too low ?:

              I think in QML you can fix it like this:
              import QtQuick.Monitor 2.12

              Monitor {
              width: 1920
              height: 1080
              }

              it might be a great lead but where exactly I'm suppose to add this ?
              because for me this page just sound like sj!hrê,,wkîsh (https://doc.qt.io/qt-5/qml-qtquick-window-screen.html)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post