Had a look at this, the issue is that the application is creating two
surfaces even if the second is never visible nor painted on. Since we do
not support multiple surfaces per app at the moment this is breaking in
qtmir.

This would be fixed by the multi-window support in qtmir/unity8

** Changed in: unity8 (Ubuntu)
     Assignee: Albert Astals Cid (aacid) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1425593

Title:
  trivial app fails to appear in shell and crashes it on close

Status in Qt integration with the Mir display server:
  Confirmed
Status in unity8 package in Ubuntu:
  New

Bug description:
  Take this code:

  #include <QApplication>
  #include <QWidget>

  int main(int argc, char *argv[])
  {
      QApplication app(argc, argv);
      QWidget *w = new QWidget();
      w->showMaximized();
      return app.exec();
  }

  
  and this Qt pro file:

  QT       += core gui widgets
  TARGET = simple-qwidget
  TEMPLATE = app
  SOURCES += main.cpp

  and build on the device. On unity8 run with:

  ./simple-qwidget --desktop_file_hint=/usr/share/applications
  /mediaplayer-app.desktop

  You'll see the splash screen appear, but you'll never see a frame from the 
app.
  When I Ctrl+C the app, unity8 crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1425593/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to