Preferences dialog has incorrect type hint

Bug #430955 reported by Chris Coulson on 2009-09-16
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: synaptic

I just noticed by chance that the modal Preferences dialog in Synaptic gets the wrong Compiz animation when it is closed (it gets glide). This is because the window has the wrong type hint. Running "xprop" on the window shows:

"_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL"

This should probably be:

"_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG"

I've not looked at the Synaptic code, but this could probably be achieved by calling gdk_window_set_type_hint () on the preferences window somewhere

ProblemType: Bug
Architecture: amd64
Date: Wed Sep 16 20:29:25 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: synaptic 0.62.7ubuntu3
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.32-generic
SourcePackage: synaptic
Uname: Linux 2.6.31-10-generic x86_64

Chris Coulson (chrisccoulson) wrote :
Changed in synaptic (Ubuntu):
importance: Undecided → Low
Chris Coulson (chrisccoulson) wrote :
Jean-Baptiste Lallement (jibel) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in synaptic (Ubuntu):
status: New → Triaged
Dmitri Bachtin (damg) wrote :

The only rationale I see in the preferences dialog being a toplevel is that the escape button doesn't instantly close the window driving all make changes become lost. Does anyone see any other purpose for the toplevel hint?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers