Dungeon map stays small in the middle after going from the quest log (L) to the maximized map (M) inside a dungeon

Abierto Apto para principiantes
#297 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@gOOvER ya está trabajando en esto.

Desde el 17/11/2026.

  • #322 de @gOOvER — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
lua
Área
frontend

Línea de trabajo

Empieza por Map/Window.lua, especialmente por FillScreen alrededor de las líneas 79–87, y luego sigue Refit() hasta ScrollContainer:OnCanvasSizeChanged. Comprueba cómo maximizar o minimizar y mostrar u ocultar el registro de misiones actualiza el lienzo del mapa de mazmorras de Blizzard. El objetivo se cumple cuando el arte del mapa llena la ventana maximizada después de la secuencia L-a-M descrita; verifica el comportamiento sin afectar al mapa del mundo ensamblado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Steps

  1. Inside a dungeon, press L (quest log, windowed map).
  2. Press M (maximized map).
    The dungeon map art keeps the small window's size and sits in the middle of the big window.
    Closing and reopening the map shows it at the right size.

It is Blizzard's own map for that dungeon, not the stitched world map.

Cause (read from the code, not confirmed in game)
Map/Window.lua FillScreen (lines 79-87) calls Refit() only when it actually changes the
frame width:

  if math.abs(map:GetWidth() - w) < 1 then return end
  map:SetWidth(w)
  Refit()

When the width is already the full width, Refit (ScrollContainer:OnCanvasSizeChanged)
is not called, so the canvas keeps the old fit.

Workaround I use
Calling WorldMapFrame.ScrollContainer:OnCanvasSizeChanged() after Maximize/Minimize and
after the quest log shows/hides, when the map is not the stitched one.

Environment

  • WoW Forever (Interface 16001), Korean client (koKR)
  • OpenMap v0.8.9
  • Other addons: Attune, Auctionator, ForeverDungeonJournal, ForeverPowerBars, RogueEnergyCombo
  • Tested with OpenMap disabled: the message in issue 1 stopped appearing (short test, a few minutes)
Lenguaje dominante
Lua
Estrellas
20
Forks
6
Merge medio
19 h 37 min
PR fusionados (30 d)
40

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openmap-world/openmap

Todos los issues de openmap-world/openmap

Issues similares

Más issues de Lua

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.