enthought / enthought/traitsui

Tooltips don't work on CheckListEditor

Open
#1,739 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Tooltips don't seem to work on `CheckListEditor`s. All other `Item`s I tested, including items editing `List` traits, work fine, but `CheckListEditor`s don't. Tested on Linux and Windows with pyside2.

![Peek 2021-08-05 12-44](https://user-images.githubusercontent.com/7642150/128337833-50b3684b-27ab-4d46-bf1b-707357e6d520.gif)

Made using:
```python
class HasCheckList(HasTraits):

checklist = List(value=["foo"])
checkbutton = Bool(False)

traits_view = View(
Group(
Label("Tooltip not working:"),
Item(
"checklist",
label="Check list editor",
style="custom",
editor=CheckListEditor(values=["foo", "bar", "baz"]),
tooltip="Can't see this!",
),
Label("For comparison:"),
Item("checklist", label="Default editor", tooltip="Can see this"),
Item("checkbutton", tooltip="Can see this")
)
)

HasCheckList().configure_traits()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.