egui icon indicating copy to clipboard operation
egui copied to clipboard

Frame demo ID clash

Open Swarkin opened this issue 1 year ago • 2 comments

Describe the bug image

To Reproduce Steps to reproduce the behavior:

  1. https://www.egui.rs/
  2. Enable Frame demo
  3. Disable the first two "same" checkboxes

Swarkin avatar Aug 14 '24 23:08 Swarkin

Its not happening anymore?

Swarkin avatar Aug 14 '24 23:08 Swarkin

As the web demo is built in release mode, the ID clash warning is off by default. It can be toggled in the settings, and it is turned on when you open the ID Test window. That's why you may or may not see the warning depending on what you clicked on.

https://github.com/emilk/egui/blob/1f6ae49a5f6bf43a869c215dea0d3028be8d742a/crates/egui_demo_lib/src/demo/tests/id_test.rs#L19-L20

YgorSouza avatar Aug 15 '24 08:08 YgorSouza