[Kde-hardware-devel] Review Request: Semantic change in XRandROutput::edid() and select the first preferred mode found for a montior

Commit Hook null at kde.org
Wed Jan 9 21:18:50 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107940/#review25097
-----------------------------------------------------------


This review has been submitted with commit b309874669283054825f24194bdafff1e776a0ce by Lamarque V. Souza to branch master.

- Commit Hook


On Jan. 9, 2013, 9:10 p.m., Lamarque Vieira Souza wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107940/
> -----------------------------------------------------------
> 
> (Updated Jan. 9, 2013, 9:10 p.m.)
> 
> 
> Review request for Solid, Àlex Fiestas and Dan Vrátil.
> 
> 
> Description
> -------
> 
> The change in XRandROutput::edid() allows us to use "if (edid->isValid())" instead of "if (edid && edid->isValid())". I think the former is cleaner.
> 
> The change in XRandROutput::updateModes() selects the first preferred mode found instead of the last one. At least in my notebook the first preferred mode has higher resolution, probably that is also valid for all modes returned by XRandR API.
> 
> 
> This addresses bugs 312236 and 312951.
>     http://bugs.kde.org/show_bug.cgi?id=312236
>     http://bugs.kde.org/show_bug.cgi?id=312951
> 
> 
> Diffs
> -----
> 
>   backends/xrandr/xrandroutput.cpp dc2555b 
> 
> Diff: http://git.reviewboard.kde.org/r/107940/diff/
> 
> 
> Testing
> -------
> 
> Tested in my notebook. The change in XRandROutput::edid() is part of a crash fix for kscreen. The change in XRandROutput::updateModes() fixes a problem in my notebook's lcd, which includes several preferred modes and the last mode is the one with lower resolution.
> 
> 
> Thanks,
> 
> Lamarque Vieira Souza
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20130109/a6ed549a/attachment.html>


More information about the Kde-hardware-devel mailing list