Miscellaneous bugs in Tableview
See original GitHub issueI did some tests (Linux Mint x64 Cinnamon X11), some suggestions for change:
Sorting image was cut off when doing autofit_columns. I changed
pad = utility.scale_size(self, 10)
for this and fixed the problem:
pad = utility.scale_size(self, 20)
Changed menu post method to tk_popup, several lines. Thus, the dropdown menu is displayed when hovering over the parent. And mainly the menu is closed when clicking anywhere on the screen outside of it
example:
def post(self, event):
to: (in every ‘post’ to tk_popup)
def tk_popup(self, event):
I also changed the way to write csv.
writer = csv.writer(f)
for
CSV_DELIMITER = ';'
CSV_QUOTECHAR = '"'
writer = csv.writer(f, delimiter=CSV_DELIMITER, quotechar=CSV_QUOTECHAR, quoting=csv.QUOTE_NONNUMERIC)
Because depending on the country’s local currency, using ‘,’ as a delimiter can cause csv conflicts ex: In Brazil the float separator is ‘,’ and not ‘.’
bugs: https://www.mediafire.com/file/0oil09c4i9vcif6/bug_tableview.mp4/file
modified: https://www.mediafire.com/file/50e4b5qog148l9u/modified_tableview.mp4/file
There is also a bug with ‘hide select rows’. After applying this filter and trying to clean. It does not return the hidden line. https://www.mediafire.com/file/hyhakz2oyi8lmd3/bug_hide.mp4/file
Another problem if the user hides all the rows there is no way for him to reload the data. It would be nice to have a reload/refresh data button as suggested before
A complement.
The header separator could be in a different color than the header. For the program user, it is difficult to identify where this separator to double-click
See the image. When the program is loaded. The separator is in an unexpected position for the user to find. If the separator were a line with a different color from the header, it would be easier to find._Originally posted by @antrrax in https://github.com/israel-dryer/ttkbootstrap/pull/110#issuecomment-1004079814_
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (11 by maintainers)
Top GitHub Comments
Indicators to the right is what I’ve usually seen elsewhere. No personal preference for
Treeview
atm.@antrrax, I think this is related to the validation issue and can probably be implemented with that addition.