Ticket #2428 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

(windows) Identify Features tool returns incorrect band values

Reported by: dr Owned by: ersts
Priority: major: does not work as expected Milestone: Version 1.5.0
Component: Rasters Version: Trunk
Keywords: Cc: dr, gislab, alexbruy
Platform Version: Platform: Windows
Must Fix for Release: No Awaiting user input: no

Description

1. Open any RGB raster and zoom it to high scale;
2. Click on any pixel and identify band values;
3. Set color from previous step as transparent;
4. At result - another pixel becomes transparent.
For more detail see video:  http://www.screencast.com/users/gislab/folders/Jing/media/7a50cf47-c461-4236-b45d-1196fc5f4dd5

Change History

  Changed 3 years ago by lutra

Hi,

I cannot replicate it here with trunk under linux. Can you post please a sample of the data you are using?

  Changed 3 years ago by dr

This bug I've reproduced on different rasters. For example  http://gis-lab.info/share/DR/l5_19880625.img

  Changed 3 years ago by lutra

Just tested the raster you linked and it works fine under linux and qgis trunk. I'll check also under xp and report back.

  Changed 3 years ago by lutra

  • owner changed from nobody to ersts
  • platform changed from All to Windows

Ok, is confirmed that the issue happens under windows but not linux. Any Mac to test it?

  Changed 3 years ago by dr

Thanks for testing it. Sorry I don't have possibility to test bug under Mac OS.

  Changed 3 years ago by lutra

Hi,

I think that the title of this ticket does not really match the described issue. What about changing it? maybe something like "(windows) setting transparent colours applies to wrong pixels"?

cheers

  Changed 3 years ago by dr

I'm not sure that issue is connected with transparency. Seems that it is Identify Feature tool issue.

follow-up: ↓ 9   Changed 3 years ago by dr

If you try to click in different place of pixel you will get different values of bands.

in reply to: ↑ 8   Changed 3 years ago by lutra

Replying to dr:

If you try to click in different place of pixel you will get different values of bands.

ok, I didn't noticed it.

  Changed 3 years ago by kyngchaos

Works on OSX.

  Changed 3 years ago by lutra

  • summary changed from Identify Features tool returns incorrect band values to (windows) Identify Features tool returns incorrect band values

  Changed 3 years ago by dr

  • status changed from new to closed
  • resolution set to worksforme
Note: See TracTickets for help on using tickets.