Summary: | System Settings crashes in OutputModel::resolutionsStrings() | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Jorge Goncalves <jorgeg> |
Component: | kcm_kscreen | Assignee: | kscreen-bugs-null <kscreen-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | gunnar.s.mikkelsen, nate, nicolas.fella, plasma-bugs, xaver.hugl |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.25.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kscreen/commit/a327e16950de9fbb352be01485fb0275298d9921 | Version Fixed In: | |
Sentry Crash Report: |
Description
Jorge Goncalves
2022-07-02 11:06:53 UTC
*** Bug 457350 has been marked as a duplicate of this bug. *** Please run "kscreen-doctor -o" and past the output here kscreen-doctor -o Output: 70 Virtual1 enabled connected primary Unknown Modes: 79:3840x2400@60 80:3840x2160@60 81:2880x1800@60 82:2560x1600@60 83:2560x1440@60 84:1920x1440@60 85:1856x1392@60 86:1792x1344@60 87:1920x1200@60 88:1920x1080@60 89:1600x1200@60 90:1680x1050@60 91:1400x1050@60 92:1280x1024@60 93:1440x900@60 94:1280x960@60 95:1360x768@60 96:1280x800@60 97:1152x864@75 98:1280x768@60 99:1280x720@60 100:1024x768@60 101:800x600@60 102:640x480@60 1354:1280x1024@60*! Geometry: 0,0 1280x1024 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown primary Output: 71 Virtual2 disabled connected Unknown Modes: 79:3840x2400@60 80:3840x2160@60 81:2880x1800@60 82:2560x1600@60 83:2560x1440@60 84:1920x1440@60 85:1856x1392@60 86:1792x1344@60 87:1920x1200@60 88:1920x1080@60 89:1600x1200@60 90:1680x1050@60 91:1400x1050@60 92:1280x1024@60 93:1440x900@60 94:1280x960@60 95:1360x768@60 96:1280x800@60 97:1152x864@75 98:1280x768@60 99:1280x720@60 100:1024x768@60 101:800x600@60 102:640x480@60 1351:0x0@60! Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown Output: 72 Virtual3 disabled disconnected Unknown Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown Output: 73 Virtual4 disabled disconnected Unknown Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown Output: 74 Virtual5 disabled disconnected Unknown Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown Output: 75 Virtual6 disabled disconnected Unknown Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown Output: 76 Virtual7 disabled disconnected Unknown Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown Output: 77 Virtual8 disabled disconnected Unknown Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/122 Thanks, that matches what I expected. The above MR should fix it Git commit 97e612c2652e47b017ecba93397f98ccf45098c2 by Nicolas Fella. Committed on 12/08/2022 at 15:03. Pushed by nicolasfella into branch 'master'. Don't compute aspect ratio for empty screen geometries Apparently some kinds of virtual screens have a geometry of 0x0, which causes a divide-by-zero when computing the aspect ratio Since the aspect ratio is meaningless in that case just don't show it M +28 -19 kcm/output_model.cpp https://invent.kde.org/plasma/kscreen/commit/97e612c2652e47b017ecba93397f98ccf45098c2 Git commit b3aee3d86f509deda9a5423041386f04e9df5f6d by Nicolas Fella. Committed on 12/08/2022 at 15:06. Pushed by nicolasfella into branch 'Plasma/5.25'. Don't compute aspect ratio for empty screen geometries Apparently some kinds of virtual screens have a geometry of 0x0, which causes a divide-by-zero when computing the aspect ratio Since the aspect ratio is meaningless in that case just don't show it (cherry picked from commit 97e612c2652e47b017ecba93397f98ccf45098c2) M +28 -19 kcm/output_model.cpp https://invent.kde.org/plasma/kscreen/commit/b3aee3d86f509deda9a5423041386f04e9df5f6d Git commit a327e16950de9fbb352be01485fb0275298d9921 by Nicolas Fella. Committed on 12/08/2022 at 15:10. Pushed by nicolasfella into branch 'Plasma/5.24'. Don't compute aspect ratio for empty screen geometries Apparently some kinds of virtual screens have a geometry of 0x0, which causes a divide-by-zero when computing the aspect ratio Since the aspect ratio is meaningless in that case just don't show it (cherry picked from commit 97e612c2652e47b017ecba93397f98ccf45098c2) M +24 -15 kcm/output_model.cpp https://invent.kde.org/plasma/kscreen/commit/a327e16950de9fbb352be01485fb0275298d9921 |