Review Request 129118: Remove discovery associated to a key when removing a definition

Sebastian Kügler sebas at kde.org
Fri Oct 7 16:18:07 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129118/#review99839
-----------------------------------------------------------


Ship it!




Ship It!

- Sebastian Kügler


On Oct. 7, 2016, 4:10 p.m., Antonio Larrosa Jimenez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129118/
> -----------------------------------------------------------
> 
> (Updated Oct. 7, 2016, 4:10 p.m.)
> 
> 
> Review request for KDE Frameworks and Plasma.
> 
> 
> Repository: kpackage
> 
> 
> Description
> -------
> 
> Plasmashell was calling Package::removeDefinition but a later call to
> Package::filePath still returned a value because there was an entry in
> d->discoveries but no way to remove it, which made plasma use old
> values.
> 
> 
> Diffs
> -----
> 
>   src/kpackage/package.cpp 363a67ed5b7c592aea4845b84ca05e63da05991a 
> 
> Diff: https://git.reviewboard.kde.org/r/129118/diff/
> 
> 
> Testing
> -------
> 
> I gdb'd a patched plasmashell (1) to fix a wallpaper aspect ratio problem
> while changing the screen resolution between 1024x768 and 1280x720
> and tracing Image::findPreferedImageInPackage . 
> 
> package.filePath("preferred") is not empty at the beginning of the method
> even if package.removeDefinition("preferred") was just called, so it seems
> the key should be removed from d->discoveries too.
> 
> (1) Plasma patch is comming to phabricator in the next minutes.
> 
> 
> Thanks,
> 
> Antonio Larrosa Jimenez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161007/63c3a5e8/attachment.html>


More information about the Plasma-devel mailing list