summaryrefslogtreecommitdiffstats
path: root/tests/menu.test
Commit message (Collapse)AuthorAgeFilesLines
* Make tests 20.12 to -15 pass on Windows. In details: on this platform the ↵fvogel2023-03-261-4/+8
| | | | cloned menu window does not exist at the time [event generate] is called, which prevents the event from being actually generated. The cloned menu needs to be posted for its window to exist. Then, on Windows, a 'normal' clone posted menu blocks the event loop --> remedy: make the clone of 'tearoff' type when cloning, therefore posting it makes its window exist and does not block the event loop, which in turn allows the event to be generated and serviced.
* Make the clone inherit the bindtags from the original menu.sbron2023-03-261-0/+8
|
* Add tests to check for the issues mentioned in bug [15c685a976].sbron2023-03-231-0/+40
|
* Fix for [dc4c5573a6]: tk_popup entry index not working on unix. Thanks to ↵fvogel2022-04-101-154/+154
|\ | | | | | | cjmcdonald.
| * Fix indentation in menu.testfvogel2022-04-021-154/+154
| |
* | (Cherry-pick) Fix for bug [29b5c28ea]jan.nijtmans2022-04-041-0/+22
|/
* Add non-regression test menu-39.1fvogel2021-12-081-0/+8
|
* Remove test-cases added [ac48fb2d729f3994|here]: This test-case gives ↵jan.nijtmans2021-11-011-8/+0
| | | | different results in 8.6, which are fixed in 8.7
* Test-case cleanup (all backported form 8.7)jan.nijtmans2021-10-311-295/+303
|
* merge core-8-6-branch (and fix conflict in test event-9)fvogel2021-03-091-1/+1
|\
| * Fix [d50f63a0e1]: menu-38.1 hangs when unconstrained.fvogel2021-03-091-1/+1
| |
* | Implement Jan's suggestions.fvogel2021-02-271-1/+2
| |
* | Patch [85c8397412]: Wrapper proc for exerting timing control over pointer ↵fvogel2021-02-111-3/+1
|/ | | | warping. This is the patch for 8.6 (with many conflicts fixed).
* Mark more test-cases with "failsOnUbuntu"jan.nijtmans2020-09-291-36/+36
|
* Rename (internal) MAASTER_MENU to MAIN_MENU, but keep the original, just to ↵jan.nijtmans2020-08-121-1/+1
| | | | be sure
* Revised bug fix for [5d991b822e].dgp2019-05-151-0/+28
|\
| * Tests and fix for similar issues in [menu].dgp2019-05-151-0/+28
| |
* | For macOS, guard against a crash in TkpPostMenu and fix TkPostTearoffMenu.culler2019-01-151-1/+1
| | | | | | Adjust menu.test for the new argument name.
* | Fix related menubutton issues on linux and Windows.culler2019-01-111-1/+1
|/
* Fix test menu-3.66 by splitting it in three: menu-3.66a deals with the case ↵fvogel2017-11-041-1/+25
| | | | of -tearoff 0 (all platforms return 0) ; menu-3.66b and menu-3.66c are specialized for respectively WinOrLinux (the test returns 1 because tearoff menues are supported) and OS X (the test returns 0 because tearoff menues are not supported).
* Fix [c8c52b9d6a]: OS X - Lots of menu.test tests fail (items are off by ↵fvogel2017-11-041-14/+14
| | | | one). 84 failing tests now pass. The only one still failing (in menu.test) is menu-3.66
* Fix [0ef1c52736]: OS X - tests menu-22.[345] hangfvogel2017-11-031-3/+3
|
* Constrain test that demands user interactiondgp2017-05-051-1/+1
|
* Constrained test menu-38.1 to Unix or Mac platforms since this test hangs on ↵fvogel2016-08-291-1/+1
| | | | Windows and the corresponding bug was reported for Linux and Mac only
* Added non regression test case menu-38.1fvogel2016-08-231-0/+29
|
* Fixed [2160206fff] - Panic when posting a menu of type menubarfvogel2015-11-081-0/+12
|\
| * Added new test to check for error triggering when posting a menu of type menubarfvogel2015-10-251-0/+9
| |
* | Fixed bug [1581435fff] - Documented precedence order in the matching process ↵fvogel2015-09-061-2/+7
|\ \ | |/ | | | | of the index string
| * Fixed bug [1581435fff] - Documented precedence order in the matching process ↵fvogel2015-09-021-2/+7
| | | | | | | | of the index string
* | remove sandbox litterdgp2014-10-141-3/+0
| |
* | merge markdgp2014-10-141-0/+3
|\ \ | |/
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usagehobbs2006-11-241-1/+11
| | | | | | | | | | | | * tests/menu.test (menu-36.1): [Bug 1599877]
| | * menu clone cleanup bug fixvincentdarley2003-07-151-2/+2
| | |
| * | [Bug 220950]: Don't delete the last menu entry when it is obvious that is notdkf2010-01-051-1/+12
| | | | | | | | | | | | what was intended.
| * | menu tests using 'tkwait visibility' are unix onlypatthoyts2010-01-031-4/+4
| | |
| * | Patch 2879789: Make torn-off menu entrys activate across whole windowpatthoyts2009-12-301-1/+33
| | | | | | | | | | | | backported from HEAD.
* | | [Bug 220950]: Don't delete the last menu entry when it is obvious that is notdkf2010-01-051-1/+12
| | | | | | | | | | | | what was intended.
* | | menu tests using 'tkwait visibility' are unix onlypatthoyts2010-01-031-4/+4
| | |
* | | Patch 2879789: Make torn-off menu entrys activate across whole windowpatthoyts2009-12-301-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | The torn-off menu entries do not activate except immediately over the label or icon. If the window containing the torn-off menu is expanded then a lot of dead space may be created, including the cascade arrow. This patch fixes this making the whole width for any menu entry capable of activation when the pointer hovers over the item.
* | | Tk tests that create images need to be independent of the interpreter ↵patthoyts2009-01-131-55/+60
| | | | | | | | | | | | environment.
* | | Update to tcltest2aniap2008-08-131-1669/+2961
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-6/+6
|/ /
* | TIP#286 implementation. [Patch 1152376]dkf2006-12-041-2/+19
| |
* | * unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usagehobbs2006-11-241-1/+11
| | | | | | | | * tests/menu.test (menu-36.1): [Bug 1599877]
* | reduce unnecessary namespace usedkf2006-03-201-3/+3
| |
* | Arrange the test suite so that it only accesses images in the same directory.dkf2005-10-121-12/+22
| | | | | | | | This enables packaging of the test suite as a starkit.
* | First step towards improving test style. Also start using Tcl 8.5 features.dkf2004-05-231-8/+8
| |