Menu

#5 Window display problem

1.0
pending
linux (1)
2017-02-05
2015-10-27
No

On Ubuntu 14.04.03, openjdk 7, after the installation the program shows the tip of the day, then displays a window with no width (both left an right border are superimposed). It is impossible to resize.

Discussion

  • Bruce Martin

    Bruce Martin - 2015-10-27

    Will hava a look at it

     
  • Bruce Martin

    Bruce Martin - 2015-10-27
    • assigned_to: Bruce Martin
     
  • Bruce Martin

    Bruce Martin - 2015-10-31

    I have not been able to reproduce the problem. I used:

    OS: Ubuntu 14.04 (64 bit)
    Java: Version 1.7.0_85
    Open JDK runtime environment (Iced Tea 2.6.1) ..
    Open JDK 64-bit Server VM (build 24.85-b3, mixed-mode)
    ReCsvEditor 0.97g

    and it all worked


    Can you
    1. Cjheck the details and make sure you are running with 0.97g
    2. Oppening a terminal doing the following

    Going to (in your home directory):

    RecordEditor/reCsvEd/lib
    

    and running

    java -jar runCsvEditor.jar
    

    and coping and pasting the messages

     
  • Michel Blancard

    Michel Blancard - 2015-11-02
    1. java -version outputs
      java version "1.7.0_85"
      OpenJDK Runtime Environment (IcedTea 2.6.1) (7u85-2.6.1-5ubuntu0.14.04.1)
      OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)

    I use ReCsvEditor version 0.97g

    1. michel@agd5 ~/tools/RecordEdit/reCsvEd/lib % java -jar runCsvEditor.jar
         * Run  Reading File: /home/michel/tools/RecordEdit/reCsvEd/lib/SystemJars.txt
        ZDate   <lib>/ZCalendar.jar
        Velocity1   <lib>/velocity-1.7.jar
        Velocity2   <lib>/velocity-1.7-dep.jar
        jibx    <lib>/jibx-run.jar
        jlibdiff    <lib>/jlibdiff.jar
        chardet <lib>/chardet.jar
        cb2xml  <lib>/cb2xml.jar
        flags   <lib>/pict.zip
        syntaxEdit  <lib>/rsyntaxtextarea.jar
        swingx  <lib>/swingx-subset-1.6.4.jar
        zip <lib>/zip4j_1.3.2.jar
        propertiesZip   <lib>/properties.zip
         * Run  Reading File: /home/michel/tools/RecordEdit/reCsvEd/lib/SystemJdbcJars.txt
         * Run  Reading File: /home/michel/.RecordEditor/reCsvEd/UserJars.txt
             listSise 15 > /home/michel/tools/RecordEdit/reCsvEd/lib >> false
        Starting Program !!!
    
        1 > /home/michel/tools/RecordEdit/reCsvEd/lib/RecordEdit.jar
        2 > /home/michel/tools/RecordEdit/reCsvEd/lib/RecordEdit.jar
        3 > /home/michel/tools/RecordEdit/reCsvEd/lib/RecordEdit.jar
        4 > /home/michel/tools/RecordEdit/reCsvEd/lib/RecordEdit.jar
    
         !!! BaseDirectory = /home/michel/tools/RecordEdit/reCsvEd/lib/RecordEdit.jar >file:/home/michel/tools/RecordEdit/reCsvEd/lib/RecordEdit.jar!/net/sf/RecordEditor/utils/params/Parameters.class< 
         !!! libDirectory 2= /home/michel/tools/RecordEdit/reCsvEd/lib
         !!! libDirectory 3= /home/michel/tools/RecordEdit/reCsvEd/lib
    
             base dir: /home/michel/tools/RecordEdit/reCsvEd
             lib  dir: /home/michel/tools/RecordEdit/reCsvEd/lib
        Properties File: /home/michel/tools/RecordEdit/reCsvEd/lib/Params.Properties true
    
        Linux null <home>/.RecordEditor/reCsvEd
    
        !! Properties Directory ~~ /home/michel/.RecordEditor/reCsvEd/
        !! Application Directory ~~ /home/michel/.RecordEditor/reCsvEd/
        Properties File: /home/michel/.RecordEditor/reCsvEd/Params.Properties true
    
        Linux null
    
        Expand >> <install>/lang/ >> /home/michel/tools/RecordEdit/reCsvEd/lang/
        Using No translation
        ### '''''''''''''''''''''''''''''''
        ###            Font Height 12
        ###           Field Height 19
        ###        Checkbox Height 21
        ###       Table Row Height 16
        ### Combo Table Row Height 22
        ###      1 char Cell width 7
        ### ...............................
         1 =====> /home/michel/tools/RecordEdit/reCsvEd/UserData true // /home/michel/.RecordEditor/reCsvEd/Params.Properties true 3
         2 =====> Extracting false false /home/michel/tools/RecordEdit/reCsvEd/UserData/Database.zip to /home/michel/.RecordEditor/reCsvEd/Database false
         8 =====> No Extract /home/michel/.RecordEditor/reCsvEd/User
        Defining MultiLine Edit
        Properties File: /home/michel/.RecordEditor/reCsvEd/ParamLists.Properties false
        Properties File: /home/michel/tools/RecordEdit/reCsvEd/lib/JRecord.properties true
        Font >< || false >< true
        Font >< || false >< true
        5
    
     

    Last edit: Bruce Martin 2015-11-02
  • Bruce Martin

    Bruce Martin - 2015-11-04

    Is this the first time you hve installed reCsvEditor ???
    In the directory

    .RecordEditor/reCsvEd
    

    there is a file

    Params.Properties
    
    1. Can you attach a copy of it ??
    2. Try deleting and running ReCsvEditor
    3. If that fails try adding the following parameter to Params.Properties and running ReCsvEditor

      ScreenSizeOpt=M
      
     

    Last edit: Bruce Martin 2015-11-04
  • Michel Blancard

    Michel Blancard - 2015-11-04

    The file contained

    #RecordEditor
    #Mon Nov 02 10:16:39 CET 2015
    csvlastScreenWidth=1
    csvlastScreenHeight=1056
    CurrentZipVersion.2=0097g
    CurrentZipVersion.1=0097g
    showRecordEditorTips=N
    

    I changed csvlastScreenWidth=1 to csvlastScreenWidth=1000 but it didn't change anything. Then I deleted it, it didn't change anything again. Lastly I modified the file to include the new option :

    #RecordEditor
    #Wed Nov 04 12:08:10 CET 2015
    csvlastScreenWidth=100
    csvlastScreenHeight=267
    CurrentZipVersion.2=0097g
    CurrentZipVersion.1=0097g
    showRecordEditorTips=Y
    ScreenSizeOpt=M
    

    Same behavior. After running the file is :

    #RecordEditor
    #Wed Nov 04 12:09:11 CET 2015
    csvlastScreenWidth=1
    csvlastScreenHeight=1056
    CurrentZipVersion.2=0097g
    CurrentZipVersion.1=0097g
    ScreenSizeOpt=M
    showRecordEditorTips=Y
    
     
  • Bruce Martin

    Bruce Martin - 2015-11-06

    I have uploaded a new Version 0.97h, that I would like you to try. It consists of updated jars

    Once installed, please apply eithor of these 2 changes to Params.Properties

    csvlastScreenWidth=1855
    csvlastScreenHeight=951
    ScreenSizeOpt=F
    

    or

    csvScreenStartHeight=768
    csvScreenStartWidth=1024
    ScreenSizeOpt=E
    

    What I think is happening; Currently screen width is calculed as

            Max(requestWidth, Physical_Srceen_Width - Left_indent - Right_indent)
    

    I have made 2 changes:

    • Ensure screen width is atleast 200 pixels.
    • Add E/F options that do not check physical size

    You may want to consider

    • Installing Oracle Java 7
    • Reinstalling ReCsvEditor.

    ReCsvEditor generally works better with Oracles java

     
  • Michel Blancard

    Michel Blancard - 2015-11-06

    I applied the two changes but none of them would resolve the problem.

    I then installed Oracle Java, reinstalled ReCsvEditor, tried the g version and the h update. The window is still 1 pixel wide.

    I forgot to mention an important information : I'm using a dual screen. The tip window always appears at the right of the right screen and the main window always appears at the left of the right screen.

     
  • Bruce Martin

    Bruce Martin - 2015-11-07

    I have uploaded a new 0.97h to try

    It has 3 new options:

    ScreenSizeOpt=1
    ScreenSizeOpt=2
    ScreenSizeOpt=N
    

    1, 2 - which will try and display the Frame on screen 1 / Screen 2.
    N - do nothing with the size, on my system you get a small top bar which you can resize

    Also please try

    ScreenSizeOpt=M/L/E/F
    

    again. I have made changes that may (???) help.

     
  • Michel Blancard

    Michel Blancard - 2015-11-09

    1, 2 : It displays on screen 1 or 2. The window is maximized by default. When manually unmaximized, the window takes a size of 1 pixel * 1 pixel but it is possibe to resize it.

    N : The window appears on the 2nd desktop with a small size and it is possible to resize it.

    M : The window behaves correctly (takes a sensible size when minimized, It is possible to manually resize it when unmaximized.)

    L, E, F : The window behaves correctly but is appears on the 2nd desktop.

    For me, the issue is solved for the option M for this new patch h. Thank you very much for the support.

     
  • Bruce Martin

    Bruce Martin - 2015-11-09

    Knowing there where two monitors was the key peice of information.
    I will update options 1/2 so the minimised size is "full screen"

    Also will think about the options for 2 screens, possibly help/macro/filter screens should display on second screen.

     
  • Bruce Martin

    Bruce Martin - 2017-02-05

    This has been released in both
    upgrade version (initial fix) and confirmed by user
    Installer

     
  • Bruce Martin

    Bruce Martin - 2017-02-05
    • status: open --> pending
     

Anonymous
Anonymous

Add attachments
Cancel