Avidemux Forum

Avidemux => MacOSX => Topic started by: GI30065 on October 06, 2019, 02:16:02 pm

Title: Window App Size & Position
Post by: GI30065 on October 06, 2019, 02:16:02 pm
Hi All,

Normally on OSX all applications window settings will be stored automatically, but not for Avidemux.
I really love this program, so I hope somebody can help me out.

Is there any way that the Avidemux program will remember windows size and position after closing an reopening?
Maybe a plist file, or teminal command, or third party application which does this automatically?

Many Thanks  :) for all your help.
Title: Re: Window App Size & Position
Post by: eumagga0x2a on October 06, 2019, 02:29:44 pm
As there is apparently no use in Avidemux application window real estate exceeding the minimal required size, Avidemux automatically shrinks its window as much as possible on every launch.
Title: Re: Window App Size & Position
Post by: GI30065 on October 06, 2019, 02:41:57 pm
Hi eumagga0x2a,

First of all many THANKS for your reply.

I now this, but still I would like to do this for two different reasons.
So my question remains how can I achieve this?
If I would find a solution to only size (without position) I already would be very happy.

Regards.

Title: Re: Window App Size & Position
Post by: eumagga0x2a on October 06, 2019, 03:06:11 pm
You could start with looking into the function initGUI(const vector<IScriptEngine*>& scriptEngines) in avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp (https://github.com/mean00/avidemux2/blob/master/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp), specifically into removing the call to admPreview::setMainDimension(0,0,ZOOM_1_1), but I doubt that you would like the results. Please be aware that Avidemux also doesn't have functionality to save Qt session, so you might need to implement all that yourself.
Title: Re: Window App Size & Position
Post by: GI30065 on October 06, 2019, 03:58:45 pm
BIG THANKS eumagga0x2a,

Looks not easy, BUT I will give it a try!
Anyone with a easier suggestion,...always welcome.

Very Best Regards.