Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. LinuxFB: top-left offset depends on mmsize - bug or feature?
Forum Updated to NodeBB v4.3 + New Features

LinuxFB: top-left offset depends on mmsize - bug or feature?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 563 Views 1 Watching
  • 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.
  • aragatsA Offline
    aragatsA Offline
    aragats
    wrote on last edited by
    #1

    This issue appeared after upgrading Qt from 5.7.1 to 5.12.2. My application running in Debian on BeagleBone Black with LinuxFB backend got shifted by 11x11px from the top-left corner. I discovered that the shift can be controlled by the "mmsize" option, which I never needed to use before.

    The picture below shows how the application is shifted with different values passed with "mmsize". Really big numbers eliminate the offset, e.g. 4000x3000. The LCD's resolution is 800x600 and its physical size is 210x159mm.

    Why it behaves that way? If it's a feature, how it's supposed to be used? Also, the "offset" option doesn't work for me at all.

    By the way, the same setup with VNC backend perfectly works without any additional options.

    Thanks for ideas/directions!

    0_1554865695986_mmsize.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Looks like it could be a regression. Did you check the release logs to see if there's anything related to that ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      aragatsA 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Looks like it could be a regression. Did you check the release logs to see if there's anything related to that ?

        aragatsA Offline
        aragatsA Offline
        aragats
        wrote on last edited by
        #3

        @SGaist , I couldn't find anything related to that "feature" in the released logs.
        More over, I looked through the source code of 5.12.2 and couldn't find how the variable mPhysicalSize (calculated out of the command-line option) is actually used...

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then you should check the bug report system to see if it's something known. If not, please consider opening a new report providing all the findings you made.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

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