|
Bugzilla – Full Text Bug Listing |
| Summary: | [Qt4-UI] screenshots empty | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Andreas Vetter <vetter> |
| Component: | YaST2 | Assignee: | Stefan Hundhammer <shundhammer> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | asklein, bugz57, dmacvicar, mmarek |
| Version: | Alpha 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | broken screenshot | ||
|
Description
Andreas Vetter
2008-02-14 22:41:13 UTC
Created attachment 195025 [details]
broken screenshot
It seems to be problem of yast2-qt *** Bug 368161 has been marked as a duplicate of this bug. *** It also happens with normal YaST2 screen shots during installation. (Tested with 11.0-Alpha2+). I tried replacing the current dialog by using the winId of QApplication::desktop() and I did got the screenshot of the whole desktop. However, if I add debug to the winId the UI gets from QWidget * dialog = (QWidget *) YDialog::currentDialog()->widgetRep(); std::cout << std::hex << dialog->winId() << std::endl; I get: 52007c7 while xwininfo says: xwininfo: Window id: 0x5200001 "YaST2" mod-ui bug? xwininfo very likely displays the window ID of the WM window around the Qt window. Plus, YQMainDialog windows are typically swallowed by the YQMainWinDock (which in turn has a WM window around it). QWidget::topLevelWidget() might help here. Yes, that helps, fixed in svn. Please submit later when we accumulate some bugfixes. *** Bug 375170 has been marked as a duplicate of this bug. *** |