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

Reorder argument parsing in qlinuxfbscreen.cpp effects mmsize und size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.3.0 Alpha
    • 5.0.0
    • GUI: Painting
    • None
    • Qt5 Qt Creator 2.6.1
    • 99979159a404df09495c8ddd6a052837f66b8739

    Description

      The regex size=(\\d+)x(
      d+) fits also to mmsize=(\\d+)x(
      d+) , this is the
      reason why the mmsize parameter is parsed as size.

      You can reproduce this e.g. with following parameters:
      "-platform linuxfb:fb=/dev/fb1:mmsize=800x480:size=800x480:offset=50x50"

      This patch changes the order of argument parsing, so that the mmsize parameter
      comes first.

      Attachments

        Activity

          People

            syntheticpp Peter Kümmel
            mack89 Matthias Schulz
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: