Ticket #1576 (new defect)

Opened 2 years ago

Last modified 9 months ago

Images without alpha channel should not get a transparent background

Reported by: anonymous Owned by: team
Priority: major Component: Core
Version: latest Keywords: bad icon;mappaint
Cc:

Description

In the latest Version of JOSM all images with white background (telephon/toilets) are defect. (I think white is now transparent)

Attachments

Image1.png Download (5.5 KB) - added by anonymous 2 years ago.
Some of the bad icons
01_toilet not visible.png Download (52.4 KB) - added by carolus 23 months ago.
Series of screen shots where we see that a toilet node is only visible in wire frame node.
02_if_you_know_where_to_klick_box_appears.png Download (53.4 KB) - added by carolus 23 months ago.
Series of screen shots where we see that a toilet node is only visible in wire frame node.
03_only_in_wireframe_mode_the_node_is_shown.png Download (51.7 KB) - added by carolus 23 months ago.
Series of screen shots where we see that a toilet node is only visible in wire frame node.

Change History

  Changed 2 years ago by anonymous

  • status changed from new to closed
  • resolution set to wontfix

They are not defect. They have been changed to no longer so omnipresent. If you have special problems with individual icons, name these problems directly and reopen the report.

  Changed 2 years ago by anonymous

  • status changed from closed to reopened
  • resolution wontfix deleted

Ok, but i think they looks now terrible. For example the fuel sign have a white frayed border and if the background is black you can't see them very well.

  Changed 2 years ago by anonymous

  • owner changed from framm to anonymous
  • status changed from reopened to new

  Changed 2 years ago by anonymous

  • owner changed from anonymous to ulfl

Changed 2 years ago by anonymous

Some of the bad icons

  Changed 2 years ago by anonymous

  • priority changed from major to critical

I'm 1/3 through the preset menu. Shall I continue to test every preset for the used icon and then look for icons that have no preset? Or do you see the problem and revert or fix the change that caused it?

  Changed 2 years ago by anonymous

  • owner changed from ulfl to stoecker
  • priority changed from critical to minor
  • summary changed from Images with white backgrounds are defect to Images without alpha channel should not get a transparent background

The change has been reverted to have a hotfix. Neverthelesse the reason is not yet fixed.

BTW: This is in no way a criticial bug. Even if it is major would be subject to discussion.

Error cause: When a PNG image has no alpha channel, JOSM takes the background as alpha channel and makes it transparent. The image optimization removed empty alpha channels from the icons thus triggering that bug in JOSM.

in reply to: ↑ description   Changed 23 months ago by carolus

  • priority changed from minor to major
  • version set to latest

Replying to anonymous:

In the latest Version of JOSM all images with white background (telephon/toilets) are defect. (I think white is now transparent)

Both in JOSM 1043 and JOSM 1042 I see that nodes that are assigned amenity | toilets are not visible in the normal mode. Only in wireframe mode these nodes can be seen in the map window. I just entered a toilet once more where I knew I already entered one last week. Switching to wireframe mode I saw there already was a toilet node. So to save OSM from dublicate nodes, I think the priority should be increased.

Changed 23 months ago by carolus

Series of screen shots where we see that a toilet node is only visible in wire frame node.

Changed 23 months ago by carolus

Series of screen shots where we see that a toilet node is only visible in wire frame node.

Changed 23 months ago by carolus

Series of screen shots where we see that a toilet node is only visible in wire frame node.

  Changed 22 months ago by Hasienda

  • keywords bad icon;mappaint added

another attempt to fix this by providing the same icons black on white without alpha channel found in ticket duplicate #1692

however, this is really annoying, to me too

Q.: I it really a problem to get hands on not-too-much optimized icons with alpha channel? I could make them from the bad ones with The GIMP on the fly ... (please ask hoff dot st at web dot de)

  Changed 19 months ago by stoecker

  • owner changed from stoecker to framm

  Changed 9 months ago by bastiK

  • owner changed from framm to anonymous
  • status changed from new to needinfo

Apparently this is fixed.

Some images are still without alpha channel, e.g. /transport/taxi.png, /misc/landmark/tower.png

However they are displayed correctly on the map.

Maybe the issue is still present for an OS other than Linux. Could someone please check on Windows?

  Changed 9 months ago by bastiK

  • owner changed from anonymous to team
  • status changed from needinfo to new

  Changed 9 months ago by stoecker

I think it depends on Java version. We didn't change anything regarding image display.

  Changed 9 months ago by bastiK

42 of 523 images in styles/standard have no Alpha channel:

./leisure/garden.png
./leisure/nature_reserve.png
./sport/bicycle.png
./sport/chess.png
./sport/centre.png
./sport/riding.png
./hunting_stand.png
./rendering/quarry2.png
./rendering/beach.png
./rendering/quarry.png
./nautical/lock_gate.png
./nautical/marina.png
./nautical/anchor.png
./sightseeing/archaeological.png
./vehicle/cattle_grid.png
./vehicle/motorbike.png
./vehicle/gate.png
./vehicle/car_sharing.png
./vehicle/toll_booth.png
./service/administration/court_of_law.png
./service/emergency_access_point.png
./health/eye_specialist.png
./historic/boundary_stone.png
./religion/muslim.png
./religion/hinduism.png
./religion/jainism.png
./transport/airport/terminal.png
./transport/airport/helipad.png
./transport/turntable.png
./transport/taxi.png
./transport/car.png
./money/bank/vr-bank.png
./misc/information/guidepost.png
./misc/landmark/power.png
./misc/landmark/power/hydro.png
./misc/landmark/survey_point.png
./misc/landmark/water_tower.png
./misc/landmark/tower.png
./misc/landmark/beacon.png
./education.png
./accommodation/camping.png
./accommodation/guest_house.png

Would it help to update them?

Add/Change #1576 (Images without alpha channel should not get a transparent background)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from team. Next status will be 'new'
Next status will be 'needinfo'The owner will change to anonymous
as duplicate The resolution will be set to duplicate. Next status will be 'closed'The specified ticket will be cross-referenced with this ticket
The owner will change from team to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.