controlsfx / controlsfx/controlsfx
Autocompletion popup list gives warnings probably due to type in stylesheet file name
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 300
- Avg merge
- 16d 17h
- Merged PRs (30d)
- 1
Description
**[Original report](https://bitbucket.org/controlsfx/controlsfx/issue/750) by Dean Schulze (Bitbucket: [dwschulze](https://bitbucket.org/dwschulze), GitHub: [dwschulze](https://github.com/dwschulze)).**
----------------------------------------
When the autocomplete list view pops up it throws the following stylesheet warnings. This is probably due to a typo in the stylesheet file name - autocompletion.bss should be probably be autocompletion.css.
Mar 10, 2017 8:48:45 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-color' while resolving lookups for '-fx-background-color' from rule '*.auto-complete-popup>*.list-view' in stylesheet jar:file:/home/dean/.m2/repository/org/controlsfx/controlsfx/8.40.12/controlsfx-8.40.12.jar!/org/controlsfx/control/textfield/autocompletion.bss
Mar 10, 2017 8:48:45 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-color' while resolving lookups for '-fx-background-color' from rule '*.auto-complete-popup>*.list-view' in stylesheet jar:file:/home/dean/.m2/repository/org/controlsfx/controlsfx/8.40.12/controlsfx-8.40.12.jar!/org/controlsfx/control/textfield/autocompletion.bss
Mar 10, 2017 8:48:45 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-selection-bar-non-focused' while resolving lookups for '-fx-background-color' from rule '*.auto-complete-popup>*.list-view>*.virtual-flow>*.clipped-container>*.sheet>*.list-cell:filled:selected' in stylesheet jar:file:/home/dean/.m2/repository/org/controlsfx/controlsfx/8.40.12/controlsfx-8.40.12.jar!/org/controlsfx/control/textfield/autocompletion.bss
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the autocomplete stylesheet resource under org/controlsfx/control/textfield/autocompletion.bss and the code that loads it for the autocomplete popup. Check the stylesheet filename and its loading reference, then exercise the popup and confirm the reported JavaFX stylesheet warnings no longer appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100