Mediaelch: Mac: Rename window is to large

Created on 15 Feb 2021  Â·  4Comments  Â·  Source: Komet/MediaElch

Describe the bug
When I rename files/Folders on the Mac Version, the Rename window is to tall at first launch so the buttons are not visible.
To Reproduce
Steps to reproduce the behavior:

  1. Open mediaelch on a Mac (had this on different Mac OS Versions, but I’m using 11.2.1
  2. Select a Movie/TV-Show/...
  3. Click Rename
  4. The Window opens but the Buttons at the bottom are outside the screen (the window is to tall)
  5. Close the Window
  6. Re-Open the Rename window
  7. Its not the correct size.

Expected behavior
The Rename Window should have the correct height at first launch
Screenshots
The Window
Bildschirmfoto 2021-02-15 um 14 50 49

MediaElch Version:

  • [ ] 2.8.7-dev (nightly)
  • [x] 2.8.6 stable

Operating System:

  • [ ] Windows
  • [x] macOS
  • [ ] Linux (distribution: _._)

Additional context
MacBook Pro, 15“, Late 2013

bug macOS ui

All 4 comments

Oh! Had this issue for years. And now when i want to create a report someone else is doing it the same day :)
Made a mini-video about it. Maybe it helps to make clear what happens
Mediaelch.mkv.zip

Hi,

thanks for reporting. I noticed that as well but never got to fix it.

1228 will fix this bug (see screenshot there). MediaElch will use a scroll-view.

_Technical Background_: The dialog was so large because when the layout was created, _all_ placeholders were visible. After hiding those that are not relevant (e.g. TV show placeholders for renaming a movie), the layout was adjusted but the size was not. I couldn't figure out why. "sizeHint()" seems to use the _initial_ layout hint, i.e. with all placeholders visible. A scrollview is a fine workaround IMHO.

Just want to say: Thank you! Works perfect!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thoroc picture thoroc  Â·  6Comments

badkarmaboy picture badkarmaboy  Â·  6Comments

Donatzsky picture Donatzsky  Â·  6Comments

Extarys picture Extarys  Â·  3Comments

webghost666 picture webghost666  Â·  4Comments