|
2009-05-09
| ||
| 03:59 | • Ticket [2148529fff] Canvas scrolls when scrollbar indicates that it cannot. status still Open with 5 other changes artifact: 1da715c702 user: hobbs | |
|
2008-10-06
| ||
| 15:23 | • Ticket [2148529fff]: 6 changes artifact: abf9d02795 user: dkf | |
| 13:26 | • Ticket [2148529fff]: 4 changes artifact: 33daf9dca2 user: ferrieux | |
|
2008-10-05
| ||
| 23:50 | • New ticket [2148529fff]. artifact: a83c11b3e1 user: alsterg | |
| Ticket UUID: | 2148529 | |||
| Title: | Canvas scrolls when scrollbar indicates that it cannot. | |||
| Type: | Bug | Version: | obsolete: 8.5.4 | |
| Submitter: | alsterg | Created on: | 2008-10-05 23:50:19 | |
| Subsystem: | 16. [scrollbar] | Assigned To: | hobbs | |
| Priority: | 7 High | Severity: | ||
| Status: | Open | Last Modified: | 2009-05-09 03:59:08 | |
| Resolution: | None | Closed By: | ||
| Closed on: | ||||
| Description: |
Description: In a canvas widget, when the scrollregion is smaller than the allocated window space (width/height), then a scrollbar attached to it that (as it should) indicates that the canvas cannot be scrolled, can still be used to scroll it if the user attempts it anyway (e.g. by clicking the right scrollbar button in the following example). This is primarily a usability inconsistency. Proof-of-concept: grid [tk::canvas .c -width 200 -height 200 -scrollregion "0 0 50 50" -xscrollcommand ".h set"] grid [tk::scrollbar .h -orient horizontal -command ".c xview"] -column 0 -row 1 -sticky we .c create rectangle 0 0 30 30 -tags rect Version Information: Tcl Version 8.5.1 Tk Version 8.5.4 X Window System Version 7.2.0 X Protocol Version 11, Revision 0, Release 7.2 OS: OpenSuse 10.3 % array get tcl_platform osVersion 2.6.22.18-0.2-default pointerSize 8 byteOrder littleEndian threaded 1 machine x86_64 platform unix os Linux user alex wordSize 8 Contact Information: alsterg@gmail.com | |||
| User Comments: |
hobbs added on 2009-05-09 03:59:08:
It also occurs to the ttk::scrollbar, although it appears to be disabled. You can still scroll to the left. dkf added on 2008-10-06 15:23:04: It looks to me like a bug in the Unix scrollbar implementation (it's not there in the OSX native scrollbars either, but it's easy to duplicate with an X11 build on OSX). ferrieux added on 2008-10-06 13:26:33: Not reproducible on Windows with current ActiveTcl (8.5.4). I assume this is due to Windows having a native scrollbar where disabled state is serious about it, while X11 implementation has more (buggy) degrees of freedom... | |||