JLBlk / Zen-Themes

Themes/Mods for @zen-browser
https://zen-browser.app/themes
36 stars 0 forks source link

[Bug] Hidden Buttons are still Clickable #34

Open YouCanTouCan opened 1 day ago

YouCanTouCan commented 1 day ago

Affected Theme

Affected Theme Settings

Zen Version: 1.0.1-a.9 (64-bit) (flatpak)

System OS: Aurora (an edited image of Fedora Kionite)

Describe the bug When icons are hidden, they are visually gone but are still clickable. This can even lead to having an invisible button on top of a visible button, blocking the visible button from being clickable.

To Reproduce Steps to reproduce the behavior:

  1. Go to the zen mod settings
  2. Hide the shield icon and the bookmark icon (as these are the easiest ones to test with)
  3. Go onto any website
  4. Click on the far right side of the url bar, where the shield icon would be if it was visible. Note the shield icon window appearing.
  5. Ctrl + Left Click on any two tabs to select both
  6. Right Click on one of the tabs selected
  7. Select "Split Two Tabs" to enable split tabs. The split tabs button will now appear on the far right of the URL Bar
  8. Click the split tabs button in the URL Bar. Note that instead of the split tabs window appearing, the bookmark window does.

Expected behavior Buttons within the URL Bar should only be clickable when they are visible - enabling the option to hide them should make them completely unusable, not just invisible.

Screenshots/Videos image image

Additional context I tried these steps in a new zen browser profile with no other mods or css active, and still achieved the results listed.

YouCanTouCan commented 1 day ago

I just realized this appears to be the same as #28. My apologies, feel free to close this if you deem it correct to do so. Hopefully this additional context about the issue helps.

JLBlk commented 22 hours ago

Yeah, seems like they're similar. But i honestly can't reproduce the other one (i can't make the star visually appear). This one however i can reproduce. Thanks a lot for the detailed report! I'll have a look into it when i have the time