iEvgeny / cctv-viewer

CCTV Viewer - viewer and mounter video streams.
GNU General Public License v3.0
135 stars 19 forks source link

Sidebar not collapsing automatically #69

Open KaKi87 opened 12 months ago

KaKi87 commented 12 months ago

Hi,

When clicking collapse, hovering the sidebar expands it which is expected, but then it never collapses again, requiring to click expand then re-click collapse.

Thanks

iEvgeny commented 12 months ago

Hi! If I understand you correctly, what you are describing is specifically programmed behavior. Expand/Collapse are designed to switch the sidebar to constant width mode.

KaKi87 commented 12 months ago

Well, in that case, the sidebar should not expand on hover.

If it doesn't expand on hover then it doesn't have to collapse on blur but if it expands on hover then it has to collapse on blur.

iEvgeny commented 12 months ago

Obviously we are talking about different things. Please provide a step-by-step howto to reproduce the problem you described.

  1. ...
  2. ...
  3. ...
KaKi87 commented 12 months ago
  1. Open app, sidebar is expanded ;
  2. Click collapse, sidebar collapses ;
  3. Move cursor over sidebar, it expands ;
  4. Move cursor outside sidebar, it doesn't collapse.

Either sidebar shouldn't expand at step 3, or it should collapse at step 4.

Thanks

iEvgeny commented 12 months ago

Check "Automatically collapse sidebar" option in settings