[Kdenlive-devel] Start maximized by default

Dan Dennedy dan at dennedy.org
Fri Apr 2 16:53:40 UTC 2010


On Fri, Apr 2, 2010 at 5:39 AM, John T. Mertz <thatonefilmguy at gmail.com> wrote:
> Hi dan,
>
> Maybe you can help me. I tried fixing this by simply changing:
>   window->show();
> In main.cpp to:
>   window->showMaximized();
>
> But then every time it opens it is maximized by default.

Sorry, I do not work much with Qt, KDE, or Kdenlive. I stick mainly to MLT.

> I did some more research and found that "if(app.isSessionRestored())"
> never passes as true, so win->restore() is never called.
>
> Shouldn't this return true if kdenlive was previously opened and
> restore the previous window state? I'm not an expert at this, just
> learning as I go along so I'm not sure. I assume  When is this if()
> supposed to pass as true?
>
> Am I incorrect to assume that this is for restoring the window state
> after it's been opened before? This is the impression I got from the
> KMainWindow documentation. If not, then how do I manage that so it
> will open maximized the first time and then restore the prior state
> thereafter?
>
> Thanks,
> -JTM
>
> On 4/1/10, Dan Dennedy <dan at dennedy.org> wrote:
>> I think you made a valid argument. I think Blender might be defaulting
>> to maximized or an equivalent.
>>
>> On Thu, Apr 1, 2010 at 11:23 AM, John T. Mertz <thatonefilmguy at gmail.com>
>> wrote:
>>> Sorry, it will start 'maximized', not 'full'
>>>
>>> I think the opposite, that it is quite annoying that a video editing
>>> app, which requires as much screen estate as possible, does not start
>>> maximized (on first start). Or at least large enough to be usable at
>>> startup.  There are a lot of apps that start maximized if it fits the
>>> application. Kdenlive is not a simple audio or video player
>>> application that only requires a small amount of space, or any other
>>> similar app that requires a very limited amount of screen space to be
>>> usable.
>>>
>>> IMO there should at least be a set start size for the application that
>>> gives the different widgets ample room to be viewed (unless the screen
>>> size is smaller than the optimal defaults) it doesn't appear that this
>>> is the case, since afaik kdenlive just calls show() to display the
>>> main window but doesn't set the size.
>>>
>>> On 4/1/10, Dan Dennedy <dan at dennedy.org> wrote:
>>>> On Thu, Apr 1, 2010 at 11:05 AM, John T. Mertz <thatonefilmguy at gmail.com>
>>>> wrote:
>>>>> Is there a reason kdenlive does not start maximized by default?
>>>>
>>>> because it may be considered rude. How many applications you know
>>>> start maximized? The size is sticky between sessions as it should be.
>>>> good enough and as it should be IMO
>>>>
>>>>> I saw the notes about showMaximized() not working 100% correctly in
>>>>> all window managers in X11, but if it works for most, it seems better
>>>>> to default to full screen than not.
>>>>>
>>>>> Currently if I delete my settings file then open kdenlive with default
>>>>> settings, after going through the wizard kdenlive opens at
>>>>> approximately 25% of my full screen resolution. And I don't have a
>>>>> huge screen size either.
>>>>>
>>>>> Using showMaximized instead opens it full screen.
>>>>
>>>> full or maximized?
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Download Intel® Parallel Studio Eval
>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>> proactively, and fine-tune applications for parallel performance.
>>>> See why Intel Parallel Studio got high marks during beta.
>>>> http://p.sf.net/sfu/intel-sw-dev
>>>> _______________________________________________
>>>> Kdenlive-devel mailing list
>>>> Kdenlive-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>>>>
>>>
>>> --
>>> Sent from my mobile device
>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> Kdenlive-devel mailing list
>>> Kdenlive-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>>>
>>
>>
>>
>> --
>> +-DRD-+
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Kdenlive-devel mailing list
>> Kdenlive-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>>
>
> --
> Sent from my mobile device
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Kdenlive-devel mailing list
> Kdenlive-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>



-- 
+-DRD-+




More information about the Kdenlive mailing list