GNOME Bugzilla – Bug 653748
No accessible name set for the default window
Last modified: 2014-02-23 18:00:50 UTC
The empty Document Viewer (with no documents open) does not seem to have an accessible name set.
Originally reported downstream in Ubuntu, see https://bugs.launchpad.net/evince/+bug/704928.
Created attachment 264610 [details] [review] Proposed patch Set the window title to "Document Viewer" for the empty window to have the accessible name properly set.
Review of attachment 264610 [details] [review]: Thanks for the patch, I've just committed a slightly different patch, see below ::: shell/ev-window-title.c @@ +169,3 @@ break; + case EV_WINDOW_TITLE_DOCUMENT: + default: This is not correct, the window title type can only be password or document. ::: shell/ev-window.c @@ +7328,3 @@ g_signal_connect (ev_window, "window_state_event", G_CALLBACK (window_state_event_cb), NULL); + gtk_window_set_title (GTK_WINDOW (ev_window), _("Document Viewer")); Instead of having two different was of setting the window, I think EvWindowTitle should set the default title when created.