2025-07-19 10:29 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001924Spring engineLuapublic2010-06-19 23:17
ReporterSirMaverick 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version0.80.0.0+git 
Summary0001924: gui elements disappear with DrawInMiniMap()
DescriptionCA, all widgets are disabled. Reduced MinimapEvents widget see below. If I enable it spring's console, resbar and tooltip disappear.

Does not happen in BA.
Additional Informationfunction widget:GetInfo()
  return {
    name = "MinimapEvents",
    desc = "Display ally events and battle damages in the minimap",
    author = "trepan",
    date = "Jul 16, 2007",
    license = "GNU GPL, v2 or later",
    layer = 0,
    enabled = true -- loaded by default?
  }
end

function widget:DrawInMiniMap(xSize, ySize)
end
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (7,433 bytes) 2010-05-12 22:23 -
    LogOutput initialized.
    Spring 0.81+.0.0
    Build date/time: May 12 2010 13:59:06
    Available log subsystems: LuaLobby, CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound
    Enabled log subsystems: Sound
    Enable or disable log subsystems using the LogSubsystems configuration key
      or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
    using configuration source "/home/spring/.springrc"
    [CMyMath::Init] CPU SSE mask: 120, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  0
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 0,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Linux
    OS: 32bit native mode
    Using read-write data directory: /home/spring/.spring/
    Using read-only data directory: /home/spring/spring/spring/install-0.81.0-813-g019c1af-RelWithDebInfo/share/games/spring/
    Scanning: /home/spring/spring/spring/install-0.81.0-813-g019c1af-RelWithDebInfo/share/games/spring/base
    Scanning: /home/spring/.spring/maps
    Scanning: /home/spring/.spring/mods
    Failed to scan /home/spring/.spring/mods/XTAPEV96.sdz (missing files, could not determine archive type)
    Scanning: /home/spring/.spring/packages
    Failed to scan /home/spring/.spring/packages/aeebcb331fd78b34e5a32ccb5e61217c.sdp (missing files, could not determine archive type)
    Failed to scan /home/spring/.spring/packages/092009e8ba206009592eb32eb2824d86.sdp (missing files, could not determine archive type)
    Supported Video modes: 1680x1050, 1440x900, 1400x1050, 1360x768, 1280x1024, 1280x960, 1152x864, 1024x768, 960x600, 960x540, 840x525, 832x624, 800x600, 720x450, 720x400, 700x525, 680x384, 640x480, 640x400, 640x350, 512x384, 400x300, 320x240, 320x175
    Video mode set to 1680x1004/32bit (windowed)
    [      0] SDL:  1.2.13
    [      0] GL:   3.2.0 NVIDIA 195.36.15
    [      0] GL:   NVIDIA Corporation
    [      0] GL:   GeForce 9800 GT/PCI/SSE2/3DNOW!
    [      0] GLEW: 1.5.3
    [      0] Joysticks found: 0
    [      0] Joystick 0 not found
    [      0] Loading startscript from: /home/spring/.spring//script.txt
    [      0] Connecting to local server
    [      0] Starting GameServer: 5 ms
    [      0] Starting demo recording
    [      0] Using map Comet Catcher Redux
    [      0] Recording demo demos/20100512_222220_Comet Catcher Redux_0.81+.0.sdf
    [      0] Using mod Complete Annihilation $VERSION
    [      0] Using mod archive ca.sdd
    [      0] Loading client data: 235 ms
    [      0] User number 0 (team 1, allyteam 0)
    [      0] Sound: OpenAL info:
    [      0] Sound:   Vendor:     OpenAL Community
    [      0] Sound:   Version:    1.1 ALSOFT 1.11.753
    [      0] Sound:   Renderer:   OpenAL Soft
    [      0] Sound:   AL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
    [      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
    [      0] Sound:   Device:     ALSA Software
    [      0] Sound:   Available Devices:  
    [      0] Sound:                       PulseAudio Software
    [      0] Sound:                       ALSA Software
    [      0] Sound:                       PortAudio Software
    [      0] Sound: air absorption enabled, value: 0.1
    [      0] Sound:  parsed 5 sounds from gamedata/sounds.lua
    [      0] Loading sounds: 4769 ms
    [      0] Camera and mouse: 70 ms
    [      0] Parsing unit icons
    [      0] Loading GameData Definitions
    [      0] WARNING: removed blastwingmine unitDef, missing model file  (BLASTWING)
    [      0] WARNING: removed corjamt2 unitDef, missing model file  (CORJAMT)
    [      0] WARNING: removed corroach_mine unitDef, missing model file  (CORROACH)
    [      0] WARNING: removed the "blastwingmine" entry from the "concept_factory" build menu
    [      0] WARNING: removed the "corjamt2" entry from the "concept_con" build menu
    [      0] Loading all definitions:  0.318000
    [      0] Loading GameData Definitions: 423 ms
    [      0] Parsing Map Information
    [      0] Loading SMF
    [      0] Loading Map
    [      0] Calculating smooth height mesh
    [      0] Calculating smooth mesh: 175 ms
    [      0] Number of damage types: 10
    [      0] Creating unit textures
    [      0] Loading weapon definitions
    [      0] Could not load sound from def: newboom
    [      0] Could not load sound from def: newboom
    [      0] Could not load sound from def: newboom
    [      0] Could not load sound from def: newboom
    [      0] Loading unit definitions
    [      0] Loading feature definitions
    [      0] Initializing map features
    [      0] Reading estimate path costs
    [      0] Pathing data checksum: fe0b7f03
    [      0] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)
    [      0] Loading .smt tile-file "maps/Comet Catcher Redux.smt"
    [      0] Loading 11041 tiles from file 1/1
    [      0] Reading tiles
    [      0] Reading tile map
    [      0] generating MipMaps: 10 ms
    [      0] Creating Projectile Textures
    [      0] Creating sky
    [      0] Loading console: 0 ms
    [      0] Loading LuaRules
    [      0] Jump Jet Defs error checking begining..
    [      0] .. Jump Jet Defs error checking complete
    [      0] Loading gadget: Lua unit script framework  <unit_script.lua>
    [      0]   Loading unit script: scripts/carrydrone.lua
    [      0]   Loading unit script: scripts/nanotower.lua
    [      0]   Loading unit script: scripts/blastwing.lua
    [      0]   Loading unit script: scripts/cafus.lua
    [      0]   Loading unit script: scripts/coravp.lua
    [      0]   Loading unit script: scripts/m-6.lua
    [      0]   Loading unit script: scripts/lotus.lua
    [      0]   Loading unit script: scripts/aegis.lua
    [      0]   Loading unit script: scripts/corroach.lua
    [      0]   Loading unit script: scripts/corsumo.lua
    [      0]   Loading unit script: scripts/cia.lua
    [      0]   Loading unit script: scripts/logheavymine.lua
    [      0]   Loading unit script: scripts/novheavymine.lua
    [      0] Doesn't count initialized
    [      0] LUARULES-DRAW  (GADGETS)
    [      0] Doesn't count initialized
    [      0] LUARULES-DRAW  (GADGETS)
    [      0] Loading LuaGaia
    [      0] Loading LuaUI
    [      0] This mod has locked LuaUI access
    [      0] Using LUAUI_DIRNAME = LuaUI/
    [      0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
    [      0] LuaUI: bound F11 to the widget selector
    [      0] LuaUI: bound CTRL+F11 to tweak mode
    [      0] Jump Jet Defs error checking begining..
    [      0] .. Jump Jet Defs error checking complete
    [      0] Loaded widget:  CALayout            <ca_layout.lua>
    [      0] LuaUI v0.3
    [      0] Finalizing...
    [      0] Connection attempt from unnamed
    [      0]  -> Version: 0.81+.0.0
    [      0]  -> Connection established (given id 0)
    [      0] Player unnamed finished loading and is now ingame
    [      0] GameID: 0b0eeb4b7170736ab5f4a6601cdf4421
    [      0] unnamed added point: Start 1
    [      0] STATS:plist,unnamed
    [      1] Skirmish AI "Bot1" took over control of team 0
    [     48] Wind Range: 0 - 2.5. Max Windmill altitude bonus is: 14%
    [    177] Removed:  LuaUI/Widgets/ca_layout.lua
    [    445] Loading:  LuaUI/Widgets/minimap_events.lua
    [    466] Removed:  LuaUI/Widgets/minimap_events.lua
    [    484] Loading:  LuaUI/Widgets/minimap_events.lua
    [    501] Removed:  LuaUI/Widgets/minimap_events.lua
    [    660] /quit
    [    660] User exited
    [    660] Path cache hits 0 0%
    [    660] Path cache hits 0 0%
    [    660] Statistics for local connection:
    Received: 2030 bytes
    Sent: 6314 bytes
    
    txt file icon infolog.txt (7,433 bytes) 2010-05-12 22:23 +
  • jpg file icon draw.jpg (890,089 bytes) 2010-05-12 22:36

-Relationships
+Relationships

-Notes

~0004909

SirMaverick (reporter)

minimap, info, fps and clock do not disappear.

~0004910

SirMaverick (reporter)

Last edited: 2010-05-12 22:38

Happens also with CustomFormations2 (the one provided in CA). DrawInMiniMap in this widget is only active when you draw the line (UpdateWidgetCallIn...). So it only happens when callin is active?
Now resbar doesn't disappear.

And some of the buttons from menu lose there background (randomly, number differs). This loss can be permanent.

~0004912

SirMaverick (reporter)

First broken commit:
http://github.com/spring/spring/commit/6022e40d2d68c69b4063a74635c401473fa29010

~0004914

jK (developer)

can't reproduce

~0004915

SirMaverick (reporter)

I can, with default setup for spring, lups and CA.

~0004994

Kloot (developer)

Was fixed again with a workaround (http://github.com/spring/spring/commit/35b8e7930ccf4151c085db45371e42ccfe35c333).
+Notes

-Issue History
Date Modified Username Field Change
2010-05-12 22:23 SirMaverick New Issue
2010-05-12 22:23 SirMaverick File Added: infolog.txt
2010-05-12 22:28 SirMaverick Note Added: 0004909
2010-05-12 22:35 SirMaverick Note Added: 0004910
2010-05-12 22:36 SirMaverick File Added: draw.jpg
2010-05-12 22:38 SirMaverick Note Edited: 0004910
2010-05-13 12:43 SirMaverick Note Added: 0004912
2010-05-13 17:09 jK Note Added: 0004914
2010-05-13 17:42 SirMaverick Note Added: 0004915
2010-06-19 23:17 Kloot Note Added: 0004994
2010-06-19 23:17 Kloot Status new => resolved
2010-06-19 23:17 Kloot Fixed in Version => 0.80.0.0+git
2010-06-19 23:17 Kloot Resolution open => fixed
2010-06-19 23:17 Kloot Assigned To => Kloot
+Issue History