GNOME Bugzilla – Bug 662172
expanded view of clock applet goes outside of the screen when on extreme right
Last modified: 2011-11-26 09:57:19 UTC
Created attachment 199406 [details] expanded view of clock applet goes outside of the screen when on extreme right Hi, gnome3 in fallback mode: when I put the clock applet on the extreme right of the screen I get the expanded calendar view rendered partly outside of the screen. I am attaching a screenshot to illustrate the problem, look at the year and at the location edit button. Thanks, Antonio Ospite http://ao2.it
This is code from link-monitor-applet, which has it's own tooltip class, but seems to be inspired by GtkTooltip: 382 /* 383 * The following block is not part of GTK+ and has been added to 384 * make sure that the tooltip will not go beyond the screen edges 385 * (horizontally). 386 */ 387 screen_width = gdk_screen_get_width(screen); 388 if (x < 0 || x + w > screen_width) 389 { 390 x = 0; 391 gtk_widget_set_size_request(selfp->window, MIN(w, screen_width), -1); 392 } (http://git.nomeata.de/?p=link-monitor-applet.git;a=blob;f=src/lm-tooltips.gob;h=4c373f87568a55dc58895eb15008bde58ee0cffc;hb=refs/heads/gnome3) So maybe some similar code should be added to GtkTooltip (if that is really what is used in the clock applet, I did not check).
The issue seems to be solved in gnome-panel 3.2.x Thanks, Antonio