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

Linux: Dialog.setLocation(int,int) works incorrect when the dialog is

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • client-libs
    • x86
    • linux

      K version:
      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b07)
      Java HotSpot(TM) Client VM (build 1.3.0beta-b04, mixed mode)

      ======================================================================


      Name: dkC103137 Date: 06/28/2000


       Regression test java/awt/Dialog/DialogLocationTest/DialogLocationTest.html
      fails due the same reason described in bug #4101437. The test was run using
      Linux JDK1.3 (build 1.3.0beta-b09).
       
       Method Dialog.setLocation(int,int) always sets incorrect coordinates. See
      output from the regression test below

      ------------------------- output -------------------------

      Failed in componentMoved() expect:[253,112] reported:[258,141] diff [5,29]
      Failed on iteration 0 expect:[253,112] reported:[258,141] diff [5,29]
      Failed in componentMoved() expect:[433,325] reported:[438,354] diff [5,29]
      Failed on iteration 1 expect:[433,325] reported:[438,354] diff [5,29]
      Failed in componentMoved() expect:[782,71] reported:[787,100] diff [5,29]
      Failed on iteration 2 expect:[782,71] reported:[787,100] diff [5,29]
      Failed in componentMoved() expect:[715,395] reported:[720,424] diff [5,29]
      Failed on iteration 3 expect:[715,395] reported:[720,424] diff [5,29]
      Failed in componentMoved() expect:[436,28] reported:[441,57] diff [5,29]
      Failed on iteration 4 expect:[436,28] reported:[441,57] diff [5,29]
      Failed in componentMoved() expect:[721,67] reported:[726,96] diff [5,29]
      Failed on iteration 5 expect:[721,67] reported:[726,96] diff [5,29]
      Failed in componentMoved() expect:[51,59] reported:[56,88] diff [5,29]
      Failed on iteration 6 expect:[51,59] reported:[56,88] diff [5,29]
      Failed in componentMoved() expect:[355,176] reported:[360,205] diff [5,29]
      Failed on iteration 7 expect:[355,176] reported:[360,205] diff [5,29]
      Failed in componentMoved() expect:[485,156] reported:[490,185] diff [5,29]
      Failed on iteration 8 expect:[485,156] reported:[490,185] diff [5,29]
      Failed in componentMoved() expect:[781,201] reported:[786,230] diff [5,29]
      Failed on iteration 9 expect:[781,201] reported:[786,230] diff [5,29]
      Failed in componentMoved() expect:[706,489] reported:[711,518] diff [5,29]
      Failed on iteration 10 expect:[706,489] reported:[711,518] diff [5,29]
      Failed in componentMoved() expect:[463,42] reported:[468,71] diff [5,29]
      Failed on iteration 11 expect:[463,42] reported:[468,71] diff [5,29]
      Failed in componentMoved() expect:[475,299] reported:[480,328] diff [5,29]
      Failed on iteration 12 expect:[475,299] reported:[480,328] diff [5,29]
      Failed in componentMoved() expect:[654,339] reported:[659,368] diff [5,29]
      Failed on iteration 13 expect:[654,339] reported:[659,368] diff [5,29]
      Failed in componentMoved() expect:[709,184] reported:[714,213] diff [5,29]
      Failed on iteration 14 expect:[709,184] reported:[714,213] diff [5,29]
      Failed in componentMoved() expect:[668,237] reported:[673,266] diff [5,29]
      Failed on iteration 15 expect:[668,237] reported:[673,266] diff [5,29]
      Failed in componentMoved() expect:[845,87] reported:[850,116] diff [5,29]
      Failed on iteration 16 expect:[845,87] reported:[850,116] diff [5,29]
      Failed in componentMoved() expect:[841,139] reported:[846,168] diff [5,29]
      Failed on iteration 17 expect:[841,139] reported:[846,168] diff [5,29]
      Failed in componentMoved() expect:[399,243] reported:[404,272] diff [5,29]
      Failed on iteration 18 expect:[399,243] reported:[404,272] diff [5,29]
      Failed in componentMoved() expect:[799,472] reported:[804,501] diff [5,29]
      Failed on iteration 19 expect:[799,472] reported:[804,501] diff [5,29]
      Failed in componentMoved() expect:[712,408] reported:[717,437] diff [5,29]
      Failed on iteration 20 expect:[712,408] reported:[717,437] diff [5,29]
      Failed in componentMoved() expect:[836,180] reported:[841,209] diff [5,29]
      Failed on iteration 21 expect:[836,180] reported:[841,209] diff [5,29]
      Failed in componentMoved() expect:[144,204] reported:[149,233] diff [5,29]
      Failed on iteration 22 expect:[144,204] reported:[149,233] diff [5,29]
      Failed in componentMoved() expect:[569,162] reported:[574,191] diff [5,29]
      Failed on iteration 23 expect:[569,162] reported:[574,191] diff [5,29]
      Failed in componentMoved() expect:[209,465] reported:[214,494] diff [5,29]
      Failed on iteration 24 expect:[209,465] reported:[214,494] diff [5,29]
      Failed in componentMoved() expect:[326,98] reported:[331,127] diff [5,29]
      Failed on iteration 25 expect:[326,98] reported:[331,127] diff [5,29]
      Failed in componentMoved() expect:[127,140] reported:[132,169] diff [5,29]
      Failed on iteration 27 expect:[127,140] reported:[132,169] diff [5,29]
      Failed in componentMoved() expect:[230,156] reported:[235,185] diff [5,29]
      Failed on iteration 28 expect:[230,156] reported:[235,185] diff [5,29]
      Failed in componentMoved() expect:[339,200] reported:[344,229] diff [5,29]
      Failed on iteration 29 expect:[339,200] reported:[344,229] diff [5,29]
      Failed in componentMoved() expect:[112,285] reported:[117,314] diff [5,29]
      Failed on iteration 30 expect:[112,285] reported:[117,314] diff [5,29]
      Failed in componentMoved() expect:[516,136] reported:[521,165] diff [5,29]
      Failed on iteration 31 expect:[516,136] reported:[521,165] diff [5,29]
      Failed in componentMoved() expect:[826,87] reported:[831,116] diff [5,29]
      Failed on iteration 32 expect:[826,87] reported:[831,116] diff [5,29]
      Failed in componentMoved() expect:[75,410] reported:[80,439] diff [5,29]
      Failed on iteration 33 expect:[75,410] reported:[80,439] diff [5,29]
      Failed in componentMoved() expect:[246,495] reported:[251,524] diff [5,29]
      Failed on iteration 34 expect:[246,495] reported:[251,524] diff [5,29]
      Failed in componentMoved() expect:[787,424] reported:[792,453] diff [5,29]
      Failed on iteration 35 expect:[787,424] reported:[792,453] diff [5,29]
      Failed in componentMoved() expect:[591,155] reported:[596,184] diff [5,29]
      Failed on iteration 36 expect:[591,155] reported:[596,184] diff [5,29]
      Failed in componentMoved() expect:[779,2] reported:[784,31] diff [5,29]
      Failed on iteration 37 expect:[779,2] reported:[784,31] diff [5,29]
      Failed in componentMoved() expect:[712,350] reported:[717,379] diff [5,29]
      Failed on iteration 38 expect:[712,350] reported:[717,379] diff [5,29]
      Failed in componentMoved() expect:[639,174] reported:[644,203] diff [5,29]
      Failed on iteration 39 expect:[639,174] reported:[644,203] diff [5,29]
      Failed in componentMoved() expect:[395,273] reported:[400,302] diff [5,29]
      Failed on iteration 40 expect:[395,273] reported:[400,302] diff [5,29]
      Failed in componentMoved() expect:[38,229] reported:[43,258] diff [5,29]
      Failed on iteration 41 expect:[38,229] reported:[43,258] diff [5,29]
      Failed in componentMoved() expect:[670,214] reported:[675,243] diff [5,29]
      Failed on iteration 42 expect:[670,214] reported:[675,243] diff [5,29]
      Failed in componentMoved() expect:[608,164] reported:[613,193] diff [5,29]
      Failed on iteration 43 expect:[608,164] reported:[613,193] diff [5,29]
      Failed in componentMoved() expect:[607,416] reported:[612,445] diff [5,29]
      Failed on iteration 44 expect:[607,416] reported:[612,445] diff [5,29]
      Failed in componentMoved() expect:[200,70] reported:[205,99] diff [5,29]
      Failed on iteration 45 expect:[200,70] reported:[205,99] diff [5,29]
      Failed in componentMoved() expect:[485,91] reported:[490,120] diff [5,29]
      Failed on iteration 46 expect:[485,91] reported:[490,120] diff [5,29]
      Failed in componentMoved() expect:[608,138] reported:[613,167] diff [5,29]
      Failed on iteration 47 expect:[608,138] reported:[613,167] diff [5,29]
      Failed in componentMoved() expect:[708,316] reported:[713,345] diff [5,29]
      Failed on iteration 48 expect:[708,316] reported:[713,345] diff [5,29]
      Failed in componentMoved() expect:[252,425] reported:[257,454] diff [5,29]
      Failed on iteration 49 expect:[252,425] reported:[257,454] diff [5,29]
      Failed in componentMoved() expect:[850,295] reported:[855,324] diff [5,29]
      Failed on iteration 50 expect:[850,295] reported:[855,324] diff [5,29]
      Failed in componentMoved() expect:[342,214] reported:[347,243] diff [5,29]
      Failed on iteration 51 expect:[342,214] reported:[347,243] diff [5,29]
      Failed in componentMoved() expect:[217,231] reported:[222,260] diff [5,29]
      Failed on iteration 52 expect:[217,231] reported:[222,260] diff [5,29]
      Failed in componentMoved() expect:[388,247] reported:[393,276] diff [5,29]
      Failed on iteration 53 expect:[388,247] reported:[393,276] diff [5,29]
      Failed in componentMoved() expect:[609,341] reported:[614,370] diff [5,29]
      Failed on iteration 54 expect:[609,341] reported:[614,370] diff [5,29]
      Failed in componentMoved() expect:[248,385] reported:[253,414] diff [5,29]
      Failed on iteration 55 expect:[248,385] reported:[253,414] diff [5,29]
      Failed in componentMoved() expect:[57,361] reported:[62,390] diff [5,29]
      Failed on iteration 56 expect:[57,361] reported:[62,390] diff [5,29]
      Failed in componentMoved() expect:[110,194] reported:[115,223] diff [5,29]
      Failed on iteration 57 expect:[110,194] reported:[115,223] diff [5,29]
      Failed in componentMoved() expect:[214,182] reported:[219,211] diff [5,29]
      Failed on iteration 58 expect:[214,182] reported:[219,211] diff [5,29]
      Failed in componentMoved() expect:[124,258] reported:[129,287] diff [5,29]
      Failed on iteration 59 expect:[124,258] reported:[129,287] diff [5,29]
      Failed in componentMoved() expect:[273,105] reported:[278,134] diff [5,29]
      Failed on iteration 60 expect:[273,105] reported:[278,134] diff [5,29]
      Failed in componentMoved() expect:[765,29] reported:[770,58] diff [5,29]
      Failed on iteration 61 expect:[765,29] reported:[770,58] diff [5,29]
      Failed in componentMoved() expect:[0,57] reported:[5,86] diff [5,29]
      Failed on iteration 62 expect:[0,57] reported:[5,86] diff [5,29]
      Failed in componentMoved() expect:[474,321] reported:[479,350] diff [5,29]
      Failed on iteration 63 expect:[474,321] reported:[479,350] diff [5,29]
      Failed in componentMoved() expect:[499,457] reported:[504,486] diff [5,29]
      Failed on iteration 64 expect:[499,457] reported:[504,486] diff [5,29]
      Failed in componentMoved() expect:[633,307] reported:[624,141] diff [-9,-166]
      Failed on iteration 66 expect:[633,307] reported:[624,141] diff [-9,-166]
      Failed in componentMoved() expect:[735,151] reported:[638,336] diff [-97,185]
      Failed on iteration 67 expect:[735,151] reported:[638,336] diff [-97,185]
      Failed in componentMoved() expect:[594,449] reported:[355,524] diff [-239,75]
      Failed on iteration 69 expect:[594,449] reported:[355,524] diff [-239,75]
      Failed in componentMoved() expect:[473,173] reported:[599,478] diff [126,305]
      Failed on iteration 70 expect:[473,173] reported:[599,478] diff [126,305]
      Failed in componentMoved() expect:[722,86] reported:[478,202] diff [-244,116]
      Failed on iteration 71 expect:[722,86] reported:[478,202] diff [-244,116]
      Failed in componentMoved() expect:[589,30] reported:[594,59] diff [5,29]
      Failed on iteration 72 expect:[589,30] reported:[594,59] diff [5,29]
      Failed in componentMoved() expect:[695,405] reported:[700,434] diff [5,29]
      Failed on iteration 73 expect:[695,405] reported:[700,434] diff [5,29]
      Failed in componentMoved() expect:[162,210] reported:[167,239] diff [5,29]
      Failed on iteration 74 expect:[162,210] reported:[167,239] diff [5,29]
      Failed in componentMoved() expect:[710,25] reported:[715,54] diff [5,29]
      Failed on iteration 75 expect:[710,25] reported:[715,54] diff [5,29]
      Failed in componentMoved() expect:[137,84] reported:[142,113] diff [5,29]
      Failed on iteration 76 expect:[137,84] reported:[142,113] diff [5,29]
      Failed in componentMoved() expect:[549,288] reported:[554,317] diff [5,29]
      Failed on iteration 77 expect:[549,288] reported:[554,317] diff [5,29]
      Failed in componentMoved() expect:[253,48] reported:[258,77] diff [5,29]
      Failed on iteration 78 expect:[253,48] reported:[258,77] diff [5,29]
      Failed in componentMoved() expect:[107,140] reported:[112,169] diff [5,29]
      Failed on iteration 79 expect:[107,140] reported:[112,169] diff [5,29]
      Failed in componentMoved() expect:[410,36] reported:[415,65] diff [5,29]
      Failed on iteration 80 expect:[410,36] reported:[415,65] diff [5,29]
      Failed in componentMoved() expect:[708,164] reported:[713,193] diff [5,29]
      Failed on iteration 81 expect:[708,164] reported:[713,193] diff [5,29]
      Failed in componentMoved() expect:[51,399] reported:[56,428] diff [5,29]
      Failed on iteration 82 expect:[51,399] reported:[56,428] diff [5,29]
      Failed in componentMoved() expect:[798,406] reported:[803,435] diff [5,29]
      Failed on iteration 83 expect:[798,406] reported:[803,435] diff [5,29]
      Failed in componentMoved() expect:[557,363] reported:[562,392] diff [5,29]
      Failed on iteration 84 expect:[557,363] reported:[562,392] diff [5,29]
      Failed in componentMoved() expect:[670,363] reported:[675,392] diff [5,29]
      Failed on iteration 85 expect:[670,363] reported:[675,392] diff [5,29]
      Failed in componentMoved() expect:[100,292] reported:[105,321] diff [5,29]
      Failed on iteration 86 expect:[100,292] reported:[105,321] diff [5,29]
      Failed in componentMoved() expect:[180,484] reported:[185,513] diff [5,29]
      Failed on iteration 87 expect:[180,484] reported:[185,513] diff [5,29]
      Failed in componentMoved() expect:[604,32] reported:[609,61] diff [5,29]
      Failed on iteration 88 expect:[604,32] reported:[609,61] diff [5,29]
      Failed in componentMoved() expect:[61,274] reported:[66,303] diff [5,29]
      Failed on iteration 89 expect:[61,274] reported:[66,303] diff [5,29]
      Failed in componentMoved() expect:[727,187] reported:[732,216] diff [5,29]
      Failed on iteration 90 expect:[727,187] reported:[732,216] diff [5,29]
      Failed in componentMoved() expect:[14,110] reported:[19,139] diff [5,29]
      Failed on iteration 91 expect:[14,110] reported:[19,139] diff [5,29]
      Failed in componentMoved() expect:[796,261] reported:[801,290] diff [5,29]
      Failed on iteration 92 expect:[796,261] reported:[801,290] diff [5,29]
      Failed in componentMoved() expect:[230,154] reported:[235,183] diff [5,29]
      Failed on iteration 93 expect:[230,154] reported:[235,183] diff [5,29]
      Failed in componentMoved() expect:[341,191] reported:[346,220] diff [5,29]
      Failed on iteration 94 expect:[341,191] reported:[346,220] diff [5,29]
      Failed in componentMoved() expect:[340,283] reported:[345,312] diff [5,29]
      Failed on iteration 95 expect:[340,283] reported:[345,312] diff [5,29]
      Failed in componentMoved() expect:[57,422] reported:[62,451] diff [5,29]
      Failed on iteration 96 expect:[57,422] reported:[62,451] diff [5,29]
      Failed in componentMoved() expect:[313,291] reported:[318,320] diff [5,29]
      Failed on iteration 97 expect:[313,291] reported:[318,320] diff [5,29]
      Failed in componentMoved() expect:[825,278] reported:[830,307] diff [5,29]
      Failed on iteration 98 expect:[825,278] reported:[830,307] diff [5,29]
      Failed in componentMoved() expect:[746,149] reported:[751,178] diff [5,29]
      Failed on iteration 99 expect:[746,149] reported:[751,178] diff [5,29]
      ----------log:applet(6/461)----------
      java.lang.RuntimeException: Dialog Location is set incorrectly
              at DialogLocationTest.start(DialogLocationTest.java:119)
              at
      javasoft.sqe.javatest.regtest.AppletWrapper$AppletRunner.appletStart(AppletWrapp
      er.java:308)
              at
      javasoft.sqe.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:
      139)
              at java.lang.Thread.run(Thread.java:484)
              
      -------------------------- end of output -------------------------------
       
       
      JD

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: