zoneminder icon indicating copy to clipboard operation
zoneminder copied to clipboard

Monitor config option "Default Scale" does not work with "Scale to fit"

Open darktim opened this issue 6 years ago • 2 comments

  • Version of ZoneMinder: v1.32.3, installed from http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu on Ubuntu/Disco

Describe the bug I want to use the option "Scale to fit" when configuring a monitor in the misc-panel Choosing "Scale to fit" does not change anything. If previous value was "3/4" it stays like that. (Same for other choices)

To Reproduce Steps to reproduce the behavior:

  1. Go to the config options for a monitor
  2. Click on 'Misc"
  3. Change "Default Scale" to 'Scale to fit'
  4. Save
  5. Reload to see that the value did not change

Expected behavior I expect to have "Scale to fit" saved.

**Possible fix: alter table Monitors MODIFY DefaultScale VARCHAR(5) NOT NULL DEFAULT 100;

After that the database can store "auto" as value which corresponds to "Scale to fit"

darktim avatar Jan 15 '20 18:01 darktim

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

welcome[bot] avatar Jan 15 '20 18:01 welcome[bot]

Already fixed in master.

connortechnology avatar Jan 15 '20 19:01 connortechnology