Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider of dimmer item not aligned properly #2767

Open
ErikDB87 opened this issue Sep 26, 2024 · 0 comments
Open

Slider of dimmer item not aligned properly #2767

ErikDB87 opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working main ui Main UI

Comments

@ErikDB87
Copy link

ErikDB87 commented Sep 26, 2024

The problem

There's something wrong with how sliders are visualised. I've set this item to 4, but as you see, the button is not exactly at 4:
image

Expected behavior

I would expect the dot to be exactly above the "4".

Steps to reproduce

  1. I created this item:
Dimmer haard_eetkamer_niveau2 "Haard eetkamer - Niveau" <temperature> { stateDescription=" "[min="1", max="8"] }

The yaml code is pretty basic:

label: Haard eetkamer - Niveau
type: Dimmer
category: temperature
groupNames: []
tags: []

Your environment

runtimeInfo:
  version: 4.2.1
  buildString: Release Build
locale: nl-BE
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 17.0.12
  javaVendor: Azul Systems, Inc.
  javaVendorVersion: Zulu17.52+17-CA
  osName: Linux
  osVersion: 6.8.0-45-generic
  osArchitecture: amd64
  availableProcessors: 4
  freeMemory: 487675232
  totalMemory: 987758592
  uptime: 571925
  startLevel: 100
addons:
  - automation-jsscripting
  - binding-astro
  - binding-buienradar
  - binding-chromecast
  - binding-enocean
  - binding-gpstracker
  - binding-hpprinter
  - binding-http
  - binding-icloud
  - binding-mail
  - binding-mqtt
  - binding-network
  - binding-openweathermap
  - binding-semsportal
  - binding-sonos
  - binding-tado
  - binding-upnpcontrol
  - misc-openhabcloud
  - persistence-rrd4j
  - transformation-jsonpath
  - ui-basic
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: false
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1.25
    prefersColorScheme: light
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 8
    language: nl-BE
    languages:
      - nl-BE
      - nl-NL
      - nl
      - en-US
      - en
    onLine: true
    platform: Win32
  screen:
    width: 1536
    height: 864
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: light
    filled: true
    pageTransitionAnimation: default
    bars: light
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
    blocklyRenderer: null
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
    like Gecko) Chrome/129.0.0.0 Safari/537.36
timestamp: 2024-09-26T19:13:06.822Z

Browser console

Uncaught Error: Attempting to use a disconnected port object
    at contentInit.4c8b2279.js:2:1836Understand this error
:8080/icon/mdi_timer-outline?format=svg&anyFormat=true&state=2024-08-26T17%3A49%3A20.000%2B0200&iconset=classic:1 
        
        
       Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
:8080/icon/mdi_timer-outline?format=svg&anyFormat=true&state=2024-08-26T17%3A49%3A20.000%2B0200&iconset=classic:1 
        
        
       Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
contentInit.4c8b2279.js:2 Uncaught Error: Attempting to use a disconnected port object
    at contentInit.4c8b2279.js:2:1836Understand this error
:8080/icon/mdi_timer-outline?format=svg&anyFormat=true&state=2024-08-26T17%3A49%3A20.000%2B0200&iconset=classic:1 
        
        
       Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
11contentInit.4c8b2279.js:2 Uncaught Error: Attempting to use a disconnected port object
    at contentInit.4c8b2279.js:2:1836Understand this error
3contentInit.4c8b2279.js:2 Uncaught Error: Attempting to use a disconnected port object
    at contentInit.4c8b2279.js:2:1836

image

Browser network traffic

image

Request URL:
http://192.168.1.9:8080/icon/mdi_timer-outline?format=svg&anyFormat=true&state=2024-08-26T17%3A49%3A20.000%2B0200&iconset=classic
Request Method:
GET
Status Code:
404 Not Found
Remote Address:
192.168.1.9:8080
Referrer Policy:
strict-origin-when-cross-origin
cache-control:
must-revalidate,no-cache,no-store
content-length:
1271
content-type:
text/html
server:
Jetty(9.4.54.v20240208)
accept:
image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
accept-encoding:
gzip, deflate
accept-language:
nl-BE,nl-NL;q=0.9,nl;q=0.8,en-US;q=0.7,en;q=0.6
connection:
keep-alive
cookie:
X-OPENHAB-SESSIONID=9e2f85fd-48c7-479b-a21a-ca70c619f44d
host:
192.168.1.9:8080
referer:
http://192.168.1.9:8080/settings/items/
user-agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

and

Request URL:
http://192.168.1.9:8080/icon/mdi_timer-outline?format=svg&anyFormat=true&state=2024-08-26T17%3A49%3A20.000%2B0200&iconset=classic
Request Method:
GET
Status Code:
404 Not Found
Remote Address:
192.168.1.9:8080
Referrer Policy:
strict-origin-when-cross-origin
cache-control:
must-revalidate,no-cache,no-store
content-length:
1271
content-type:
text/html
server:
Jetty(9.4.54.v20240208)
accept:
image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
accept-encoding:
gzip, deflate
accept-language:
nl-BE,nl-NL;q=0.9,nl;q=0.8,en-US;q=0.7,en;q=0.6
connection:
keep-alive
cookie:
X-OPENHAB-SESSIONID=9e2f85fd-48c7-479b-a21a-ca70c619f44d
host:
192.168.1.9:8080
referer:
http://192.168.1.9:8080/settings/items/
user-agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Additional information

@ErikDB87 ErikDB87 added bug Something isn't working main ui Main UI labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

No branches or pull requests

1 participant