hotspot icon indicating copy to clipboard operation
hotspot copied to clipboard

Flamegraph is not repainted correctly when zooming out

Open Waqar144 opened this issue 1 year ago • 6 comments
trafficstars

Describe the bug

See the attached video. It is easier to see the problem than describe it:

https://github.com/KDAB/hotspot/assets/7696024/2cdc4d1b-d0f4-4ee1-8acf-5b98becc46f8

To Reproduce Steps to reproduce the behavior:

  1. Open perf.data.perfparser.tar.gz
  2. Zoom into KateApp::init() as much as possible
  3. Zoom out using the "Go back in symbol view history (Alt + Left)" button in the top left corner of the app one step at a time
  4. See dirty regions after 2nd or 3rd step

Expected behavior Regions are cleared properly

Version Info (please complete the following information):

  • Linux Kernel version: 6.6.19-1
  • perf version: 6.7-1
  • hotspot version (appimage? selfcompiled?): master (self compiled)
  • if self-compiled hotspot, what version of elfutils: 0.191-1

Waqar144 avatar Apr 26 '24 10:04 Waqar144

What qt version are you using? I tried with 6.7 and 5.15 but I couldn't reproduce the issue.

lievenhey avatar May 02 '24 10:05 lievenhey

5.15.12

Waqar144 avatar May 02 '24 10:05 Waqar144

thanks, this seems to be a problem only in 5.15.12

lievenhey avatar May 06 '24 10:05 lievenhey

Seems like this issue is back in 5.15.14

Waqar144 avatar Jul 17 '24 14:07 Waqar144

@lievenhey can you investigate please?

milianw avatar Jul 18 '24 13:07 milianw

I just tried an appimage build with qt 5.15.14 and I don't see this issue.

lievenhey avatar Sep 17 '24 13:09 lievenhey