Testcase:
This does not work properly in Unity but works in Unity2D and Gnome Shell. It
looks like upon receiving an event about the window geometry change, compiz
stops displaying window in fullscreen:
using Gtk;
int main(string[] args) {
Gtk.init(ref args);
Gtk.DrawingArea drawing_area = new Gtk.DrawingArea();
int screen_height = Gdk.Screen.height();
int screen_width = Gdk.Screen.width();
Gtk.Window win = new Gtk.Window();
win.set_title("Hi, I am a \"Fullscreen\" window");
win.realize();
win.add(drawing_area);
drawing_area.show();
win.show();
// This works on Unity2D and Gnome Shell
win.fullscreen();
// This happens in RDP plugin, it resizes the drawing area to
// the required desktop size.
drawing_area.set_size_request(screen_width, screen_height);
win.destroy.connect(() => { Gtk.main_quit(); });
Gtk.main();
return 0;
}
Compile this with
$ valac test-resize-content-after-fullscreen.vala --pkg gtk+-3.0
** Attachment added: "test-resize-content-after-fullscreen.vala"
https://bugs.launchpad.net/ubuntu/+source/remmina/+bug/946388/+attachment/3088033/+files/test-resize-content-after-fullscreen.vala
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/946388
Title:
Remmina full-screen mode does not work under Unity
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/946388/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs