gvSIG bugs #523
The gvSIG package manager windows shown in the installation process appears empty
Status: | Closed | % Done: | 0% | |
---|---|---|---|---|
Priority: | Normal | Spent time: | - | |
Assignee: | ||||
Category: | - | |||
Target version: | 2.0.0-alpha5 | |||
Severity: | Add-on version: | |||
gvSIG version: | 2.0.0 | Add-on build: | ||
gvSIG build: | 2045 | Add-on resolve version: | ||
Operative System: | Windows | Add-on resolve build: | ||
Keywords: | Proyecto: | |||
Has patch: | No | Hito: | ||
Add-on name: | Unknown |
Description
In the gvSIG installation process in windows, when the gvSIG package manager window is shown, it appears empty.
The problem is related to the Java graphics acceleration, which is active by default, but has problems with some graphics drivers or configurations. To me it happens in a VirtualBox VM.
It may be solved by creating a .ini file for the package installer exe which disables the graphics hardware acceleration for the package manager application execution.
History
#1
Updated by Joaquín del Cerro Murciano over 12 years ago
- Target version set to 2.0.0-alpha5
#2
Updated by Joaquín del Cerro Murciano about 12 years ago
- Assignee changed from Cesar Ordiñana to Juan Lucas Domínguez
#3
Updated by Juan Lucas Domínguez about 12 years ago
- Status changed from New to In progress
#4
Updated by Juan Lucas Domínguez about 12 years ago
I cannot reproduce this error. I am using Windows 7 and all graphics settings seem to be following the principle: "performance is better than saving energy", etc.
These system properties might fix the problem if set to the specified boolean values:
-Dsun.java2d.noddraw=true
-Dsun.java2d.opengl=false
-Dsun.java2d.d3d=false
-Dsun.java2d.ddoffscreen=false
Some doc here: http://docs.oracle.com/javase/1.5.0/docs/guide/2d/flags.html
- Can you send a screenshot showing which panel appears empty?
- Does that happen in the package manager within gvSIG?
#5
Updated by Cesar Ordiñana about 12 years ago
Sorry, I should have provided more information.
The problem is related to some windows driver configurations, where any java swing application shows its windows empty. This happens from time to time in the users list and the solution is to disable the acceleration with:
sun.java2d.d3d=false
In the gvSIG 2.0 case, we distribute a gvsig-desktop.l4j.ini file where the user only needs to uncomment the line with:
# -Dsun.java2d.d3d=false
This is fine for the application execution, if a user has that problem, in the documentation, user lists, etc. we can help him by telling him to uncomment the previous line.
But in the installation process, when the add-ons installer is opened, we must make sure it works, as it is very difficult, if possible, to tell the user to change one of the files in the installation process, just before the add-on installer opens. As we don't really need hardware acceleration for the add-ons manager in the installation process, the idea is to disable it always, so we will know for sure that problem will not happen to any user.
To do it, perform the following steps:
- In the build/product folder copy the file gvsig-desktop.l4j.ini to gvsig-package-installer.l4j.ini. This is the way to create a .ini file for a launcher created with Launch4J.
- Edit it and uncomment the line with # -Dsun.java2d.d3d=false.
- Add the file to the source repository.
- Modify the installjammer configuration, so the installer for windows includes the new file.
#6
Updated by Juan Lucas Domínguez about 12 years ago
Thanks, I need for info about the last step: "Modify the installjammer configuration...". I cannot see where the files to be installed are listed, so maybe installjammer will copy all the files in that folder?
#7
Updated by Cesar Ordiñana about 12 years ago
You need to open the installjammer application and edit the current installer configuration.
As we have to meet in person so I can help you in the build process, which involves updating the installjammer configuration, I can show you then how to add the new file to the installation.
#8
Updated by Juan Lucas Domínguez about 12 years ago
- Status changed from In progress to Fixed
Necessary file has been uploaded. Will be used during build creation process.
#9
Updated by Joaquín del Cerro Murciano almost 12 years ago
- Status changed from Fixed to Closed