Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to Change the Primary Screen Resolution, mine is too low ?
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 462 Views
  • 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 Offline
    J Offline
    JOduMonT
    wrote on last edited by
    #1

    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
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

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

      J 1 Reply Last reply
      0
      • Kent-DorfmanK Kent-Dorfman

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

        J Offline
        J Offline
        JOduMonT
        wrote on last edited by
        #3

        @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
        0
        • fcarneyF Offline
          fcarneyF Offline
          fcarney
          wrote on last edited by
          #4

          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
          0
          • fcarneyF fcarney

            I think in QML you can fix it like this:

            import QtQuick.Monitor 2.12
            
            Monitor {
                width: 1920
                height: 1080
            }
            
            J Offline
            J Offline
            JOduMonT
            wrote on last edited by
            #5

            @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
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved