Bug 343322 - Workspace layout is not remembered / saved to project KF5
Summary: Workspace layout is not remembered / saved to project KF5
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 351723 359415 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-26 11:57 UTC by Paul Konecny
Modified: 2016-10-28 03:15 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
layout.webm (1.43 MB, video/webm)
2015-03-09 08:26 UTC, Paul Konecny
Details
kdenlive-rc diff (3.65 KB, text/plain)
2015-03-10 10:17 UTC, Paul Konecny
Details
Layout change with 15.12.0-f9c12b9 screen cast (3.30 MB, video/webm)
2015-12-11 13:59 UTC, Paul Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Konecny 2015-01-26 11:57:10 UTC
I just noticed, that contrary to kdenlive on Qt4 my worspace layout (position of the timeline within the main window, size of the clip monitor, etc.)

Reproducible: Always

Steps to Reproduce:
1. Open KF5 port
2. Rearrange UI to personal preference.
3. Save Project
4. Close KF5 Port
5. Repeat

Actual Results:  
The KF5 Port always starts with it's default layout

Expected Results:  
The KF5 Port should remember the UI customizations
Comment 1 Paul Konecny 2015-01-26 11:59:32 UTC
Whoops forgot the Version:

0.9.99 (rev. v0.9.10-250-g004a668)

Btw. This time I filed the bug via the integrated reporter, but the version info did not get included.
Comment 2 Jean-Baptiste Mardelle 2015-03-07 14:40:06 UTC
I cannot reproduce, can you try with current git?
Comment 3 Paul Konecny 2015-03-09 08:24:50 UTC
I just tested the new master branch Version 15.03.80 (rev. v15.03.80-5-g7be54b6)
I recorded a screen cast showing what I mean --> layout.webm
I open kdenlive and a project and costomise the layout (slide the timeline to the bottom, enlarge the monitor)
Then i close it and open it again and the layout is back to default. Maybe I'm wrong but I believe 0.9.10 remembered the layout.
Comment 4 Paul Konecny 2015-03-09 08:26:12 UTC
Created attachment 91501 [details]
layout.webm

Video showing the layout not being remembered.
Comment 5 Jean-Baptiste Mardelle 2015-03-09 22:52:05 UTC
Strange, I cannot reproduce the problem. To be correct, the layout is not saved inside the project file, but inside Kdenlive's settings file, and it is saved everytime Kdenlive is closed.

This works correctly for me. There was at some point a bug in Qt / KXMLGUI (https://bugs.kde.org/show_bug.cgi?id=337353) that triggered this problem (window size not remembered on all KF5 applications). Can you check for example if Dolphin (KDE's file manager that has a KF5 version) remembers its window size ?

Please also let me know the versions of your kxmlgui package (on ubuntu it is called libkf5xmlgui5), and which Qt version you have, thanks.
Comment 6 Paul Konecny 2015-03-10 09:29:03 UTC
Hello JB, 
Dolphin is still at Version Version 14.11.97 under KDE 4.14.5 so I guess still KDE4 in the Arch repos. 
According to Pacman kxmlgui 5.7.0-1 is installed 
I'll try a git version of dolphin from AUR and report back.
Comment 7 Paul Konecny 2015-03-10 09:33:46 UTC
Hello JB, 
the AUR Version would rip out half of my Desktop so I have to wait when I get back to my testing system as I don't want to mess up my Uni Notebook. 
I'll report back as soon as I can.
Comment 8 Paul Konecny 2015-03-10 10:17:35 UTC
Created attachment 91519 [details]
kdenlive-rc diff

Hello JB, 
your comment about the config file got me thinking so I diff'ed ~/.config/kdenliverc (hope that's the right one) file before changing the UI and after and something did change but I don't know what exactly at least it did in the MainWindow and ProjectTree Sections but the visible UI stays the same.
Comment 9 farid 2015-05-07 01:46:50 UTC
i confirm this issue.
Comment 10 Michał 2015-05-30 16:00:29 UTC
It happens for me as well since I upgraded my kdenlive recently to 15.04.1.
Comment 11 Peter 2015-06-13 13:13:00 UTC
Seeing same issue on kdenlive 15.04.1 from Kubuntu backports.

A workaround is to use the save and load layout from the view menu, which works fine.
Comment 12 Peter 2015-08-29 14:25:44 UTC
Also seeing this issue in openSUSE Tumbleweed, kdenlive-15.08 and in Manjaro, kdenlive-15.04
Comment 13 Wegwerf 2015-09-09 18:01:35 UTC
Also seeing this issue right from Kdenlive 15.04.1 up to currently 4:15.08.0+git20150908.0238+15.04-0 on Kubuntu 15.04 with CI ppa.
Comment 14 Paul Konecny 2015-10-05 08:23:11 UTC
Hi J-B, 
this still persists in the master branch. 
Any chance we could tackle this issue for the 15.12 release?
Thanks and regards, 
Paul
Comment 15 Wegwerf 2015-10-06 14:25:58 UTC
Can again confirm this issue for a completely fresh install of Kubuntu 15.04 with Kdenlive compiled from "nightly" git master sources. This installation never saw a stock 15.04 Kdenlive. Saving a new layout in Kdenlive, ending Kdenlive, and restarting Kdenlive will result in the layout not properly getting restored.
Comment 16 Peter 2015-11-11 13:35:49 UTC
Still present in just out o' packman kdenlive-15.08.3-1.1 for Tumbleweed.
Comment 17 Wegwerf 2015-11-15 13:28:40 UTC
Also still present in Applications/15.12.0. However, sometime Kdenlive remembers a newly saved setup. However, this happens only in rare circumstances which are yet unclear to me.
Comment 18 Paul Konecny 2015-12-09 19:50:47 UTC
@wegwerf
Okay, so I'm not the only one. 

On my desktop the layout is remembered now. However on my laptop it still isn't.
Both are using the 2ffb44a snapshot of the 15.12 branch. 
Up to date Arch on both machines. 
The Desktop has movit enabled (AMD HD7970; mesa 11) the laptop doesn't (Intel HD4400; crashes everytime I try to resize the monitor with movit)
Any ideas?
Comment 19 Wegwerf 2015-12-09 21:06:53 UTC
I've noticed that Kdenlive remembers the layout when Kdenlive's window isn't maximized. You may very well resize it to use all space, but don't maximize it from the window manager perspective. Now rearrange and resize Kdenlive's views. Save. Exit. Restart should now restore this view setup correctly. Even when you are now officially maximizing Kdenlive's window. I tripped on this by accident and can at least reproduce it on my installation.
Comment 20 Paul Konecny 2015-12-10 12:45:44 UTC
@ wegwerf 
I can reproduce it exactly as you said. Unfortunately by resizing the window I blew my beautiful setup to pieces ;(

@ J-B
Any chance a fix will make it into the 15.12 series? Or is there anything more we can do to help you investigate?

Cheers!
Comment 21 Unknown 2015-12-10 21:53:51 UTC
I had the same issue with past releases. However, testing Kdenlive 15.11.90+49 from Vincent Pinon's new ppa for Wily, this issue was resolved for me. Whether working on a project, or simply changing the layout and closing, Kdenlive now opens up to the exact same layout I'd made before, size, position and all.

Tested on Ubuntu GNOME 15.10 x64 w/ GNOME 3.16
Comment 22 farid 2015-12-11 07:30:37 UTC
i am using 15.11.90 and also confirm that this is solved.
Comment 23 Paul Konecny 2015-12-11 13:59:36 UTC
Created attachment 95995 [details]
Layout change with 15.12.0-f9c12b9 screen cast

Yes and no.
I can confirm the strange behaviour wegwerf described. 
I'm on 15.12.0 which will probably become the final release (git pull 5 minutes ago). 
I can also confirm that when you resize the UI components while not maximized the layout is indeed remembered. Maximising afterwards seems to also remember the layout. 
It seems you have to adjust the layout before maximising else it won't be remembered. 
You can see everything in the screen cast I made. 
Cheers!
Comment 24 Unknown 2015-12-12 17:08:51 UTC
Running Unity 7.3.2 in 15.10, I can confirm this issue does happen. Doesn't seem to happen in Gnome 3.16, however. :/
Comment 25 farid 2015-12-12 18:51:20 UTC
I am using 15.12 and it seems to be fixed... using gnome 3.18 in archlinux.
Comment 26 Unknown 2016-03-28 20:22:49 UTC
Same in my case. Kdenlive remember layout only if window is not maximized.
Ubuntu 16.04 BETA 2
Kdenlive 15.12.1
Comment 27 Hendric Stattmann 2016-04-25 15:13:49 UTC
I can confirm the bug as described in comment nr. 19 by wegferf. I am using kdenlive 16.04.0, KDE frameworks 5.21.0, QT 5.5.1, all on OpenSUSE Tumbleweed x_64.

I hope this can be fixed soon!
Comment 28 Hendric Stattmann 2016-05-24 19:16:09 UTC
Just gave it a try with kdenlive-16.04.1-1.4.x86_64 (Packman package on OpenSUSE Tumbleweed). Seems to work fine now!

Kind regards,
Hendric
Comment 29 farid 2016-09-30 17:53:45 UTC
*** Bug 351723 has been marked as a duplicate of this bug. ***
Comment 30 Wegwerf 2016-09-30 19:41:39 UTC
This is ugly: there are several similar issues reported by other developers for other Qt/KDE applications. And everyone tries to fix it in a different way.

One interesting report here: https://bugreports.qt.io/browse/QTBUG-48315
Comment 31 S. Christian Collins 2016-10-18 05:38:27 UTC
Just confirming that this bug still happens in kdenlive 16.08.2, which I am running on KDE Neon with Plasma 5.8.1, KDE Frameworks 5.27.0, and Qt 5.7.0.
Comment 32 oluja 2016-10-22 09:06:26 UTC
I have the same issue with ubuntu 16.04.1 LTS on three machines. Find a workaround to solve this and posted it in the forum. Also made a video. Please see: https://forum.kde.org/viewtopic.php?f=269&t=136816
Comment 33 Wegwerf 2016-10-27 20:28:55 UTC
THIS REPORT IS CLOSED AS WONTFIX; DO NOT REOPEN IT, AND DON'T ADD ME-TOO NOTES.

Some extensive googling shows that this is a general issue with Qt. I could find no real fix for this, as there are conflicting fixes proposed.

I'm now closing this report as we can't fix this issueon a reliable basis.

There is no need to reopen this bug report. If you have provable code fixing this issue without causing nasty side effects, and you have thoroughly tested your fix, please contact the developers through thr mailing list.
Comment 34 farid 2016-10-28 03:15:09 UTC
*** Bug 359415 has been marked as a duplicate of this bug. ***