On Mon, Dec 3, 2012 at 12:05 PM, romaxa <rom...@gmail.com> wrote: > Native Theme implementation in Qt port is in very bad shape, and > practically was never tested, because Qt XUL Fennec use css scrollbars, and > native scroll indicators are disabled. > there are 2 ways to fix this problem: > 1) Fix Qt native themeing. > 2) disable widget native themeing (set preference > mozilla.widget.disable-native-theme = true) and use native default CSS > scrollbars theme, or ajust it to be just indicators and not scrollbars. >
Thanks for the tip. Option 2) indeed solves the problem and makes the top-level scrollbars to appear, in firefox and in my embedded Qt app. I'd be happy to give 1) a try, but I don't know where to start. From debugging sessions, I know that the rendering code is executed (nsNativeThemeQt::DrawWidgetBackground), but when content is transferred to Qt in nsWindow::DoPaint, the content is not there, only the Qt-styled window background. This makes me think the former and the latter are not using the same drawing surface, though it's just a guess. While you're at it, maybe you could give some hints about things I've noticed when using the Qt backend: 1) when using my Qt embedding app, I have to force MOZ_QT_RENDER_TYPE=1, otherwise it seems the entire QGraphicsView is erased to the white color; when resizing the window, I can see the actual page content flickering, but it's always erased; this does not happen in Qt-built firefox 2) tab-key doesn't move the focus (in my embedding app, in firefox, and whether native themeing is enabled or not) Thanks, Michael. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform