Application hangs after using up/down arrows in scrollbar of scrollarea widget
-
How huge is this QScrollArea ?
-
Can you provide a minimal compilable example that reproduces this behavior ?
-
This post is deleted!
-
I am running a Qt5.15 based application on a embedded Linux platform target. I have a QScrollArea widget to display particular information. There is a scrollbar with up and down arrows.
When I use the scrollbar, the scrolling is smooth. However, when I press and hold the up/down arrow, it starts to scroll and within few seconds, the UI hangs.
Please suggest how to fix this. Let me know if further details are required.
This post is deleted! -
@SGaist , could you please help on this issue? Is this due to Qt framework or my application or root file system or environment variables setting? I want to narrow down the issue.
@Vidya-H If the Qt example is working properly on the target then it means that something is wrong with your application.
Not knowing more about it, one classical way to find the issue is to remove everything from the application then add gradually things back until it breaks again.
-
No it's not a correct approach.
You have to find what is currently slowing down your application.
Like I wrote above, the most basic version of it is starting from scratch adding your elements one at a time to determine what is going wrong.
Another option is to instrument your application and analyse it with a tool such as Hotspot.