Bug 319418 - Freeciv animations don't work
Summary: Freeciv animations don't work
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Oxygen
Classification: Plasma
Component: gtk2-engine (show other bugs)
Version: 4.10
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-06 17:18 UTC by Louis Moureaux
Modified: 2022-05-19 20:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Moureaux 2013-05-06 17:18:16 UTC
Animations in Freeciv-gtk2 (and Freeciv-gtk3) don't work when oxygen style is set. Changing theme make them work.

Steps to reproduce :
1) Open Freeciv, start a new game.
2) Move some unit. An animation should be shown if default settings are used.

See also this forum thread : http://forum.freeciv.org/f/viewtopic.php?f=8&t=53&start=10
Comment 1 Ruslan Kabatsayev 2013-05-06 17:34:06 UTC
Does setting OXYGEN_DISABLE_INNER_SHADOWS_HACK=1 environment variable before running the game change anything?
Comment 2 Louis Moureaux 2013-05-06 18:51:45 UTC
Yes it does, animations run smoothly when set.
Comment 3 Ruslan Kabatsayev 2013-05-12 23:08:58 UTC
Can't seem to reproduce this. I.e. I don't see any animations no matter what GTK theme I use (tried Raleigh and oxygen-gtk with inner shadows hack disabled).
I'm using freeciv 2.3.1 from Ubuntu Precise.
I start new game, then press 'g' and click on some tile. The unit just teleports there as it seems. Is it what should be done to reproduce?
Comment 4 Louis Moureaux 2013-05-13 17:24:42 UTC
I can see animations when doing exactly what you do (press g and click on some tile) and (1) the Raleigh theme is set in systemsettings or (2) the inner shadows hack is disabled. It doesn't work only when using Oxygen with hack enabled.
I'm testing with Freeciv 2.3.2 from Ubuntu Raring and Freeciv 2.4.0beta2 from freeciv.org, and Kde 4.10.2 from project-neon PPA.
I'll try to post a video of how the units should be animated.
Comment 5 Ruslan Kabatsayev 2013-05-13 17:25:52 UTC
(In reply to comment #4)
> I'll try to post a video of how the units should be animated.
Would be useful, thanks.
Comment 6 Louis Moureaux 2013-05-13 21:27:01 UTC
Video showing Freeciv animations with different themes is available at http://ubuntuone.com/1u8yRySgT0PoeeFhFtg58V
Most interesting parts are :
[0:21] Oxygen theme and inner shadows hack enabled: no animations.
[0:53] Raleigh theme: animations work.
[2:12] Oxygen theme and inner shadows hack disabled: animations work.
I've set the unit movement animation duration to 1000 ms in Game > Options > Preferences (at the bottom of the first tab).
Comment 7 Ruslan Kabatsayev 2013-05-13 21:37:43 UTC
OK, thanks, now I definitely can reproduce - I did have to change animation duration from default 30 ms to notice any differences.
Comment 8 Justin Zobel 2021-03-09 23:58:30 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 9 Louis Moureaux 2022-05-19 20:42:13 UTC
Freeciv for Gtk2 is no longer supported. It does work with Breeze in Gtk3.22.