Summary: | Output::writeGlobal generates duplicate name, overwriting outputs if duplicate EDIDs exist | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | gimdh |
Component: | common | Assignee: | kscreen-bugs-null <kscreen-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gimdh, me, nate, xaver.hugl |
Priority: | NOR | ||
Version First Reported In: | 5.24.7 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kscreen/commit/8288ea632f344472241ef107732c62757a8af2c9 | Version Fixed In: | |
Sentry Crash Report: |
Description
gimdh
2022-01-16 14:41:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/187 Git commit e19e157c314fdf4bbd1262ada7d3c3842fce149b by Xaver Hugl. Committed on 13/03/2023 at 16:19. Pushed by zamundaaa into branch 'master'. kded/output: with duplicate edid hashes, use different global config files Before this commit, the global config files for two outputs with the same hash would override each other, making KScreen lose some settings after a reboot. With this commit, it will detect that and append the connector name to the file name instead, thus separating the settings for the outputs properly. Related: bug 452614 M +7 -1 kded/config.cpp M +29 -23 kded/output.cpp M +1 -2 kded/output.h M +3 -3 tests/kded/testgenerator.cpp https://invent.kde.org/plasma/kscreen/commit/e19e157c314fdf4bbd1262ada7d3c3842fce149b Git commit 8288ea632f344472241ef107732c62757a8af2c9 by Xaver Hugl. Committed on 13/03/2023 at 16:34. Pushed by zamundaaa into branch 'Plasma/5.27'. kded/output: with duplicate edid hashes, use different global config files Before this commit, the global config files for two outputs with the same hash would override each other, making KScreen lose some settings after a reboot. With this commit, it will detect that and append the connector name to the file name instead, thus separating the settings for the outputs properly. Related: bug 452614 (cherry picked from commit e19e157c314fdf4bbd1262ada7d3c3842fce149b) M +7 -1 kded/config.cpp M +29 -23 kded/output.cpp M +1 -2 kded/output.h M +3 -3 tests/kded/testgenerator.cpp https://invent.kde.org/plasma/kscreen/commit/8288ea632f344472241ef107732c62757a8af2c9 |