Author Topic: Window App Size & Position  (Read 353 times)

GI30065

  • Newbie
  • *
  • Posts: 3
Window App Size & Position
« 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.
« Last Edit: October 06, 2019, 02:18:37 PM by GI30065 »

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3405
Re: Window App Size & Position
« Reply #1 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.

GI30065

  • Newbie
  • *
  • Posts: 3
Re: Window App Size & Position
« Reply #2 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.


eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3405
Re: Window App Size & Position
« Reply #3 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, 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.

GI30065

  • Newbie
  • *
  • Posts: 3
Re: Window App Size & Position
« Reply #4 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.