[issue21303] Python 2.7 Spinbox Format Behaves Differently On Windows Versus Linux

2014-04-21 Thread Michael Boldischar

Michael Boldischar added the comment:

Windows 7 64-bit:
python --version
Python 2.7.6

Debian 7 Linux 64-bit:
$ python --version
Python 2.7.3

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21303
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21303] Python 2.7 Spinbox Format Behaves Differently On Windows Versus Linux

2014-04-21 Thread Michael Boldischar

Michael Boldischar added the comment:

Windows 7 64-bit:
 root.tk.eval('info patchlevel')
'8.5.2'

Debian 7 Linux 64-bit:
root.tk.eval('info patchlevel')
'8.5.11'

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21303
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue21303] Python 2.7 Spinbox Format Behaves Differently On Windows Versus Linux

2014-04-18 Thread Michael Boldischar

New submission from Michael Boldischar:

Here is my code:

   self._image_set_number = Spinbox(self._ramp_group, from_=0, to=999, 
command=self.reset_rep, format=%03.0f)
   self._repetition_change = Spinbox(self._ramp_group, from_=00, to=99, 
format=%02.0f)

On Linux, the spinners behave as expected. There are always three digits in 
_image_set_number and two digits in _repetition_change. The values are 
padded on the left by zeros. When I use the small arrows to increase the value, 
it works as expected.

But, on Windows 7 64-bit, the small arrows do not behave as expected. They go 
up to 008 and then go back to 000 on the next click. Am I missing something 
or is this a bug in the the Windows version of Tkinter?

--
messages: 216800
nosy: mboldisc
priority: normal
severity: normal
status: open
title: Python 2.7 Spinbox Format Behaves Differently On Windows Versus Linux

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21303
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21303] Python 2.7 Spinbox Format Behaves Differently On Windows Versus Linux

2014-04-18 Thread Michael Boldischar

Changes by Michael Boldischar bold0...@umn.edu:


--
components: +Tkinter
versions: +Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21303
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21303] Python 2.7 Spinbox Format Behaves Differently On Windows Versus Linux

2014-04-18 Thread Michael Boldischar

Changes by Michael Boldischar bold0...@umn.edu:


--
type:  - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21303
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com