Bug 1075834

Summary: Bad rendering of pop-up dialogs in anaconda on current Rawhide live images
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: ccecchi, g.kaviyarasu, jonathan, kalevlember, mclasen, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-30 20:49:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
first example image
none
second example image none

Description Adam Williamson 2014-03-13 00:46:38 UTC
When running anaconda from the live environment on current Rawhide live images, rendering of pop-up dialogs is kind of odd, with text and buttons spilling over the borders. See attached screenshots. This is with an image I built from today's Rawhide primarily to test efibootmgr 0.7, just noticed this issue in passing.

Comment 1 Adam Williamson 2014-03-13 00:47:14 UTC
Created attachment 873773 [details]
first example image

Comment 2 Adam Williamson 2014-03-13 00:48:15 UTC
Created attachment 873774 [details]
second example image

Comment 3 Chris Lumens 2014-03-18 15:37:45 UTC
Yeah I see this too, but only on live images (not boot.iso), and even if I disable lightboxing.

Comment 4 Chris Lumens 2014-03-18 21:03:22 UTC
Here, have a reproducer:

#!/usr/bin/python
from gi.repository import Gtk

dlg = Gtk.MessageDialog(text="This looks terrible",
                        buttons=Gtk.ButtonsType.OK)
dlg.set_decorated(False)

dlg.show_all()
Gtk.main()

Comment 5 Chris Lumens 2014-03-18 21:10:16 UTC
Okay, on the anaconda side... I need to look at setting dialogs to non-resizeable if that is what we want, and also at setting them to decorated (provided it doesn't look crazy on non-gnome live images).  On the GTK side, it looks like there's a legitimate bug here with non-decorated windows.  Just try toggling set_decorated in that reproducer.

I don't need a bug report to track the anaconda things I mentioned.  I've got a whiteboard.

Comment 6 Matthias Clasen 2014-03-21 17:55:13 UTC
A bug, no question. But why are you making your dialogs undecorated ?

Comment 7 Matthias Clasen 2014-03-21 19:43:14 UTC
Fixed in https://git.gnome.org/browse/gtk+/commit/?id=9ed2c8a71988079f94a204d2e7d19d3bcad5c933

Fix will be in 3.12.0 next week.

Comment 8 Kalev Lember 2014-05-30 20:49:23 UTC
Closing the ticket; this should all be fixed by now.