acdh-oeaw / vicav-vue3

Reimplementation of the VICAV Frontend based on Vue.js 3
https://vicav-vue.acdh-ch-dev.oeaw.ac.at
MIT License
0 stars 0 forks source link

BUG: New window appears behind open windows #26

Closed ttechnicus closed 1 year ago

ttechnicus commented 1 year ago

Steps to reproduce:

  1. open a few windows and move each one a little sideways, thus bringing each one into focus once
  2. open a new window

The new window appears behind (under) the existing windows which may cover it. This is because focusing a window increases its z-index, while creating a new window always always tries to assign a z-index of 1000 to the new window, and it succeeds

Expectation: Every new window must have the highest z-index in the window manager (but lower than that of the menu)