"Ghost window" appears when invoking the "save report" file selector dialog

Bug #1214914 reported by Daniel Manrique on 2013-08-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Driver Test Suite
Medium
Sylvain Pineau

Bug Description

I noticed a small visual glitch: when clicking the save report button, a "ghost" window appears below the file save dialog:

http://people.canonical.com/~roadmr/ghost1.png

you can see the outline and the window itself appears to contain nothing (it has a copy of the rendering of the Run Manager). If you move that ghost window around you can see that more clearly:

http://people.canonical.com/~roadmr/ghost2.png

The actual run manager is behind the save dialog, the front-most window is the ghost window.

When the save dialog closes, the ghost window disappears.

Related branches

Chris Gregan (cgregan) on 2013-08-26
Changed in checkbox-ihv-ng:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → version1.1
Ara Pulido (ara) on 2013-09-05
Changed in checkbox-ihv-ng:
milestone: version1.1 → version1.2
Changed in checkbox-ihv-ng:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
Sylvain Pineau (sylvain-pineau) wrote :

To open the Save Dialog modal window, gui-engine.cpp calls the static short-cut function getSaveFileName:

return QFileDialog::getSaveFileName(NULL,prompt, "submission.xml", tr("XML files (*.xml)"));

If instead it forces the qt rendering, it does not happen:

return QFileDialog::getSaveFileName(NULL,prompt, "submission.xml", tr("XML files (*.xml)"), NULL, QFileDialog::DontUseNativeDialog);

So I guess it's more a GTK hook bug, nothing we could fix in our code;

Qt 5.1 offers a pure QML solution but it's the next version (http://doc-snapshot.qt-project.org/qt5-stable/qtquickdialogs/qml-qtquick-dialogs1-filedialog.html)

I'd prefer the Qt "blue" style instead of the ghost window.

Changed in checkbox-ihv-ng:
status: Confirmed → Triaged
tags: added: sdk-blocker
Changed in checkbox-ihv-ng:
status: Triaged → In Progress
status: In Progress → Triaged
Daniel Manrique (roadmr) on 2013-09-06
Changed in checkbox-ihv-ng:
status: Triaged → Fix Committed
Changed in checkbox-ihv-ng:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers