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 516920 - Calendar transaction pop-up list
Calendar transaction pop-up list
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.2.9
Other All
: Normal normal
: ---
Assigned To: Josh Sled
Josh Sled
Depends on:
Blocks:
 
 
Reported: 2008-02-16 23:02 UTC by Richard Ullger
Modified: 2018-06-29 22:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix calendar popup of screen (3.57 KB, patch)
2016-11-19 13:19 UTC, Bob
committed Details | Review
Fix calendar popup of screen (3.35 KB, patch)
2016-12-24 14:59 UTC, Bob
none Details | Review
Fix calendar popup of screen (3.36 KB, patch)
2016-12-27 11:57 UTC, Bob
committed Details | Review

Description Richard Ullger 2008-02-16 23:02:19 UTC
Please describe the problem:
When you hover the mouse pointer over the right-most column of dates, 
the transaction pop-up list disappears off the right hand side of the 
screen.

Steps to reproduce:
1. Open the Scheduled Transaction Editor from Actions->Scheduled Transactions->Scheduled Transaction Editor.
2. Click on the Upcoming calendar display to display the transaction pop-up list.
3. Move the mouse pointer to the right hand side of the screen.


Actual results:
The transaction pop-up list disappears off the right hand side of the screen.

Expected results:
The right edge of the transaction pop-up list should stop at the right hand edge of the screen.

Does this happen every time?
Yes.

Other information:
Comment 1 Phil Longstaff 2009-04-27 22:42:06 UTC
Confirmed in 2.2.9
Comment 2 Bob 2016-11-19 13:19:46 UTC
Created attachment 340302 [details] [review]
Fix calendar popup of screen

This patch should fix the calendar pop up from going off screen by adding a test for the screen size and then use the south east corner to align with the cursor.

Bob
Comment 3 Geert Janssens 2016-11-30 17:49:30 UTC
Thanks for the patch Bob. I didn't see it because both assignee and qa contact are still set to a particular dev instead of the more generic "users" we set nowadays.

Pushed to maint.
Comment 4 Richard Ullger 2016-12-23 01:20:31 UTC
The pop-up list is disappearing off the left edge of the screen.

If the list is short enough to fit between the mouse pointer and the bottom edge of the screen, the list is displayed to the right and below the mouse pointer. (The top left corner of the list is anchored to the mouse pointer).

If the list is too long to fit between the mouse pointer and the bottom edge of the screen, the list is displayed to the left and above the mouse pointer. (The bottom right corner of the list is anchored to the mouse pointer). In this situation the list disappears off the left edge of the screen.
Comment 5 Bob 2016-12-24 11:11:16 UTC
Looks like I did not test the left side....
Comment 6 Bob 2016-12-24 14:59:26 UTC
Created attachment 342452 [details] [review]
Fix calendar popup of screen

This patch should be applied to maint version 2.6.15.

It checks for the pop up going off screen on the left, right and bottom. Top should not be an issue.
Comment 7 Bob 2016-12-27 11:57:41 UTC
Created attachment 342493 [details] [review]
Fix calendar popup of screen

Update to previous patch.
Comment 8 Geert Janssens 2017-01-23 15:11:56 UTC
I have pushed your second patch just now. The first one was already applied earlier.

Thanks for your contributions!
Comment 9 John Ralls 2018-06-29 22:01:15 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=516920. Please update any external references or bookmarks.