Bug 356407 - Custom Kdenlive install (DCMAKE_INSTALL_PREFIX): "View" menu can't show/hide tabs
Summary: Custom Kdenlive install (DCMAKE_INSTALL_PREFIX): "View" menu can't show/hide ...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-09 03:07 UTC by qubodup
Modified: 2015-12-25 11:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of only the timeline with view menu open (42.88 KB, image/png)
2015-12-09 03:07 UTC, qubodup
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qubodup 2015-12-09 03:07:28 UTC
catalyst-libgl 15.11-1
ffmpeg 1:2.8.3-1
ffmpeg-compat 1:0.10.16-4
libx264 2:148.20150725-1
mlt-git r4142.v0.9.2.364.g6e58af2-1
mlt-python-bindings 0.9.8-3
qt5-base 5.5.1-3
x264 2:148.20150725-1
xorg-server 1.16.4-1
v15.11.90-42-g4cc50c9
* Applications/15.12
  master

The "View" menu doesn't have the tabs for showing/hiding any more. This means that if you close all except timeline (which can't be hidden) but also has no header, which you could rightclick to add other tabs), you're stuck with only the timeline, unless you edit or remove the kdenliverc
Comment 1 qubodup 2015-12-09 03:07:52 UTC
Created attachment 95942 [details]
screenshot of only the timeline with view menu open
Comment 2 Jean-Baptiste Mardelle 2015-12-09 08:00:13 UTC
Did you install Kdenlive or are you running it from a custom folder without installing ?
I see that you also have missing icons (the "kdenlive" icon on video tracks should be a checkerboard icon).

In KDE apps, the menus are defined from an xml file called kdenliveui.rc that file must be installed in a location that can be found at runtime, and I guess it does not find it correctly.

Did you compile by yourself ?
Comment 3 qubodup 2015-12-09 15:04:10 UTC
Yes, that's right.

I made a compile script for the 15.12 branch (I also have one for master) and the system-installed version is the arch Linux package.

cd ~/src/git/kdenlivebranch/ && git pull && cd build/ && cmake .. -DCMAKE_INSTALL_PREFIX=/home/qubodup/src/klgitbranchbin  && make -j 7 && make install

The latest output was http://codepad.org/kS0NfED6

I think we discussed in some other ticket (about icons) that this might be the cause of icon problems.

I don't really understand what can be done...

`cmake -LAH` didn't show me an option that seems like an obvious solution to be used.

https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html seems to indicate that DCMAKE_INSTALL_PREFIX should cover all cases although I guess the problems indicate that it does not.

Inkscape seems to have had a similar issue https://bugs.launchpad.net/inkscape/+bug/1516238 . The solution seems simple but on cpp file-level, and I'm vastly inexperienced with both c programming and the kdenlive codebase.

I'll rename the ticket to make it valid (but now it's more of a feature request, avoiding graphical inconsistencies for non-standard installations is nice but not critical or anything.
Comment 4 qubodup 2015-12-25 11:24:12 UTC
This has been resolved as of https://quickgit.kde.org/?p=kdenlive.git&a=commit&h=8904948c2e170e382df0cd85710187dd0a8cdbe5

There appear to be related issues:
1. Wrong icons used
2. If breeze is installed system-wide, switching theme can cause crash

but i'll report separate tickets once I can properly describe them.