<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>117787</bug_id>
          
          <creation_ts>2005-12-06 12:58:33 +0000</creation_ts>
          <short_desc>Problem with window.scrollX/window.scrollY [menus in di.fm]</short_desc>
          <delta_ts>2005-12-06 16:02:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>khtml ecma</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Raul Moratalla">raul.moratalla</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>maksim</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>396096</commentid>
    <comment_count>0</comment_count>
    <who name="Raul Moratalla">raul.moratalla</who>
    <bug_when>2005-12-06 12:58:33 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.0)
Installed from:    SuSE RPMs
OS:                Linux

When you select a submenu from the menu in www.di.fm you can see displayed the submenu but always in the same position, top of menu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396128</commentid>
    <comment_count>1</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-12-06 15:33:01 +0000</bug_when>
    <thetext>For some reason scrollX/scrollY returned Undefined here, causing the problem. Very odd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396133</commentid>
    <comment_count>2</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-12-06 15:57:03 +0000</bug_when>
    <thetext>SVN commit 486021 by orlovich:

These work a lot better if one actually binds them.
Fixes submenu positionning on di.fm. 
(Yey for menu packages that use non-obfuscated, well-commented code!)
BUG:117787


 M  +2 -0      kjs_window.cpp  


--- branches/KDE/3.5/kdelibs/khtml/ecma/kjs_window.cpp #486020:486021
@@ -260,6 +260,8 @@
   scroll	Window::Scroll		DontDelete|Function 2
   scrollBy	Window::ScrollBy	DontDelete|Function 2
   scrollTo	Window::ScrollTo	DontDelete|Function 2
+  scrollX       Window::ScrollX         DontDelete|ReadOnly
+  scrollY       Window::ScrollY         DontDelete|ReadOnly
   moveBy	Window::MoveBy		DontDelete|Function 2
   moveTo	Window::MoveTo		DontDelete|Function 2
   resizeBy	Window::ResizeBy	DontDelete|Function 2
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396135</commentid>
    <comment_count>3</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-12-06 16:02:11 +0000</bug_when>
    <thetext>SVN commit 486024 by orlovich:

Minimal test for scrollX/scrollY being thee
CCBUG:117787


 M             window.js  
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>