Missing menu items after update to 5.2

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Missing menu items after update to 5.2

Gilles Caulier-4
Well, if you mix different versions at different places on your computer, there is a risk to introduce dysfuctions of course.

Why digiKam is not only installed only in /opt/kf5, where whole KDE sound like installed ?

Gilles Caulier


2016-10-17 22:53 GMT+02:00 Jan Wolter <[hidden email]>:
Does anyone has a hint how to solve my problem?

Mounth ago I compiled dk and installed it to /opt/kf5.
Yesterday I installed dk to /opt/digikam.

But instead of using the data (e.g. splash screen, colorschemes, dbConfig) from /opt/digikam/share/digikam the data from the old installation is used: /opt/kf5/share/digikam:
digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

What dependency is responsible for that? How can I use the data from the new installation?

Best regards,
Jan



On 10/16/2016 07:42 PM, Jan Wolter wrote:
I just tested to install dk to /opt/digikam using DIGIKAM_INSTALL_PREFIX. But even in this case, the references from the old installation place are used:
/opt/digikam/bin $ ./digikam
digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

Furthermore, the splash screen from v5.1 with the wolf (from /opt/kf5/share/digikam/data) instead of the mountain splash screen (which is correctly located in /opt/digikam/share/digikam/data) from v5.3 is taken.


On 10/16/2016 06:35 PM, Jan Wolter wrote:
Hello Gilles,

the appImage version works as expected, even when I call it from panel launcher. I noticed that this version has more icons (e.g. in the left-hand panel) than my compiled version. And the icons have another style.

Hence, there seems to be a problem with my compiled version.
I compiled dk v5 some month ago (but never used it). I searched in my backups and found that I compiled dk before today on 26th July where dk was installed to /opt/kf5.

Today, I just
  1. updated all git repositories,
  2. deleted old build folder,
  3. called bootstrap.linux
  4. switched to newly generated build folder
  5. called make (without errors)
  6. called sudo make install
Afterwards dk was installed to / instead of /opt/kf5. Before, I used exactly the same approach to compile dk (e.g. without giving a DIGIKAM_INSTALL_PREFIX).
To see the differences compare the following files:
https://dl.dropboxusercontent.com/u/91057768/install_manifest_2016-07-26.txt
https://dl.dropboxusercontent.com/u/91057768/install_manifest_2016-10-16.txt

So, I have two questions:
  1. Why changed the installation place?
  2. Could this be a reason for my problems?
    When I call dk from the new installation place, there are some references to the old installation place:
    /bin $ ./digikam
    digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
    digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

Best regards,
Jan

On 10/16/2016 05:41 PM, Gilles Caulier wrote:
AppImage is a bundle container for Linux.

download the file and just run it. It start digiKam without to install it on your computer.

More information here :


Gilles Caulier

2016-10-16 17:36 GMT+02:00 Jan Wolter <[hidden email]>:
Hello Gilles,

I started from a fresh account. My productive photo library is located on another PC with digikam 4.14. On this PC I have compiled dk v5, but never used or tested it before. Today, I created a photo library for test purposes and initially configured digikam. After that, I get the problem described in my last mail.

Btw: What is AppImage and what does it have to do with my problem?

Best regards,
Jan


On 10/16/2016 05:22 PM, Gilles Caulier wrote:
If you start from a fresh account, can you reproduce the problem ? 

Typically, i would to be sure that problem is not located in configuration file backported from digiKam 4.x.

Note : i just finalize AppImage bundle for digiKam. It's not yet complete, as for ex, the autodecetion of camera do not work yet, but as i can see 90% of application is suitable.

Please do not use yet in production. Use a dedicated account for testing purpose.


Gilles Caulier

2016-10-16 17:11 GMT+02:00 Jan Wolter <[hidden email]>:
Hello,

I compiled the actual digikam version from git on my Linux Mint 17.3 (based on Ubuntu 14.04) and have a similar problem.

