Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8127034

[Linux, Modality] Windows are created not with proper height.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      2.1.0b10
      JDK6

      Description

      Run attached application.

      To reproduce:
      1. In first stage click "Init".
      2. In the second click "Win"
      3. In the third click "App"
      4. In the fourth click "None"

      I see intersection of all windows. (every next is intersected with the previous one).

      I created this app for windows OS first, and it was written in a such way, so every new scene will not intersect with the previous. So I writed:
          private void changeStageSizes(){
              switch(renderType){
                  case LIST:
                      stage.setWidth(width);
                      stage.setHeight(height); // Look here
                      stage.setX(initialX + (counter-1));
                      stage.setY(initialY + (counter-1)*height); // and here
      //...
      counter++

      It works for winOS: windows don't intersect. that is not true for linux.

        Attachments

          Activity

            People

            • Assignee:
              tbrandal Tomáš Brandalík (Inactive)
              Reporter:
              akirov Alexander Kirov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: