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

[blockly] contextual info block with quantity loses connection to Qty block #2008

Closed
mherwege opened this issue Aug 7, 2023 · 1 comment · Fixed by #2036
Closed

[blockly] contextual info block with quantity loses connection to Qty block #2008

mherwege opened this issue Aug 7, 2023 · 1 comment · Fixed by #2036
Labels
bug Something isn't working main ui Main UI

Comments

@mherwege
Copy link
Contributor

mherwege commented Aug 7, 2023

The problem

I am trying to use the Quantity selection of the contextual info block.

I can connect the contextual info block in a quantity or quantity match block. When I look at the code, the generated javascript looks good. However, the connection is lost when going back to the blockly view.

The following gif illustrates the problem.

chrome_TE4xhshbBF

Expected behavior

Connection should be saved.

Your environment

runtimeInfo:
  version: 4.0.1
  buildString: Release Build
locale: nl-BE
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 17.0.7
  javaVendor: Raspbian
  osName: Linux
  osVersion: 6.1.21-v7l+
  osArchitecture: arm
  availableProcessors: 4
  freeMemory: 217701432
  totalMemory: 656318464
  startLevel: 100
bindings: null
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
    prefersColorScheme: light
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 8
    language: en-GB
    languages:
      - en-GB
      - en
      - nl
      - nl-BE
      - en-BE
      - en-US
      - nl-NL
      - fr
      - de
    onLine: true
    platform: Win32
  screen:
    width: 1920
    height: 1080
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: light
    filled: true
    pageTransitionAnimation: default
    bars: filled
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
    like Gecko) Chrome/115.0.0.0 Safari/537.36
timestamp: 2023-08-07T14:28:10.443Z
@mherwege mherwege added bug Something isn't working main ui Main UI labels Aug 7, 2023
@stefan-hoehn
Copy link
Contributor

Thanks for the good description, Mark. I was finally able to fix that annoying bug.

@ghys ghys closed this as completed in #2036 Sep 5, 2023
ghys pushed a commit that referenced this issue Sep 5, 2023
fixes #2008

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
stefan-hoehn added a commit to stefan-hoehn/openhab-webui that referenced this issue Sep 23, 2023
fixes openhab#2008

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
digitaldan pushed a commit to digitaldan/openhab-webui that referenced this issue Sep 24, 2023
fixes openhab#2008

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
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

Successfully merging a pull request may close this issue.

2 participants