When I start digikam from terminal I see the splash screen and afterwards the digikam window as expected:
https://dl.dropboxusercontent.com/u/91057768/digikam-window-ok.png
(Btw: I have actual dk v5.3 installed but it appears splash screen from version 5.1 instead of actual splash screen -> https://www.digikam.org/splashcreens. Does anyone know, why?)

But when I create a panel launcher that just calls /bin/digikam, I see no splash screen but instead a small window with following text: "Loading tools.5.3.0":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-loading-tools.png
When digikam has started the menu bar seems to be broken, as there are only two entries "Settings" and "Help":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-not-ok.png

Can anyone help?

Best regards,
Jan



On 09/29/2016 07:20 PM, Erick Moreno wrote:
Thank you very much, Gilles.

Worked perfectly :)



On Thu, Sep 29, 2016 at 2:03 PM, Gilles Caulier <[hidden email]> wrote:
The menu entries missing in Image Editor are older editor plugins.

With 5.2.0, all editor plugins have been transformed as pure tool loaded at the same time than editor. There are not loaded at runtime as classic plugin.

The menu option are now hardcoded in editor code.

I suspect that your menu description file based on XML has a problem.

Do you have file ~/.local/share/kxmlgui5/digikam/digikamimagewindowui.rc ? If yes, rename it and try again.

Gilles Caulier

2016-09-29 18:11 GMT+02:00 Erick Moreno <[hidden email]>:


At 15s I'm trying to show the menus and they are empty. This is the problem.

At 36s I open Showphoto using "Open with" menu, and all the menus are there. I put this on the video to show the difference.



On Thu, Sep 29, 2016 at 1:06 PM, Gilles Caulier <[hidden email]> wrote:
Sorry, but where is the dysfunction exactly in your video ?

Gilles Caulier

2016-09-29 17:52 GMT+02:00 Erick Moreno <[hidden email]>:
I made a small video. Here: https://goo.gl/photos/dRpysvtk8MhuFLAa8

Also noted some other thing. The default keyboard shortcuts to the tools that are under the missing menus are working.

My custom keyboard shortcuts apparently was lost after the upgrade. Thats why I said before that the shortcuts was not working.

On Thu, Sep 29, 2016 at 11:32 AM, Gilles Caulier <[hidden email]> wrote:
Can you take a screenshot of the dysfunction an share it through the cloud...

Gilles Caulier

2016-09-29 16:11 GMT+02:00 Erick Moreno <[hidden email]>:
2 clicks on the image or pressing F4 on the keyboard.

If I right click on the image and open with showfoto, even inside the digikam, it works well too.



On Wed, Sep 28, 2016 at 7:26 PM, Philip Johnsson <[hidden email]> wrote:
How do you open showfoto 5 when it doesn't work with the menus?

/Philip

On Wed, Sep 28, 2016 at 11:20 PM, Erick Moreno <[hidden email]> wrote:
I made some other tests and find out an interesting thing.

If I open showfoto5 directly from command line (without edit command from digikam) it works correctly, the menus are there. I can open an image and edit it without problems. The same if I right click on an image and choose open with Showfoto5. 

That does not make sense to me.


On Wed, Sep 28, 2016 at 3:17 PM, Erick Moreno <[hidden email]> wrote:
No Philip,

The menus are clickable but they are empty, they simply don't have any option, not greyed out.

To some of these features I know the keyboard shortcuts, and these shortcuts are not working neider.

Thanks in advance.



On Wed, Sep 28, 2016 at 11:21 AM, Philip Johnsson <[hidden email]> wrote:
Hi

You should have functions in those menus in showfoto 5.2 but they are greyed out if you have no image shown in showfoto. These menus should have about the same content of feature that you should find in digikam 5.2. Do you see the functions there (in digikam 5.2) in those menus?

/Philip


On Wed, Sep 28, 2016 at 2:12 PM, Erick Moreno <[hidden email]> wrote:
Hi all.

I'm a happy Digikam and Philip's PPA user from a long time now. Yesterday I upgraded from Digikam 5.1 to 5.2 and everything seemed to work well, as always.

