Re: [qutebrowser] Why does TabWidget's parent changes during execution?

2018-08-04 Thread Javier Ayres
> I'm not sure about this, but I'm pretty sure that the parent/child > relationship can be changed by qt depending on the layout of the elements. I > don't think it's a good idea to rely on it being set like that, especially > because it's pretty easy to change the parent/child relationship and not

Re: [qutebrowser] Why does TabWidget's parent changes during execution?

2018-08-04 Thread Jay Kamat
Javier Ayres writes: > 1- In TabbedBrowser's __init__ method, self.widget is set to > "tabwidget.TabWidget(win_id, parent=self)". With pdb, I can verify > immediately after that self.widget.parent() correctly returns the > TabbedBrowser instance. > 2- Later, at the point of executing browsertab.