Review Request 127408: Make sure the QPlatformWindow doesn't get initialized prematurely.

Marco Martin notmart at gmail.com
Thu Mar 17 12:14:27 UTC 2016



> On March 17, 2016, 12:13 p.m., Marco Martin wrote:
> > Ship It!

ah, test it on wayland beforehand tough


- Marco


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


On March 17, 2016, 2:16 a.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127408/
> -----------------------------------------------------------
> 
> (Updated March 17, 2016, 2:16 a.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> * Remove the initial call to `PanelShadows::self()->addWindow(this);`. It ends up in a winId call that will force a premature construction of the QPlatformWindow.
> * Only update window properties when visible
> 
> 
> Diffs
> -----
> 
>   shell/panelview.cpp c8c3c71 
> 
> Diff: https://git.reviewboard.kde.org/r/127408/diff/
> 
> 
> Testing
> -------
> 
> I made sure it doesn't end up calling `const_cast<QWindow *>(this)->create();` within `QWindow::winId()`.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

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


More information about the Plasma-devel mailing list