Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | [Bug 3562426]: Context menu goes out of edge of screen. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core-8-5-branch |
Files: | files | file ages | folders |
SHA1: |
13c14cc5c0766f675836d73d447af4b8 |
User & Date: | jan.nijtmans 2012-08-28 14:12:33 |
Context
2012-09-11
| ||
19:00 | [Bug 3566594]: Fix clipping problem in classic X11; clip regions were leaking in reused GCs. check-in: df2abb1c user: dkf tags: core-8-5-branch | |
13:59 | contributed patch for Solaris 9/x86 support check-in: 69579b44 user: dgp tags: bug-3566106 | |
2012-08-28
| ||
15:17 | merge trunk check-in: 4044d61e user: jan.nijtmans tags: tk-cocoa-8-5-backport | |
14:14 | [Bug 3562426]: Context menu goes out of edge of screen. check-in: d703ff13 user: jan.nijtmans tags: trunk | |
14:12 | [Bug 3562426]: Context menu goes out of edge of screen. check-in: 13c14cc5 user: jan.nijtmans tags: core-8-5-branch | |
14:02 | [Bug 3562426]: Context menu goes out of edge of screen check-in: 9e4a1cd8 user: jan.nijtmans tags: core-8-4-branch | |
2012-08-25
| ||
01:54 | 3554026 3561016 Better fix from Emiliano Gavilan check-in: 5b17b729 user: dgp tags: core-8-5-branch | |
Changes
Changes to ChangeLog.
1 2 3 4 5 6 7 | 2012-08-24 Donal K. Fellows <[email protected]> * library/tkfbox.tcl (GlobFiltered): [Bug 3558535]: Factor out the filtered-sorted globbing code into one procedure that knows how to avoid nasty problems when non-list filters are used. This allows the rest of the [tk_getOpenFile] implementation to be ignorant of the considerable complexities of globbing. | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 | 2012-08-28 Jan Nijtmans <[email protected]> * generic/tkMenuDraw.c: [Bug 3562426]: Context menu goes out of edge of screen. 2012-08-24 Donal K. Fellows <[email protected]> * library/tkfbox.tcl (GlobFiltered): [Bug 3558535]: Factor out the filtered-sorted globbing code into one procedure that knows how to avoid nasty problems when non-list filters are used. This allows the rest of the [tk_getOpenFile] implementation to be ignorant of the considerable complexities of globbing. |
︙ | ︙ |
Changes to generic/tkMenuDraw.c.
︙ | ︙ | |||
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 | * 2. The menu may not have been mapped yet, so its current size might be * the default 1x1. To compute how much space it needs, use its * requested size, not its actual size. */ Tk_GetVRootGeometry(Tk_Parent(menuPtr->tkwin), &vRootX, &vRootY, &vRootWidth, &vRootHeight); if (x > vRootX + vRootWidth) { x = vRootX + vRootWidth; } if (x < vRootX) { x = vRootX; } if (y > vRootY + vRootHeight) { y = vRootY + vRootHeight; } if (y < vRootY) { y = vRootY; } Tk_MoveToplevelWindow(menuPtr->tkwin, x, y); | > > | 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 | * 2. The menu may not have been mapped yet, so its current size might be * the default 1x1. To compute how much space it needs, use its * requested size, not its actual size. */ Tk_GetVRootGeometry(Tk_Parent(menuPtr->tkwin), &vRootX, &vRootY, &vRootWidth, &vRootHeight); vRootWidth -= Tk_ReqWidth(menuPtr->tkwin); if (x > vRootX + vRootWidth) { x = vRootX + vRootWidth; } if (x < vRootX) { x = vRootX; } vRootHeight -= Tk_ReqHeight(menuPtr->tkwin); if (y > vRootY + vRootHeight) { y = vRootY + vRootHeight; } if (y < vRootY) { y = vRootY; } Tk_MoveToplevelWindow(menuPtr->tkwin, x, y); |
︙ | ︙ |