Moving this to gtk+3.0. I believe it is gtk 3 specific. It is not just limited to gedit, it happens with any app using indicator-appmenu (I notice it most often under okular on pdfs with lots of bookmarks). But it is also not indicator-appmenu specific because the following code, when run with:
UBUNTU_MENUPROXY=0 ./test-menu
will exhibit the behavior as well. When compiled with:
Moving this to gtk+3.0. I believe it is gtk 3 specific. It is not just limited to gedit, it happens with any app using indicator-appmenu (I notice it most often under okular on pdfs with lots of bookmarks). But it is also not indicator-appmenu specific because the following code, when run with:
UBUNTU_MENUPROXY=0 ./test-menu
will exhibit the behavior as well. When compiled with:
gcc -o test-menu test-menu.c $(pkg-config --cflags --libs gtk+-3.0);
the weird first time no scrollbars behavior occurs. But it works fine if using:
gcc -o test-menu test-menu.c $(pkg-config --cflags --libs gtk+-2.0);