Bug 26936 - Openjdk Policy applications menu entry is too long
Summary: Openjdk Policy applications menu entry is too long
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Nicolas Salguero
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-11 13:34 CEST by Aurelien Oudelet
Modified: 2020-11-10 20:44 CET (History)
0 users

See Also:
Source RPM: java-1.8.0-openjdk-1.8.0.252-1.b09.3.mga8.src.rpm
CVE:
Status comment:


Attachments
Openjdk Policy menu too large (210.69 KB, image/png)
2020-07-11 13:35 CEST, Aurelien Oudelet
Details

Description Aurelien Oudelet 2020-07-11 13:34:30 CEST
Description of problem:
Menu for Openjdk Policy is too large as it shows current version in name.
It is not user friendly.

How reproducible: always

Steps to Reproduce:
1. Install with Classic ISO, whatever desktop selected
2. Open Application Menu and see in "Tools" category:

OpenJDK 8 Policy Tool 1.8.0-openjdk-1.8.0.252-1.b09.3.mga8.x64_86 

It comes from /usr/share/applications/java-1.8.0-openjdk-1.8.0.252-1.b09.3.mga8.x86_64-policytool.desktop

Therefore, in Mageia repos, there is only one available Java version.
$ dnf provides java
java-1.8.0-openjdk-1:1.8.0.252-1.b09.3.mga8.x86_64 : OpenJDK Runtime Environment
Dépôt               : @System
Correspondances trouvées dans  :
Provide    : java = 1:1.8.0

java-1.8.0-openjdk-1:1.8.0.252-1.b09.3.mga8.x86_64 : OpenJDK Runtime Environment
Dépôt               : cauldron-x86_64
Correspondances trouvées dans  :
Provide    : java = 1:1.8.0

See attachment below.

Workaround:
Manually Edit Menu and reduce the name.
Comment 1 Aurelien Oudelet 2020-07-11 13:35:09 CEST
Created attachment 11746 [details]
Openjdk Policy menu too large
Jani Välimaa 2020-07-12 15:40:52 CEST

Summary: Openjdk Policy menu too large => Openjdk Policy applications menu entry is too long

Comment 2 Lewis Smith 2020-07-21 12:19:16 CEST
True also for Mageia 7. Presumably the menu caption should not include more than the application name, not the version etc.

Nicolas looks best to assign this to.

Assignee: bugsquad => nicolas.salguero

Comment 3 Nicolas Salguero 2020-07-29 09:53:20 CEST
Hi,

For Cauldron, java-1.8.0-openjdk-1.8.0.262-1.b10.2.mga8 should solve the issue.
For Mageia 7, the fix is committed in SVN.

Best regards,

Nico.
Comment 4 Aurelien Oudelet 2020-07-29 22:00:32 CEST
In Cauldron, fix is here.
At it is cosmetic, and Mageia 8 is around, we can close Resolved Fixed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 5 Aurelien Oudelet 2020-08-20 12:56:58 CEST
Sadly above problem (cosmetic therefore but annoying) returns with

java-1.8.0-openjdk-1.8.0.272.b02-0.0.ea.3.mga8.x86_64:

/usr/share/applications/java-1.8.0-openjdk-1.8.0.272.b02-0.0.ea.3.mga8.x86_64-policytool.desktop

(from yesterday updates)

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 6 Aurelien Oudelet 2020-11-10 20:44:07 CET
Fixed in M7 and Cauldron

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.