Consider the following simple script, which creates a ttk::combobox, a
ttk::spinbox and a ttk::scrollbar widget:
ttk::combobox .combo
ttk::spinbox .spin
ttk::scrollbar .scrl
grid .combo -row 0 -column 0 -padx 10 -pady 10 -sticky e
grid .spin -row 1 -column 0 -padx 10 -pady 10 -sticky e
grid .scrl -row 0 -column 1 -padx 10 -pady 10 -sticky ns -rowspan 2
Run the script on Ubuntu Linux, on real hardware (i.e., not in a virtual
machine). I have tested it both on Ubuntu with the Unity desktop and on
Ubuntu MATE, on two different laptops: one with AMD graphics and one
with an Nvidia graphics card. If the OS version is 16.04 or earlier,
everything is fine, the GUI is rendered as expected. However, with OS
version 16.10 and the daily build of version 17.04, the result exhibits
serious rendering problems. To see what I mean, please visit the page
http://www.nemethi.de/ttk_ubuntu/artifacts.html
I have used xmag to zoom in the relevant part of the window. One can
immediately see that on Ubuntu 16.10 and later, the arrow components of
the three ttk widgets are cropped, making them totally ugly and unusable.
I am not sure whether this is a Ttk bug, being that it is only exhibited
on recent Ubuntu versions. These are shipped with Linux kernel 4.8
(Ubuntu 16.10) or even 4.10 (Ubuntu 17.04), and the X environment uses
newer components, too. Fact is, however, that Ubuntu is one of the most
popular Linux distributions, hence problems of this kind are for me
serious show-stoppers.
Has anyone of you experienced this problem? Can you reproduce it on
Ubuntu or other Linux distributions/desktops? Does anybody know why the
problem only arises on real hardware but not in a virtual machine?
Before filing a bug report, I would like to know whether others have
experienced the same problem and maybe have a plausible explanation for
what could be the reason.
--
Csaba Nemethi
http://www.nemethi.de mailto:
csaba....@t-online.de