Skip to content

Draft: KCModule: Fix QML modules being blocked by an invisible widget stealing events

ivan tkachenko requested to merge work/ratijas/invisible-blocker into master

This is not a proper fix. KCModuleProxyInternal is not the one actually stealing events. It's one of UnboundedScrollArea's children widgets, which is also a sibling to its viewport that ends up being an actual parent for KCModuleProxyInternal. But setting visibility here somehow also affects that evil widget during initialization. Object tree looks like this:

  • UnboundedScrollArea
    • QWidget (objectName: qt_scrollarea_viewport)
      • KCModuleProxyInternal
    • ...2 scrollbar widgets...
    • QWidget (???)
      • QVBoxLayout

So, this (???) widget takes up constant 340 px height and full width, and anchors itself to the top of the scroll area.

Merge request reports

Loading