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 652049 - Fullscreen doesn't always hide taskbar (Windows)
Fullscreen doesn't always hide taskbar (Windows)
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Win32
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-06-07 13:44 UTC by Marc-Andre Lureau
Modified: 2018-02-10 03:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screencast (768.60 KB, video/webm)
2011-06-07 13:46 UTC, Marc-Andre Lureau
Details

Description Marc-Andre Lureau 2011-06-07 13:44:23 UTC
gtk_window_fullscreen () should hide the taskbar, but it's not reliably working (tested on Windows XP SP3 and Windows 2008 R2, with gtk2 and gtk3)

See attached screencast running the following simple test:

/* i686-w64-mingw32-gcc test.c `pkg-config --cflags --libs gtk+-2.0` -o a.exe */
#include <gtk/gtk.h>

int i = 0;

gboolean
foo (gpointer data)
{
  i += 1;
  if (i % 2) {
    gtk_window_fullscreen (GTK_WINDOW (data));
  } else {
    gtk_window_unfullscreen (GTK_WINDOW (data));
  }
  return TRUE;
}

int
main (int argc, char **argv)
{
  gtk_init (&argc, &argv);
  GtkWidget *mainwin = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_widget_show_all (mainwin);
  g_timeout_add_seconds (1, foo, mainwin);
  gtk_main ();
  return 0;
}

(we can find traces of people working around the problem for Xournal here: http://dirkgerrits.com/2009/10/28/xournal-on-windows/)
Comment 1 Marc-Andre Lureau 2011-06-07 13:46:03 UTC
Created attachment 189400 [details]
screencast
Comment 2 Marc-Andre Lureau 2011-06-07 13:59:06 UTC
Oops, I realize that there is a delay before the taskbar is hidden.

Still, in vinagre, when going fullscreen, it doesn't always hide the taskbar for some reason.

We could change this bug to "hide the taskbar immediately"
Comment 3 Matthias Clasen 2018-02-10 03:19:56 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.