But, today I noticed that showfoto is not showing the content of the  menus: Color, Improve, Decorate and Effects (I'm translating from portuguese).

Also, I'm getting this message at the terminal:

void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action

Is this a bug or I did something wrong?

Thank you guys
--




--



--




--




--




--




--




Reply | Threaded
Open this post in threaded view
|

Re: Missing menu items after update to 5.2

Jan Wolter-3
Hello Gilles,

you are completely right, now I installed actual dk to /opt/kf5 and get the actual splash screen.

But one problem is still present: When I create a panel launcher that just calls /bin/digikam, I see no splash screen but instead a small window with following text: "Loading tools.5.3.0":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-loading-tools.png
When digikam has started the menu bar seems to be broken, as there are only two entries "Settings" and "Help":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-not-ok.png


Best regards,
Jan


On 10/18/2016 06:25 AM, Gilles Caulier wrote:
Well, if you mix different versions at different places on your computer, there is a risk to introduce dysfuctions of course.

Why digiKam is not only installed only in /opt/kf5, where whole KDE sound like installed ?

Gilles Caulier


2016-10-17 22:53 GMT+02:00 Jan Wolter <[hidden email]>:
Does anyone has a hint how to solve my problem?

Mounth ago I compiled dk and installed it to /opt/kf5.
Yesterday I installed dk to /opt/digikam.

But instead of using the data (e.g. splash screen, colorschemes, dbConfig) from /opt/digikam/share/digikam the data from the old installation is used: /opt/kf5/share/digikam:
digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

What dependency is responsible for that? How can I use the data from the new installation?

Best regards,
Jan



On 10/16/2016 07:42 PM, Jan Wolter wrote:
I just tested to install dk to /opt/digikam using DIGIKAM_INSTALL_PREFIX. But even in this case, the references from the old installation place are used:
/opt/digikam/bin $ ./digikam
digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

Furthermore, the splash screen from v5.1 with the wolf (from /opt/kf5/share/digikam/data) instead of the mountain splash screen (which is correctly located in /opt/digikam/share/digikam/data) from v5.3 is taken.


On 10/16/2016 06:35 PM, Jan Wolter wrote:
Hello Gilles,

the appImage version works as expected, even when I call it from panel launcher. I noticed that this version has more icons (e.g. in the left-hand panel) than my compiled version. And the icons have another style.

Hence, there seems to be a problem with my compiled version.
I compiled dk v5 some month ago (but never used it). I searched in my backups and found that I compiled dk before today on 26th July where dk was installed to /opt/kf5.

Today, I just
  1. updated all git repositories,
  2. deleted old build folder,
  3. called bootstrap.linux
  4. switched to newly generated build folder
  5. called make (without errors)
  6. called sudo make install
Afterwards dk was installed to / instead of /opt/kf5. Before, I used exactly the same approach to compile dk (e.g. without giving a DIGIKAM_INSTALL_PREFIX).
To see the differences compare the following files:
https://dl.dropboxusercontent.com/u/91057768/install_manifest_2016-07-26.txt
https://dl.dropboxusercontent.com/u/91057768/install_manifest_2016-10-16.txt

So, I have two questions:
  1. Why changed the installation place?
  2. Could this be a reason for my problems?
    When I call dk from the new installation place, there are some references to the old installation place:
    /bin $ ./digikam
    digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
    digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

Best regards,
Jan

On 10/16/2016 05:41 PM, Gilles Caulier wrote:
AppImage is a bundle container for Linux.

download the file and just run it. It start digiKam without to install it on your computer.

More information here :


Gilles Caulier

2016-10-16 17:36 GMT+02:00 Jan Wolter <[hidden email]>:
Hello Gilles,

I started from a fresh account. My productive photo library is located on another PC with digikam 4.14. On this PC I have compiled dk v5, but never used or tested it before. Today, I created a photo library for test purposes and initially configured digikam. After that, I get the problem described in my last mail.

Btw: What is AppImage and what does it have to do with my problem?

Best regards,
Jan


On 10/16/2016 05:22 PM, Gilles Caulier wrote:
If you start from a fresh account, can you reproduce the problem ? 

Typically, i would to be sure that problem is not located in configuration file backported from digiKam 4.x.

Note : i just finalize AppImage bundle for digiKam. It's not yet complete, as for ex, the autodecetion of camera do not work yet, but as i can see 90% of application is suitable.

Please do not use yet in production. Use a dedicated account for testing purpose.


Gilles Caulier

2016-10-16 17:11 GMT+02:00 Jan Wolter <[hidden email]>:
Hello,

I compiled the actual digikam version from git on my Linux Mint 17.3 (based on Ubuntu 14.04) and have a similar problem.

When I start digikam from terminal I see the splash screen and afterwards the digikam window as expected:
https://dl.dropboxusercontent.com/u/91057768/digikam-window-ok.png
(Btw: I have actual dk v5.3 installed but it appears splash screen from version 5.1 instead of actual splash screen -> https://www.digikam.org/splashcreens. Does anyone know, why?)

But when I create a panel launcher that just calls /bin/digikam, I see no splash screen but instead a small window with following text: "Loading tools.5.3.0":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-loading-tools.png
When digikam has started the menu bar seems to be broken, as there are only two entries "Settings" and "Help":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-not-ok.png

Can anyone help?

Best regards,
Jan



On 09/29/2016 07:20 PM, Erick Moreno wrote:
Thank you very much, Gilles.

Worked perfectly :)



On Thu, Sep 29, 2016 at 2:03 PM, Gilles Caulier <[hidden email]> wrote:
The menu entries missing in Image Editor are older editor plugins.

With 5.2.0, all editor plugins have been transformed as pure tool loaded at the same time than editor. There are not loaded at runtime as classic plugin.

The menu option are now hardcoded in editor code.

I suspect that your menu description file based on XML has a problem.

Do you have file ~/.local/share/kxmlgui5/digikam/digikamimagewindowui.rc ? If yes, rename it and try again.

Gilles Caulier

Reply | Threaded
Open this post in threaded view
|

Re: Missing menu items after update to 5.2

Jan Wolter-3
In reply to this post by Gilles Caulier-4
Hello Gilles,

you are completely right, now I installed actual dk to /opt/kf5 and get the actual splash screen.

But one problem is still present: When I create a panel launcher that just calls /bin/digikam, I see no splash screen but instead a small window with following text: "Loading tools.5.3.0":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-loading-tools.png
When digikam has started the menu bar seems to be broken, as there are only two entries "Settings" and "Help":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-not-ok.png


Best regards,
Jan

On 10/18/2016 06:25 AM, Gilles Caulier wrote:
Well, if you mix different versions at different places on your computer, there is a risk to introduce dysfuctions of course.

Why digiKam is not only installed only in /opt/kf5, where whole KDE sound like installed ?

Gilles Caulier


2016-10-17 22:53 GMT+02:00 Jan Wolter <[hidden email]>:
Does anyone has a hint how to solve my problem?

Mounth ago I compiled dk and installed it to /opt/kf5.
Yesterday I installed dk to /opt/digikam.

But instead of using the data (e.g. splash screen, colorschemes, dbConfig) from /opt/digikam/share/digikam the data from the old installation is used: /opt/kf5/share/digikam:
digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

What dependency is responsible for that? How can I use the data from the new installation?

Best regards,
Jan



On 10/16/2016 07:42 PM, Jan Wolter wrote:
I just tested to install dk to /opt/digikam using DIGIKAM_INSTALL_PREFIX. But even in this case, the references from the old installation place are used:
/opt/digikam/bin $ ./digikam
digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

Furthermore, the splash screen from v5.1 with the wolf (from /opt/kf5/share/digikam/data) instead of the mountain splash screen (which is correctly located in /opt/digikam/share/digikam/data) from v5.3 is taken.


On 10/16/2016 06:35 PM, Jan Wolter wrote:
Hello Gilles,

the appImage version works as expected, even when I call it from panel launcher. I noticed that this version has more icons (e.g. in the left-hand panel) than my compiled version. And the icons have another style.

Hence, there seems to be a problem with my compiled version.
I compiled dk v5 some month ago (but never used it). I searched in my backups and found that I compiled dk before today on 26th July where dk was installed to /opt/kf5.

Today, I just
  1. updated all git repositories,
  2. deleted old build folder,
  3. called bootstrap.linux
  4. switched to newly generated build folder
  5. called make (without errors)
  6. called sudo make install
Afterwards dk was installed to / instead of /opt/kf5. Before, I used exactly the same approach to compile dk (e.g. without giving a DIGIKAM_INSTALL_PREFIX).
To see the differences compare the following files:
https://dl.dropboxusercontent.com/u/91057768/install_manifest_2016-07-26.txt
https://dl.dropboxusercontent.com/u/91057768/install_manifest_2016-10-16.txt

So, I have two questions:
  1. Why changed the installation place?
  2. Could this be a reason for my problems?
    When I call dk from the new installation place, there are some references to the old installation place:
    /bin $ ./digikam
    digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
    digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

Best regards,
Jan

On 10/16/2016 05:41 PM, Gilles Caulier wrote:
AppImage is a bundle container for Linux.

download the file and just run it. It start digiKam without to install it on your computer.

More information here :


Gilles Caulier

2016-10-16 17:36 GMT+02:00 Jan Wolter <[hidden email]>:
Hello Gilles,

I started from a fresh account. My productive photo library is located on another PC with digikam 4.14. On this PC I have compiled dk v5, but never used or tested it before. Today, I created a photo library for test purposes and initially configured digikam. After that, I get the problem described in my last mail.

Btw: What is AppImage and what does it have to do with my problem?

Best regards,
Jan


On 10/16/2016 05:22 PM, Gilles Caulier wrote:
If you start from a fresh account, can you reproduce the problem ? 

Typically, i would to be sure that problem is not located in configuration file backported from digiKam 4.x.

Note : i just finalize AppImage bundle for digiKam. It's not yet complete, as for ex, the autodecetion of camera do not work yet, but as i can see 90% of application is suitable.

Please do not use yet in production. Use a dedicated account for testing purpose.


Gilles Caulier

2016-10-16 17:11 GMT+02:00 Jan Wolter <[hidden email]>:
Hello,

I compiled the actual digikam version from git on my Linux Mint 17.3 (based on Ubuntu 14.04) and have a similar problem.

When I start digikam from terminal I see the splash screen and afterwards the digikam window as expected:
https://dl.dropboxusercontent.com/u/91057768/digikam-window-ok.png
(Btw: I have actual dk v5.3 installed but it appears splash screen from version 5.1 instead of actual splash screen -> https://www.digikam.org/splashcreens. Does anyone know, why?)

But when I create a panel launcher that just calls /bin/digikam, I see no splash screen but instead a small window with following text: "Loading tools.5.3.0":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-loading-tools.png
When digikam has started the menu bar seems to be broken, as there are only two entries "Settings" and "Help":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-not-ok.png

Can anyone help?

Best regards,
Jan



On 09/29/2016 07:20 PM, Erick Moreno wrote:
Thank you very much, Gilles.

Worked perfectly :)



On Thu, Sep 29, 2016 at 2:03 PM, Gilles Caulier <[hidden email]> wrote:
The menu entries missing in Image Editor are older editor plugins.

With 5.2.0, all editor plugins have been transformed as pure tool loaded at the same time than editor. There are not loaded at runtime as classic plugin.

The menu option are now hardcoded in editor code.

I suspect that your menu description file based on XML has a problem.

Do you have file ~/.local/share/kxmlgui5/digikam/digikamimagewindowui.rc ? If yes, rename it and try again.

Gilles Caulier

2016-09-29 18:11 GMT+02:00 Erick Moreno <[hidden email]>:


At 15s I'm trying to show the menus and they are empty. This is the problem.

At 36s I open Showphoto using "Open with" menu, and all the menus are there. I put this on the video to show the difference.



On Thu, Sep 29, 2016 at 1:06 PM, Gilles Caulier <[hidden email]> wrote:
Sorry, but where is the dysfunction exactly in your video ?

Gilles Caulier

2016-09-29 17:52 GMT+02:00 Erick Moreno <[hidden email]>:
I made a small video. Here: https://goo.gl/photos/dRpysvtk8MhuFLAa8

Also noted some other thing. The default keyboard shortcuts to the tools that are under the missing menus are working.

My custom keyboard shortcuts apparently was lost after the upgrade. Thats why I said before that the shortcuts was not working.

On Thu, Sep 29, 2016 at 11:32 AM, Gilles Caulier <[hidden email]> wrote:
Can you take a screenshot of the dysfunction an share it through the cloud...

Gilles Caulier

2016-09-29 16:11 GMT+02:00 Erick Moreno <[hidden email]>:
2 clicks on the image or pressing F4 on the keyboard.

If I right click on the image and open with showfoto, even inside the digikam, it works well too.



On Wed, Sep 28, 2016 at 7:26 PM, Philip Johnsson <[hidden email]> wrote:
How do you open showfoto 5 when it doesn't work with the menus?

/Philip

On Wed, Sep 28, 2016 at 11:20 PM, Erick Moreno <[hidden email]> wrote:
I made some other tests and find out an interesting thing.

If I open showfoto5 directly from command line (without edit command from digikam) it works correctly, the menus are there. I can open an image and edit it without problems. The same if I right click on an image and choose open with Showfoto5. 

That does not make sense to me.


On Wed, Sep 28, 2016 at 3:17 PM, Erick Moreno <[hidden email]> wrote:
No Philip,

The menus are clickable but they are empty, they simply don't have any option, not greyed out.

To some of these features I know the keyboard shortcuts, and these shortcuts are not working neider.

Thanks in advance.



On Wed, Sep 28, 2016 at 11:21 AM, Philip Johnsson <[hidden email]> wrote:
Hi

You should have functions in those menus in showfoto 5.2 but they are greyed out if you have no image shown in showfoto. These menus should have about the same content of feature that you should find in digikam 5.2. Do you see the functions there (in digikam 5.2) in those menus?

/Philip


On Wed, Sep 28, 2016 at 2:12 PM, Erick Moreno <[hidden email]> wrote:
Hi all.

I'm a happy Digikam and Philip's PPA user from a long time now. Yesterday I upgraded from Digikam 5.1 to 5.2 and everything seemed to work well, as always.

But, today I noticed that showfoto is not showing the content of the  menus: Color, Improve, Decorate and Effects (I'm translating from portuguese).

Also, I'm getting this message at the terminal:

void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action

Is this a bug or I did something wrong?

Thank you guys
--


Reply | Threaded
Open this post in threaded view
|

Re: Missing menu items after update to 5.2

Gilles Caulier-4
probably a environnement variable is not set with your launcher.

I suspect PATH. Check it.

Gilles Caulier

2016-10-18 19:47 GMT+02:00 Jan Wolter <[hidden email]>:
Hello Gilles,

you are completely right, now I installed actual dk to /opt/kf5 and get the actual splash screen.

But one problem is still present: When I create a panel launcher that just calls /bin/digikam, I see no splash screen but instead a small window with following text: "Loading tools.5.3.0":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-loading-tools.png
When digikam has started the menu bar seems to be broken, as there are only two entries "Settings" and "Help":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-not-ok.png


Best regards,
Jan

On 10/18/2016 06:25 AM, Gilles Caulier wrote:
Well, if you mix different versions at different places on your computer, there is a risk to introduce dysfuctions of course.

Why digiKam is not only installed only in /opt/kf5, where whole KDE sound like installed ?

Gilles Caulier


2016-10-17 22:53 GMT+02:00 Jan Wolter <[hidden email]>:
Does anyone has a hint how to solve my problem?

Mounth ago I compiled dk and installed it to /opt/kf5.
Yesterday I installed dk to /opt/digikam.

But instead of using the data (e.g. splash screen, colorschemes, dbConfig) from /opt/digikam/share/digikam the data from the old installation is used: /opt/kf5/share/digikam:
digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

What dependency is responsible for that? How can I use the data from the new installation?

Best regards,
Jan



On 10/16/2016 07:42 PM, Jan Wolter wrote:
I just tested to install dk to /opt/digikam using DIGIKAM_INSTALL_PREFIX. But even in this case, the references from the old installation place are used:
/opt/digikam/bin $ ./digikam
digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

Furthermore, the splash screen from v5.1 with the wolf (from /opt/kf5/share/digikam/data) instead of the mountain splash screen (which is correctly located in /opt/digikam/share/digikam/data) from v5.3 is taken.


On 10/16/2016 06:35 PM, Jan Wolter wrote:
Hello Gilles,

the appImage version works as expected, even when I call it from panel launcher. I noticed that this version has more icons (e.g. in the left-hand panel) than my compiled version. And the icons have another style.

Hence, there seems to be a problem with my compiled version.
I compiled dk v5 some month ago (but never used it). I searched in my backups and found that I compiled dk before today on 26th July where dk was installed to /opt/kf5.

Today, I just
  1. updated all git repositories,
  2. deleted old build folder,
  3. called bootstrap.linux
  4. switched to newly generated build folder
  5. called make (without errors)
  6. called sudo make install
Afterwards dk was installed to / instead of /opt/kf5. Before, I used exactly the same approach to compile dk (e.g. without giving a DIGIKAM_INSTALL_PREFIX).
To see the differences compare the following files:
https://dl.dropboxusercontent.com/u/91057768/install_manifest_2016-07-26.txt
https://dl.dropboxusercontent.com/u/91057768/install_manifest_2016-10-16.txt

So, I have two questions:
  1. Why changed the installation place?
  2. Could this be a reason for my problems?
    When I call dk from the new installation place, there are some references to the old installation place:
    /bin $ ./digikam
    digikam.dbengine: Loading SQL code from config file "/opt/kf5/share/digikam/database/dbconfig.xml"
    digikam.widgets: Paths to color scheme :  ("/opt/kf5/share/digikam/colorschemes")

Best regards,
Jan

On 10/16/2016 05:41 PM, Gilles Caulier wrote:
AppImage is a bundle container for Linux.

download the file and just run it. It start digiKam without to install it on your computer.

More information here :


Gilles Caulier

2016-10-16 17:36 GMT+02:00 Jan Wolter <[hidden email]>:
Hello Gilles,

I started from a fresh account. My productive photo library is located on another PC with digikam 4.14. On this PC I have compiled dk v5, but never used or tested it before. Today, I created a photo library for test purposes and initially configured digikam. After that, I get the problem described in my last mail.

Btw: What is AppImage and what does it have to do with my problem?

Best regards,
Jan


On 10/16/2016 05:22 PM, Gilles Caulier wrote:
If you start from a fresh account, can you reproduce the problem ? 

Typically, i would to be sure that problem is not located in configuration file backported from digiKam 4.x.

Note : i just finalize AppImage bundle for digiKam. It's not yet complete, as for ex, the autodecetion of camera do not work yet, but as i can see 90% of application is suitable.

Please do not use yet in production. Use a dedicated account for testing purpose.


Gilles Caulier

2016-10-16 17:11 GMT+02:00 Jan Wolter <[hidden email]>:
Hello,

I compiled the actual digikam version from git on my Linux Mint 17.3 (based on Ubuntu 14.04) and have a similar problem.

When I start digikam from terminal I see the splash screen and afterwards the digikam window as expected:
https://dl.dropboxusercontent.com/u/91057768/digikam-window-ok.png
(Btw: I have actual dk v5.3 installed but it appears splash screen from version 5.1 instead of actual splash screen -> https://www.digikam.org/splashcreens. Does anyone know, why?)

But when I create a panel launcher that just calls /bin/digikam, I see no splash screen but instead a small window with following text: "Loading tools.5.3.0":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-loading-tools.png
When digikam has started the menu bar seems to be broken, as there are only two entries "Settings" and "Help":
https://dl.dropboxusercontent.com/u/91057768/digikam-window-not-ok.png

Can anyone help?

Best regards,
Jan



On 09/29/2016 07:20 PM, Erick Moreno wrote:
Thank you very much, Gilles.

Worked perfectly :)



On Thu, Sep 29, 2016 at 2:03 PM, Gilles Caulier <[hidden email]> wrote:
The menu entries missing in Image Editor are older editor plugins.

With 5.2.0, all editor plugins have been transformed as pure tool loaded at the same time than editor. There are not loaded at runtime as classic plugin.

The menu option are now hardcoded in editor code.

I suspect that your menu description file based on XML has a problem.

Do you have file ~/.local/share/kxmlgui5/digikam/digikamimagewindowui.rc ? If yes, rename it and try again.

Gilles Caulier

2016-09-29 18:11 GMT+02:00 Erick Moreno <[hidden email]>:


At 15s I'm trying to show the menus and they are empty. This is the problem.

At 36s I open Showphoto using "Open with" menu, and all the menus are there. I put this on the video to show the difference.



On Thu, Sep 29, 2016 at 1:06 PM, Gilles Caulier <[hidden email]> wrote:
Sorry, but where is the dysfunction exactly in your video ?

Gilles Caulier

2016-09-29 17:52 GMT+02:00 Erick Moreno <[hidden email]>:
I made a small video. Here: https://goo.gl/photos/dRpysvtk8MhuFLAa8

Also noted some other thing. The default keyboard shortcuts to the tools that are under the missing menus are working.

My custom keyboard shortcuts apparently was lost after the upgrade. Thats why I said before that the shortcuts was not working.

On Thu, Sep 29, 2016 at 11:32 AM, Gilles Caulier <[hidden email]> wrote:
Can you take a screenshot of the dysfunction an share it through the cloud...

Gilles Caulier

2016-09-29 16:11 GMT+02:00 Erick Moreno <[hidden email]>:
2 clicks on the image or pressing F4 on the keyboard.

If I right click on the image and open with showfoto, even inside the digikam, it works well too.



On Wed, Sep 28, 2016 at 7:26 PM, Philip Johnsson <[hidden email]> wrote:
How do you open showfoto 5 when it doesn't work with the menus?

/Philip

On Wed, Sep 28, 2016 at 11:20 PM, Erick Moreno <[hidden email]> wrote:
I made some other tests and find out an interesting thing.

If I open showfoto5 directly from command line (without edit command from digikam) it works correctly, the menus are there. I can open an image and edit it without problems. The same if I right click on an image and choose open with Showfoto5. 

That does not make sense to me.


On Wed, Sep 28, 2016 at 3:17 PM, Erick Moreno <[hidden email]> wrote:
No Philip,

The menus are clickable but they are empty, they simply don't have any option, not greyed out.

To some of these features I know the keyboard shortcuts, and these shortcuts are not working neider.

Thanks in advance.



On Wed, Sep 28, 2016 at 11:21 AM, Philip Johnsson <[hidden email]> wrote:
Hi

You should have functions in those menus in showfoto 5.2 but they are greyed out if you have no image shown in showfoto. These menus should have about the same content of feature that you should find in digikam 5.2. Do you see the functions there (in digikam 5.2) in those menus?

/Philip


On Wed, Sep 28, 2016 at 2:12 PM, Erick Moreno <[hidden email]> wrote:
Hi all.

I'm a happy Digikam and Philip's PPA user from a long time now. Yesterday I upgraded from Digikam 5.1 to 5.2 and everything seemed to work well, as always.

But, today I noticed that showfoto is not showing the content of the  menus: Color, Improve, Decorate and Effects (I'm translating from portuguese).

Also, I'm getting this message at the terminal:

void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action

Is this a bug or I did something wrong?

Thank you guys
--



12