openfrontio / openfrontio/OpenFrontIO

Left click on a building icon make the game freeze and soft lock you from doing anything after that

Open
#5,420 1 comment 0 reactions 0 assignees View on GitHub
not-approved
Dominant language
TypeScript
Stars
2.7k
Forks
1.4k
Avg merge
17h 43m
Merged PRs (30d)
310

Description

**Describe the bug**
When clicking on the port icon, freeze my game at point i can't do anything, not even moving the camera. The game still running in back so i can only watch myself die. Happend two times.

**To Reproduce**
Steps to reproduce the behavior:

1. start a game
2. Left Click on port icon on the bottom (with enouth money to aford one), the hover UI appears. I'm not 100% percent sure if it's a click or a drag and drop. For me it's a left click, but with the action and speed maybe i did a little drag and drop. To be determined
3. The hover UI of the port stay showed, locked and don't dissapear. At this point, you can't close it, and you can't do nothing else. Game still running in background, but you can't send troops, right click, left click, escape, move with drag and drop. You are soft lock
PS : Happend for me 2 times in a raw in two games, with the port icon. Didn't tested if it happens with other structure icons

**Expected behavior**
I expected to be invited to place my port, as if i pressed "3" key of my keyboard.

**Screenshots**
Sorry i F5 the page. I guess you can easly reproduce the bug since it happens 2 times in 2 games for me. Didn't played for a while tho.

**Desktop (please complete the following information):**

- OS: win 11
- Browser : Chrome
- v153.0.8010.36 official build 64 bits

- [ ] I'd like to be assigned to this issue and work on it myself

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the port-icon interaction in Chrome, trying both a left click and a slight drag as described. Trace the interaction entry point for the port icon and compare it with the keyboard "3" action. Done means selecting the port opens placement as expected without locking the hover UI or other game controls.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.