Scrolling bug ?
import javax.swing.*;
import java.awt.BorderLayout;
public class Scroll extends JDialog {
Box box = Box.createVerticalBox();
public void kuku() {
setTitle("Test scrolling");
box.add( new JLabel("Hello"));
box.add( new JLabel("you"));
box.add( new JLabel("all"));
box.add( new JLabel("out"));
box.add( new JLabel("there !"));
box.add( new JLabel("-------"));
box.add( new JButton("one"));
box.add( new JButton("two"));
box.add( new JButton("three"));
getContentPane().add(new JScrollPane(box) , BorderLayout.CENTER);
pack();
public static void main (String[] args) throws InterruptedException {
try {
// UIManager.setLookAndFeel(
// "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
catch (Exception e) {
System.out.println(e);
Scroll t1 = new Scroll();
t1.kuku();
t1.show();
} Run this code ( you can also uncomment the Look&Feel setting line ), resize the dialog vertically to half ( or even smaller ) size, then click (and hold) on the vertical scrollbar and slowly move down to the lowest position and back up to the top ( normal drag-scrolling ). On my system the scroll is not smooth, but jumps at one place ( at the location, where it was before clickin on the bar ). It can always be reproduced.
Is this a known bug ?
I use Sun JDK 1.4.1_03 on windows 200 pro SP3.
Windows 2000 Professional Service Pack 3 and Sun JDK/JRE v1.4.1_03-b02 on a Pentium III 866 MHz.
Are you sure you don't see anything wrong ?
Make it so, the the visible area is about 40% of the entire area.
Then drag the scrollbar up and down slowly ( so it is easier to see the problem ). On my system, the content is scrolled smoothly as I move the mouse, except at one place, where is stops even if I am still moving the mouse, then after about 20 pixels it jumps and cacthes up.
To make it more visible, first scroll to the middle, release the mouse button and then start again scrolling, it should get stuck and then jump right there in the middle position ( that is, when you are moving over it, either from the bottom up or from top down ).
Regards,
stein
Similar Messages
-
Mac book trackpad scroll BUG - been around since forever - please FIX it!
Hi all
This post is aimed for adobe reps
I'm talking about the scrolling bug on macbooks trackpad and Apple external trackpad
Sure, there are buggy JS work-arounds, but they don't cover the scenario we need
Our app is a flex app, with one major scroller for the app, which is unusuable on macs
Guys, this bug had been around for years
last mention I came accross is here - http://forums.adobe.com/message/4740815
and this is about it when it comes to googling for a solution.
I asked in many forums - flash, flex, starling, feathers etc...
all pointed back to the flash player
If you don't intend to open-sourch the flash player runtime
Can you please fix this nasty bug?
it is critical, and the fact we can only wait for it to surface your priority lists makes your users feel helpless
please respond
please prioritize this bug
it's basic and cuts of a whole market that will not be able to use our product because of it
I erge you to consider this as critical
Thank youJeromie hello
Encouraged by the possibility you opened - I opened up flash pro
made the simplest test to see if I have something basic to start from:
mc.addEventListener(MouseEvent.MOUSE_WHEEL, on_wheel);
function on_wheel(e:MouseEvent):void{
trace('delta: '+e.delta);
I'm using a macbook pro to test this, and no object seems to respond
I tried listening on movieclips textfields the stage and the main timeline, without any of those responding
I checked the reference, which claims it is supported only on windows.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Interacti veObject.html#event:mouseWheel
I even tried using flash professional built-in components like TextArea, ScrollPane (that are still maintained by Adobe) to see purhaps I missed something surely the Adobe engineers would solve on their own set of components
but I guess the reference mentions it supports windows only for a reason...
I hoped it would be out-dated but it seems like it has an updated status.
it says:
Dispatched when a mouse wheel is spun over an InteractiveObject instance. If the target is a text field, the text scrolls as the default behavior. Only available on Microsoft Windows operating systems.
I've tested this behaviour in the browser and actually got something to respond:
it works on a mac in Firefox, and Chrome, but not in safari
found an example for you online you can check, it behaves the same.
doesn't work on safari (most mackbook users use safari...)
http://blog.flexexamples.com/wp-content/uploads/MouseWheel_test/bin/main.html
here's another one that uses pure actionscript if you think it has something to do with flex rather then the flash player...
1. Go to http://darkstar.puremvc.org/
2. Try scrolling with your mouse wheel or trackpad once the window pops up. Nothing should happen.
3. Now click the little green icon in the top-right of the application which toggles Fullscreen. Once in full screen, try scrolling with your mouse wheel or trackpad. Scroll should occur as expected.
here is another simple one:
works on chrome, doesn't respond on safari
http://gingerbinger.com/wp-content/uploads/2011/03/MouseWheelSimple.swf
Jeromie, if you can please point me to a single example that would support scrolling a container, or just catch mousewheel events on a MovieClip
I would go ahead and build the component my self.
As I value it as important enough.
Your input is appreciated
thanks
PS:
here's some really old links that try to complement the flash player lack of support for macs mousewheel events, by trying to inject those events using JavaScript and ExternalInterface:
Those are old, buggy, not worthy to be called alternatives since they work under narrow restrictions, and frankly, I think the flash player deserves a much more serious support like adobe has for issues it actually want to support and not leave this one for open-source, since the player is propietery
http://code.google.com/p/swfmousewheel/
http://code.google.com/p/flex-wmode-mousewheel-handler-example/
http://blog.earthbrowser.com/2009/01/simple-solution-for-mousewheel-events.html
http://hasseg.org/blog/post/138/os-x-mouse-wheel-support-for-actionscript-3-flash-applicat ions-v2/
http://labs.byhook.com/2010/04/09/flash-mouse-wheel-support/
here is a flash player related bug created on 2009:
http://bugs.adobe.com/jira/browse/FP-2247 -
BBM V6.1.0.71 Scrolling BUG
The latest official version of BBM has a disgusting scrolling bug. Where text messages are large or multiple, the cursor gets stuck at around the 3rd or 4th line of text and refuses stubbornly to move further up. One can overcome the problem on a touch screen phone such as 9800 or 9900, but if dependant on the touchpad alone, not usable. Exit the chat and re-enter to try again and often success or persist in scrolling down then up and sometimes lucky.
This is a pathetic coding bug and it is sad that such poor quality is being delivered out from the RIM stables. Especially since V..71 is already an urgent bug fix. Why then is there no urgent bug fix for the scroll issue?
To highlight how ridiculous the knock on effect is as a result of poor programming: Consumers are returning their phones to outlets to be repaired and/or replaced just to overcome the problem which is deemed to be the touchpad. Further, the standard RIM policy of not providing a ROLL-BACK or DOWNGRADE facility exacerbates this issue. When searching for downgrade OTA links and running the risk of downgrading, the BBM cursor is lost on OS7 (V6.1.0.49). How bad does this problem get?
Suffice to say that it is sad to witness such inefficiency from RIM especially after the service fiasco last year. One would think that RIM would be over eager to regain confidence and loyalty in the market.
Bottom Line RIM: Sort out the mess with a serious sense of urgency that is visible to the public eye.You don't need an older version, this version works.
Just delete it form your application list.
reboot
reinstall it from your browser at www.blackberry.com/bbm
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
https://bugzilla.mozilla.org/show_bug.cgi?id=581240
I use Firefox to work online with a wiki called Confluence. When previewing a page in any version after 3.66, you cannot scroll properly to see the whole page.
I would have provided this as feedback, but the feedback button keeps telling me to download the latest Beta and this is it.The test case in comment 1 of that bug report shows the Pass alert for me with the current Minefield nightly build. It also works in Firefox 3.5.16 , but not in Firefox 3.6.13
<pre><nowiki>data:text/html;charset=utf-8,
<script>
function onload() {
document.getElementById("preview").style.display = "";
document.getElementById("preview").innerHTML = ('<iframe src="data:text/html," scrolling="no"></iframe>');
var iframe = document.getElementById("preview").firstChild;
var doc = iframe.contentDocument;
doc.write("<script src='data:text/javascript,'></"+"script>"+"<script>function onload() {alert('PASS')}</" + "script>");
doc.close();
</script>
<body>
You should see an alert saying "PASS". Firefox 3.6.7, however, doesn't show the alert.
<div id="preview" style="display:none">
</div>
</body></nowiki></pre> -
Scrolling bug in mountain lion? - please help
Really annoying bug that seems to have developed in the last few days - can anyone help?
when looking at any window with a scroll bar the screen starts to automatically scroll in jerky steps every quarter of a second or so downwards (or upwards if I reverse the swipe direction on the mouse or trackball settings) to the end of the content without any input from me. This makes most programmes almost useless unless I enter tehm without the mouse cursor over the window.
Same problem using either trackpad or mouse so suspect its a software issue not anything on the peripheral.
fully updated system, not helped by SMC reboot or "killall Dock" terminal command which I read on another post might be helpful
anyone with similar problems or who can help me?Not a bug, please do a SMC reset again. Follow the directions in http://support.apple.com/kb/HT3964
If that doesn't help please reset the PRAM http://support.apple.com/kb/ht1379
Or finally you may have a corrupt cache, restart in Safe Mode http://support.apple.com/kb/HT1455 -
Flex Scrolling Bug in Tree control
<mx:Tree id="tree" labelField="@label" minHeight="400">
<mx:XMLListCollection id="xmlList">
<fx:XMLList id="root" xmlns=www.ns.com>
<node label="aaaa">
<node label="aaaDesc"/>
</node>
... more nodes
</fx:XMLList>
</mx:XMLListCollection>
</mx:Tree>
thats pretty much the basic code that i have
when scroller is added this functionality doesnt work.
TypeError: Error #1010: A term is undefined and has no properties.
at mx.controls::List/adjustVerticalScrollPositionDownward()[E:\dev\4.5.1\frameworks\projects \mx\src\mx\controls\List.as:1043]
at mx.controls::List/configureScrollBars()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\contro ls\List.as:988]
at mx.controls::List/scrollHandler()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\Lis t.as:1629]
at mx.controls::Tree/scrollHandler()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\Tre e.as:2898]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
at mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx/internal::dispatchScrollEvent()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\scrollClasses\ScrollBar.as:1472]
at mx.controls.scrollClasses::ScrollThumb/mouseMoveHandler()[E:\dev\4.5.1\frameworks\project s\mx\src\mx\controls\scrollClasses\ScrollThumb.as:216]The problem went away. I think it was a bug getting triggered
by setting the selected items after I had updated the dataProvider
and refreshing the tree.
I was having another issue where the selectedItems were lost
after updating the tree. I fixed it by setting selectedItems using
callLater() because setting it immediately after updating the tree
dataProvider was not working as the selection was lost anyways.
using callLater to do this fixed the selection issue and now
apparently also the issue with a section of the tree being
obscured. -
Datagrid display scrolling bug?
Hello,
I'm developing an AIR application using the 4.1 SDK and have come across inconsistent display behavior from a datagrid when scrolling.
My datagrid has three fixed columns created in MXML with the DataGridColumn tag. When the datagrid fires a creationComplete event, I then dynamically add additional columns to it, setting the column item renderer to an MXML component. This is all rather straightforward and when I start the application, everything looks just fine. However, once I scroll the datagrid, either vertically or horizontally, the values from the dynamically created columns change or empty cells are displayed in their place. They change every time I scroll. The fixed columns don't exhibit this behavior.
Has anyone encountered this issue? Is this a Flex bug and is there a workaround?
Your help is appreciated.
Thanks,
-JoseitemRenders in DataGrid and other list based controls are recycled, so this often causes problems for scrolling "depending on what you are doing".
Show code and we may be able to help more.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex Training and Support Services -
Mountain lion finder search scroll bug
Hi all,
I've found another major bug in Mountain Lion. Previous bugs include:
https://discussions.apple.com/message/19426052?ac_cid=op123456#19426052
This bug is in the Finder scrolling function in a search window.
When searching for a file in Finder (or through Spotlight -> then clicking "Show all in Finder"), the results appear as normal. However, when scrolling down the finder window, the content keeps resetting to the top of the list, making it extremely difficult to find anything that is not displayed in the available window space.
Hope this gets noticed & fixed in the next update.
RegardsI've had this same Spotlight results scroll focus change OS bug ever since Mountain Lion. I've observed it on 3 different macbook pros, both with an upgrade to Mountain Lion from Lion, and also a complete CLEAN install of Mountain Lion on a brand new disk where I've not dragged over any system files, preferences or apps. For me, all ML exhibit this bug from 10.8 to the most current 10.8.3.
I have not edited the Search Results categories that are selected (in Preferences > Spotlight)
The only time this has not occurred is in the first 2 days of the using the clean install of ML. The scroll focus behaved correctly even with a lot of results. It's now been a week since the clean install and the scroll focus change bug is now active again since day 3. It is possible to scroll slowly with the mouse wheel/gesture and it won't always (10% of the time?) snap focus to the top.
Thanks for the reference link above, but it was not helpful to me:
https://discussions.apple.com/message/12261261#12261261
The thread refers to OS 10.6., and I did not observe this bug in that OS, or 10.7.
One recommendations is to delete the plist (preferences), but this is not a practical solution because the problem comes back quickly.
The other recommendation is to turn off calculate size of files or the Spotlight results folder. It is not possible, as far as I can see, to turn calculate sizes on in the View Options for the Spotlight results window. It is possible to turn on/off sizes as a column in the results, but this made no difference with the bug.
Other tests I've performed that did not fix the bug:
Change "Show scroll bars:" to "Always". This made no difference.
Change "Click in the scroll bar to:" to "Jump to the spot that's clicked". No difference.
Other tests that could be performed:
1) System Preferences > Spotlight: Search Results - turn categories on and off to see if that makes a difference.
And finally, this has reduced the problem to occurring only 10% of the time now!
turn off Smooth Scrolling. This is no longer a checkbox in System Preferences > Appearance in 10.8 ML, so you have to use a shell command in Terminal. If you want to explore this approach look at these two references:
http://hints.macworld.com/article.php?story=20120726122633912
http://www.marekbell.com/how-to-disable-smooth-scrolling-in-mountain-lion/
Now I'm waiting to see if other parts of the ML OS will be negatively affected by turning off Smooth Scrolling, and then I'll decide which is worse. Bottom line, this is not a fix, but it seems to have reduced the occurrence of the Spotlight results scroll focus change OS bug. -
Scrolling bugs in App World client, Media player and others
I received Playbook only yesterday and it updated its OS to version 2.1
I don't know did these animation bugs appear or no in previous version of Tablet OS, but I think it will not to be.
Scrolling is not smooth in:
App World
Facebook app
Audio player
Anyone knows what's the reason?
Regards.Thanks Roger. But some things I can't understand.
- Why you can't select the Left or Right channel of audio? I have tried with one audio pòdcast I have download, I open it with QuicktimePro and I have all the options aviable for both stereo chanels.
- Since a .mov (h264) is a valid format for iTunes, why is not able to use alternate languages? Is iTunes
unable to manage this alternate tracks? or is not able to publish a podcast in iTunes having alternate tracks? Can this be done outside iTunes? (through a web page and a rss reader)
Excuse me if I am a bit lost and I asking some obvious things. But I have been reading many documentation and I a bit lost about the video-format-forest.
You have a really interesting podcast. I have to carefully listen to it (I'm a jazz musician) -
Scroll bug in search result in contacts
Got a bug in contacts when search result need to scroll (more than 10 results) cant choose last result contact. Its scroll away every time you trying to scroll it.
I'd similar problems.
The search option didn't find many massages I posted.
Searching for JClient gives just a single item !!!!
What's wrong ?
TIA
Tullio -
Parallax scrolling bug for tablet version
Hello,
I have a problem with the tablet version I´m doing for a site, actually this site: www.novaconcepto.com
I used the parallax to stick the menu to the top. Everything works fine in the desktop version and even in the tablet version if I just scroll, but if I click on one of the buttons of the menu it does a parallax move to the right, something that is not in the settings at all. Settings that are just the same for the desktop version.
Why is this happening?
you can see the bug in here:
www.novaconcepto.com/tablet/index.html
(just click in any of the buttons of the menu)
Please, I appreciate any help you can give me with this.
Thanks.
Joao.So weird that you dont get the problem when taping on a menu button. Still, that anchor thing may be the problem cause now that I remeber anchirs where a little bit to the left out of the effective area, so that could be the problem. I'm gonna try changing that and report results.
Thanks so much triquita. -
Safari 6.0 navigation & scrolling bug!!
open a page
scroll to the middle of the page
click a link to navigate to another page
the new page is scrolled to the middle.I take a picture to demostrate the bug. In the new opened page, double click, please notice the selection position and the mouse cursor position.
-
I have been using iPhoto '11 in Mavericks on my iMac and have encountered a minor, albeit irritating, bug. Sometimes when I am browsing photos within an Event, and I right-click the mouse on a photo to bring up the various options (such as Edit in External Editor), the options menu appears very briefly, disappears, and the scroll bar moves a small amount. The options menu disappears so fast that I cannot click on any of them. The problem only arises when there are enough photos in an event to trigger the scroll bar, and even then the problem is intermittent. I have noticed this same problem on another iMac. It only occurs using the mouse, and when I use the double-finger gesture on the trackpad to "right-click", the problem does not arise. Does anyone else have this problem?
A good general step for strange issues is to renew the iPhoto preference file - quit iPhoto and go to "your user name" ==> library ==> preferences ==> com.apple.iPhoto.plist and trash it - launch iPhoto which creates a fresh new default preference file and reset any personal preferences you have changed and if you have moved the iPhoto library repoint to it. This may help
This does not affect your photos or any database information (keywords, faces, places, ratings, etc) in any way - they are stored in the iPhoto library - the iPhoto preference file simply controls how iPhoto works - which is why renewing it is a good first step.
And restart your computer
LN -
When I scroll the names in my address book the name column goes weird and looks like video feedback.
I would show you a picture or a movie but I can't seem to attach it to this message.
Is this a known bug?Hi AA, try this:
Navigate to ~(yourHome)/Library/Preferences/com.apple.AddressBook.plist and delete that file. Then relaunch AddressBook.
-mj
[email protected] -
Scrolling bug in the newest release?
I changed my lib to the newest release (455) and suddenly all upwards scrolling stopped working. Scrolling vertically downwards works, but upwards doesn't.
To scroll I use the
_controller.verticalScrollPosition
After I discovered that bug I changed it back to 452 and it worked again.
Is this a bug?Yes - there was a bug fixed just after 455 was built.
Sorry about that.
Richard
Maybe you are looking for
-
I manually turn off my wifi when leaving home for several reasons: 1. I don't want my wifi to be on and constantly scanning wifi networks while I am away from home due to privacy reasons. Many retail stores and airports are now tracking users based
-
Hooking up DITA structure and house style(s)
OK ... I've never yet managed to get a DITA project up and running to the point where I can work on it every day with a view to delivering something. But today I hope this has finally changed, so I'll start trying to post here and improve my grasp of
-
How to get the GL Daily Balances for an Account
Hi, We need to create a report to see the daily balances (as at date) from 11i GL. Our accounting periods are defined as calender months. Ex: Account Combination X.XXX.XXXX.XXX Balance as at 11-AUG-09 Please let us know the tables which we need to qu
-
Hi, i have installed ACS 5.1.0.44 demo (demo license) on ESX VM 4.0, everything works fine.But i have a problem is the logging. 1- i have configured the ACS to use remote log server, it sends the logs to the server in a very detail way. the question
-
Dreamweaver CS5 - Welcome Screen shows CS4!
Hi, after upgrading Dreamweaver from CS4 to CS5 the welcome screen insists on identifying itself as CS4. What's going on? Win7 64bit All updates installed. I also tried re-installing DW CS5 to no avail. Any suggestions?