https://bugs.kde.org/show_bug.cgi?id=445196

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #10 from David Edmundson <k...@davidedmundson.co.uk> ---
Edit again. It was the same bug, just I had the wrong traces.
There are two windows for the native and built-in dialog. That's fine.

But it's this code in gstreamer (which we load randomly) that causes the
subsurface issue.

--Type <RET> for more, q to quit, c to continue without paging--
#29 0x00007ffff66faad7 in QWidget::setAttribute(Qt::WidgetAttribute, bool) ()
    at /usr/lib/libQt5Widgets.so.5
#30 0x00007ffff66fa659 in QWidgetPrivate::createWinId() () at
/usr/lib/libQt5Widgets.so.5
#31 0x00007ffff66fc6c5 in QWidget::winId() const () at
/usr/lib/libQt5Widgets.so.5

#32 0x00007fffd02cd341 in Phonon::Gstreamer::VideoWidget::setupVideoBin()
(this=this@entry=
    0x555555ed12a0)
    at
/home/david/projects/kde5/src/kdesupport/phonon-gstreamer/gstreamer/videowidget.cpp:171
#33 0x00007fffd02cd1eb in
Phonon::Gstreamer::VideoWidget::VideoWidget(Phonon::Gstreamer::Backend*,
QWidget*) (this=0x555555ed12a0, backend=<optimized out>, parent=<optimized
out>)
    at
/home/david/projects/kde5/src/kdesupport/phonon-gstreamer/gstreamer/videowidget.cpp:65
#34 0x00007fffd02aae00 in
Phonon::Gstreamer::Backend::createObject(Phonon::BackendInterface::Class,
QObject*, QList<QVariant> const&)
    (this=0x555555f98700, c=Phonon::BackendInterface::VideoWidgetClass,
parent=0x5555562c3dd0, args=<optimized out>) at
/home/david/projects/kde5/src/kdesupport/phonon-gstreamer/gstreamer/backend.cpp:173
#35 0x00007fffe0099004 in Phonon::Factory::createVideoWidget(QObject*)
(parent=0x5555562c3dd0)
    at /home/david/projects/kde5/src/kdesupport/phonon/phonon/factory.cpp:294
#36 0x00007fffe00c8f41 in Phonon::VideoWidgetPrivate::createBackendObject()
(this=0x5555562d1380)
    at
/home/david/projects/kde5/src/kdesupport/phonon/phonon/videowidget.cpp:76
#37 0x00007fffe00c8e52 in Phonon::VideoWidget::VideoWidget(QWidget*)
    (this=0x5555562c3dd0, parent=<optimized out>)
    at
/home/david/projects/kde5/src/kdesupport/phonon/phonon/videowidget.cpp:46
#38 0x00007fffe098f5ca in KFileAudioPreview::KFileAudioPreview(QWidget*,
QList<QVariant> const&) (this=
    0x555555f5c3c0, parent=0x555555e9b410)


        QWidget *parentWidget = qobject_cast<QWidget*>(parent());
        if (parentWidget) {
            parentWidget->winId();  // Due to some existing issues with alien
in 4.4,


this should obviously be parentWidget->window()->winId();

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to