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 743306 - Year view should place the popover correctly
Year view should place the popover correctly
Status: RESOLVED FIXED
Product: gnome-calendar
Classification: Applications
Component: Views
3.15.x
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2015-01-21 17:12 UTC by Georges Basile Stavracas Neto
Modified: 2017-04-17 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed solution (2.71 KB, patch)
2015-01-21 17:12 UTC, Georges Basile Stavracas Neto
none Details | Review
year-view: Popover position (3.02 KB, patch)
2016-06-08 02:09 UTC, Isaque Galdino
committed Details | Review

Description Georges Basile Stavracas Neto 2015-01-21 17:12:45 UTC
Created attachment 295118 [details] [review]
proposed solution

Year view mindlessly places the popover at the last click's position.

The patch attached fixed this.
Comment 1 Isaque Galdino 2016-06-08 02:09:18 UTC
Created attachment 329360 [details] [review]
year-view: Popover position

Year view was placing popover to mouse click (x,y) position. That was a
little odd because sometimes popover was placed above the selected day.

This patch address that by placing popover always out of the day box.

When selecting the whole month or more than one day, popover will also
be placed out of the month box. reducing the chance to cover selected
days.
Comment 2 Georges Basile Stavracas Neto 2016-06-17 21:01:14 UTC
Attachment 329360 [details] pushed as 3dbe4ad - year-view: Popover position