Icinga / icingaweb2

A lightweight and extensible web interface to keep an eye on your environment. Analyse problems and act on them.
https://icinga.com/get-started/
GNU General Public License v2.0
808 stars 282 forks source link

While using dropdown filter menu it gets closed automatically due to autorefresh #4942

Closed NicolasGoeddel closed 1 year ago

NicolasGoeddel commented 2 years ago

Describe the bug

When using the filter functions for hosts, services, etc the dropdown to choose the right filter automatically closes while scrolling through it. There seems to be an old issue (#1005) about the same bug which got solved but now it is here again.

To Reproduce

Prerequisites: No fancy configurations here, just the bare minimum to connect to the IDODB.

  1. Open Overview -> Services
  2. Click on filter
  3. Open dropdown
  4. Wait

Expected behavior

The dropdown should not close automatically while I am still trying to find the correct filter.

Screenshots

n/a

Your Environment

Include as many relevant details about the environment you experienced the problem in

Additional context

Add any other context about the problem here.

nilmerg commented 2 years ago

I'm sorry, but... works fine for me. With Firefox v106.0.2. And Chrome/Chromium. What's your client OS, macOS maybe?

NicolasGoeddel commented 2 years ago

It only seems to happen in certain constellations. I try to find a reliable step by step guide to reproduce the issue. Give me a few minutes.

NicolasGoeddel commented 2 years ago

Okay, I got it.

Step by step:

  1. Go to Overview -> Services
  2. Add new filter "Service Check Command = ping4" and apply it
  3. Open the dropdown again and wait
  4. The dropdown closes automatically after a while

Instead of "Service Check Command = ping4" it also works with "Hostgroup Name = xyz" and I assume other

The dropdown closes when this GET request happens: http://localhost/icingaweb2/monitoring/list/services?service_check_command=ping4&modifyFilter=1

nilmerg commented 2 years ago

Confirmed.