After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 468122 - Window type hints should be exposed to ATs
Window type hints should be exposed to ATs
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Accessibility
unspecified
Other All
: High normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-08-19 05:01 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2016-03-05 04:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Joanmarie Diggs (IRC: joanie) 2007-08-19 05:01:27 UTC
GTK windows can have a type hint which indicates the function of the window to the window manager.  These type hints include:

  GDK_WINDOW_TYPE_HINT_NORMAL,
  GDK_WINDOW_TYPE_HINT_DIALOG,
  GDK_WINDOW_TYPE_HINT_MENU,
  GDK_WINDOW_TYPE_HINT_TOOLBAR,
  GDK_WINDOW_TYPE_HINT_SPLASHSCREEN,
  GDK_WINDOW_TYPE_HINT_UTILITY,
  GDK_WINDOW_TYPE_HINT_DOCK,
  GDK_WINDOW_TYPE_HINT_DESKTOP,
  GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU,	
  GDK_WINDOW_TYPE_HINT_POPUP_MENU,
  GDK_WINDOW_TYPE_HINT_TOOLTIP,
  GDK_WINDOW_TYPE_HINT_NOTIFICATION,
  GDK_WINDOW_TYPE_HINT_COMBO,
  GDK_WINDOW_TYPE_HINT_DND

(http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#GdkWindowTypeHint)

ATs should have access to the type hints.  Perhaps they could be exposed as an attribute?
Comment 1 Willie Walker 2007-08-20 18:26:14 UTC
I think this is a great idea.  The thing I think we need to think about before plunging into this fully is what kind of things also happen in the Java, OOo, and Gecko spaces.  Do they have similar hints?