Project

General

Profile

Task #696027

Zoom: get from beta to production quality

Added by Jacob Nevins almost 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
gui-gtk-3
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

There are still a few glitches in the Gtk3 clients' zoom functionality. This is an umbrella for ones that aren't fatal.

Currently targeting 2.6.0, but probably won't block it if not done in time.


Related issues

Blocked by Freeciv - Bug #638737: Zoomed out, black background too smallClosed

Blocked by Freeciv - Bug #685279: Unit movement trails at non-default zoom levelNew

Blocked by Freeciv - Bug #696026: Zoom: line artifact in fogged tiles at top of mapview New

Blocked by Freeciv - Bug #697657: Zoom: explosions not drawn properlyNew

History

#1 Updated by Jacob Nevins almost 2 years ago

  • Blocked by Bug #638737: Zoomed out, black background too small added

#2 Updated by Jacob Nevins almost 2 years ago

  • Blocked by Bug #685279: Unit movement trails at non-default zoom level added

#3 Updated by Jacob Nevins almost 2 years ago

  • Blocked by Bug #696026: Zoom: line artifact in fogged tiles at top of mapview added

#4 Updated by Jacob Nevins almost 2 years ago

  • Blocked by Bug #697657: Zoom: explosions not drawn properly added

#5 Updated by Jacob Nevins about 1 year ago

  • Target version changed from 2.6.0 to 2.6.1

I haven't investigated the specific glitches in related tickets, but I don't recall Gtk3 zoom being obviously dodgy when I've briefly tried it in recent times. I think it is probably usable.

#6 Updated by Anonymous about 1 year ago

There is easy way to make such zoom perfect. It would be 3X faster without glitches and easy ( still using a lot of cpu but about 200% less)
1) - remove all that crap
2) - Just scale mapview
3) - scale mouse clicks to fit mapview
4) - draw lines/text after mapview is scaled.

With current zoom every tile is drawn average with 1-5 sprites and each that sprite is scaled.
So probably for 1 tile on average 3 sprites with size of that tile are scaled.
In new zoom it would be 1 scale operation instead 500 like now ( and without scaling 3 sprites to draw 1 tile)

Also available in: Atom PDF