igvteam / igv

Integrative Genomics Viewer. Fast, efficient, scalable visualization tool for genomics data and annotations
https://igv.org
MIT License
646 stars 387 forks source link

Clicking on rule does not center view in 2.18.0 #1538

Closed kevfengler227 closed 3 months ago

kevfengler227 commented 3 months ago

The left/right scroll arrows do not work.

image

Error when refresh or navigating bam files image image

jrobinso commented 3 months ago

Hi, could you clarify what you mean by "the left or right scroll arrows do not work"? If you mean the arrows on the keyboard I cannot reproduce the problem.

Also, I cannot reproduce your BAM file problem. There might be more information in your igv.log file, located in the "igv" folder in your home directory.

For both problems I will need detailed steps to reproduce. If you cannot share your data you can try to reproduce the problems with the following, use "File > Load from URL..." for genome hg19

gs://genomics-public-data/platinum-genomes/bam/NA12877_S1.bam
kevfengler227 commented 3 months ago

If you click on the arrows pointing left or right with mouse it does not pan left or right

kevfengler227 commented 3 months ago

I'll see if I can pinpoint bam reloading issue...

kevfengler227 commented 3 months ago

keyboard arrows work for panning, but not clicking on arrow

jrobinso commented 3 months ago

The arrow has never been used that way.

kevfengler227 commented 3 months ago

in 2.17.3 it did, once "click and drag to zoom in" was engaged. This is how I navigate around so I noticed the difference immediately.

jrobinso commented 3 months ago

Really it didn't (the arrow that is). Its not an active element its just drawn on a bitmap. I'll try to reproduce what you observed in 2.17.3 but could you describe it more completely? Exactly what steps you took.

jrobinso commented 3 months ago

Oh I see it. That's actually a bug. Its not the arrow, clicking on the ruler should center where you clicked. That does appear to be broken.

jrobinso commented 3 months ago

We'll fix it for the next point release. BTW its not good practice to submit 2 bugs in one issue. I'm going to rename this one for the click, if you have a reproducible BAM problem (with steps I can take to reproduce) open a new issue.

kevfengler227 commented 3 months ago

ah yes, it's not the arrow per se but the ruler. Clicking on the far left or far right of the ruler will advance the view by the same unit left or right in 2.17.3, which is the same as using arrows on keyboard.

will do.

jrobinso commented 3 months ago

This should be fixed in 2.18.1