https://bugs.kde.org/show_bug.cgi?id=442822

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kscreen/commit/4a5a80612
                   |                            |0dbf4ccac41e9dccf214acb898d
                   |                            |ff34
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Fabian Vogt <fab...@ritter-vogt.de> ---
Git commit 4a5a806120dbf4ccac41e9dccf214acb898dff34 by Fabian Vogt.
Committed on 11/10/2021 at 20:58.
Pushed by fvogt into branch 'master'.

Fix algorithm for common sizes in Generator::cloneScreens

The algorithm iterates all outputs and collects the intersection of all
supported sizes. To fill the set initially, it assigns the current sizes if
the preliminary result is empty, but this condition can also be true if the
previous intersection resulted in an empty set. This is the case for instance
when using 3 monitors, of which the second one doesn't have any modes in common
with the first (e.g. rotation) and without this fix, it would return all sizes
of the third monitor instead of an empty set.

Avoid this by giving up early when there's no intersection left.

M  +6    -2    kded/generator.cpp

https://invent.kde.org/plasma/kscreen/commit/4a5a806120dbf4ccac41e9dccf214acb898dff34

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to