HandBrake icon indicating copy to clipboard operation
HandBrake copied to clipboard

[MacGUI] Reload button doesn't work after job was sent back from queue

Open Nomis101 opened this issue 6 years ago • 7 comments

Description of the problem

Steps:

  1. Open a file in HandBrake and select your standard preset
  2. Modify something, e.g. select Denoise or sharpen filter -> You will see the (Modified) next to the presets name
  3. Click "Add to queue"
  4. Open the new queue window
  5. Now recognize that you (accidentally) modified your preset. So click "Edit" in the new queue Window to send the job back to the Main Window.
  6. Click the "Reload" button to set the preset to the default -> Nothing happens

HandBrake version (e.g., 1.0.0)

Version 20190805100506-4ba75f9-master (2019080601)

Operating system and version (e.g., Ubuntu 18.04 LTS, macOS 10.14 Mojave, Windows 10 1809)

macOS 10.14 Mojave

Nomis101 avatar Aug 07 '19 11:08 Nomis101

Jobs in the queue don't store the original preset.

galad87 avatar Aug 07 '19 11:08 galad87

Would "reload" not load back to whatever is selected regardless of what the queue job used as a preset?

sr55 avatar Aug 07 '19 13:08 sr55

Hm, my assumption how the "reload" button works was, that it "de-modifies" the current selected preset. Doesn't it?

Nomis101 avatar Aug 07 '19 15:08 Nomis101

Yup.

sr55 avatar Aug 07 '19 15:08 sr55

Good. And this doesn't seem to work after putting the job back from the queue. It still does say "(modified)" regardless how often I hit the "Reload" button.

Nomis101 avatar Aug 07 '19 18:08 Nomis101

Tried to replicate the bug Nomis101 reported, using macOS Mojave 10.14.5.

  • I loaded a video and chose my preset.
    • Modified the video dimensions to display the preset as modified for first run.
    • Modified the encoder setting on second run
  • Added each modified version to que separately.
  • Selected the edit job settings from the que list, then selected the reload button.

1st Run

  • The preset did still display as (Modified), but the video dimensions were reset back to the original 1920 x 800.

2nd Run

  • The preset remained (Modified) and also did not return to the original encoder setting.

Work-around

  • Select a different preset.
  • Next, re-select the desired preset.
    • Both the (Modified) tag and the actual presets are reset back to their original state.

Hope this helps.

Great app btw 👍

marxspawn avatar Aug 14 '19 07:08 marxspawn

@galad87 Would this be as simple as storing the identifier of the original starting preset in the queued job, preserving it when editing the job, and reverting to it when Reload is selected?

I suspect we will need to handle the case where Reload is selected but the original starting preset has been removed. Are there other considerations I'm missing?

bradleysepos avatar Sep 27 '19 11:09 bradleysepos