Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0
-
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.