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

ivi-shell integration can only autogenerate 8 surface ID

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.0 Beta 1
    • 5.8.0
    • QPA: Wayland
    • None

    Description

      If you look at the calculation of ID_LIMIT in qwaylandivishellintegration.cpp:

      const uint32_t ID_LIMIT = 2 ^ (32 - PID_MAX_EXPONENTIATION); // 10 bit is uniqeu id

      With PID_MAX_EXPONENTIATION being 22, this is 2^10 which is 8. I suppose that was meant to read "<<" instead of ^.

      Which will up the limit to 1024. Given that each combobox popup creates/destroys a shell surface, still might be not enough, but well.

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            jensgeorg Jens Georg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes