Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlay doesn't display ingame #3143

Open
Baardy opened this issue Apr 3, 2017 · 113 comments
Open

Overlay doesn't display ingame #3143

Baardy opened this issue Apr 3, 2017 · 113 comments

Comments

@Baardy
Copy link

Baardy commented Apr 3, 2017

Bug report

Overlay is gone

Expected Behavior

Overlay showing up ingame

Actual Behavior

Overlay never shows up with my deck and my opponents deck ingame or not ingame

@judge2020
Copy link
Member

@azeier
Copy link
Member

azeier commented Apr 4, 2017

This seems to be an issue related to the newest windows update?

@azeier
Copy link
Member

azeier commented Apr 4, 2017

As a temporary workaround: you can enable options (advanced) > overlay > windows to see your and your opponents cards.

@blurrydreams
Copy link

Thanks for that workaround for now. I'm on windows 7 pro.

@Baardy
Copy link
Author

Baardy commented Apr 4, 2017

3:04:43 PM|Info|Core.Initialize >> HDT: 1.1.7.0, Operating System: Windows 7 Ultimate 7601, .NET Framework: 394271
3:04:43 PM|Info|Updater.StartupUpdateCheck >> Checking for updates
3:04:43 PM|Info|Updater.GetReleaseUrl >> Downloading releases file
3:04:44 PM|Info|Updater.GetReleaseUrl >> using 'live' release: https://github.com/HearthSim/HDT-Releases
3:04:45 PM|Info|Updater.SquirrelUpdate >> Checking for updates (ignoreDelta=False)
3:04:47 PM|Info|Updater.SquirrelUpdate >> No new updated available
3:04:47 PM|Info|SplashScreenWindow.ShowConditional >> Showing splashscreen...
3:04:48 PM|Info|ThemeManager.LoadThemes >> Found theme: classic
3:04:48 PM|Info|ThemeManager.LoadThemes >> Found theme: dark
3:04:48 PM|Info|ThemeManager.LoadThemes >> Found theme: frost
3:04:48 PM|Info|ThemeManager.LoadThemes >> Found theme: minimal
3:04:48 PM|Info|GameV2.Reset >> -------- Reset ---------
3:04:48 PM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets
3:04:49 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
3:04:49 PM|Info|MainWindow.SelectDeck >> Switched to deck: [Spark] Mysterious Curator (Wild S36) (v1.0)
3:04:49 PM|Warning|LogReaderManager.Stop >> LogReaders could not be stopped, stop already in progress.
3:04:49 PM|Info|GameV2.Reset >> -------- Reset ---------
3:04:49 PM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets
3:04:50 PM|Info|BackupManager.Run >> Running BackupManager
3:04:50 PM|Info|BackupManager.Run >> Creating backup for today
3:04:50 PM|Info|PluginManager.LoadPlugins >> Loading Plugins...
3:04:50 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
3:04:50 PM|Info|ApiWrapper.UpdateAccountStatus >> Checking account status...
3:04:51 PM|Info|ApiWrapper.UpdateAccountStatus >> Id=0, Username=, Status=Anonymous
3:04:53 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
3:05:01 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
3:05:05 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
3:05:18 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status

@Discordia2023
Copy link

12:50:24 PM|Info|Core.Initialize >> HDT: 1.1.7.0, Operating System: Windows 10 Pro 14393, .NET Framework: 394802
12:50:24 PM|Info|Updater.StartupUpdateCheck >> Checking for updates
12:50:24 PM|Info|Updater.GetReleaseUrl >> Downloading releases file
12:50:25 PM|Info|Updater.GetReleaseUrl >> using 'live' release: https://github.com/HearthSim/HDT-Releases
12:50:27 PM|Info|Updater.SquirrelUpdate >> Checking for updates (ignoreDelta=False)
12:50:29 PM|Info|Updater.SquirrelUpdate >> No new updated available
12:50:29 PM|Info|SplashScreenWindow.ShowConditional >> Showing splashscreen...
12:50:29 PM|Info|ThemeManager.LoadThemes >> Found theme: classic
12:50:29 PM|Info|ThemeManager.LoadThemes >> Found theme: dark
12:50:29 PM|Info|ThemeManager.LoadThemes >> Found theme: frost
12:50:29 PM|Info|ThemeManager.LoadThemes >> Found theme: minimal
12:50:29 PM|Info|GameV2.Reset >> -------- Reset ---------
12:50:29 PM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets
12:50:30 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
12:50:31 PM|Info|MainWindow.SelectDeck >> Switched to deck: Midrange Jade (v1.0)
12:50:31 PM|Warning|LogReaderManager.Stop >> LogReaders could not be stopped, stop already in progress.
12:50:31 PM|Info|GameV2.Reset >> -------- Reset ---------
12:50:31 PM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets
12:50:32 PM|Info|BackupManager.Run >> Running BackupManager
12:50:32 PM|Info|BackupManager.Run >> Backup for today already exists
12:50:32 PM|Info|PluginManager.LoadPlugins >> Loading Plugins...
12:50:32 PM|Info|ApiWrapper.UpdateAccountStatus >> Checking account status...
12:50:33 PM|Info|ApiWrapper.UpdateAccountStatus >> Id=0, Username=, Status=Anonymous
12:50:35 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
12:50:38|Info|LogReader.ReadLogFile >> Found LoadingScreen.log.
12:50:39 PM|Info|GameV2.CurrentMode >> LOGIN
12:50:44|Info|LogReader.ReadLogFile >> Found Rachelle.log.
12:50:51|Info|LogReader.ReadLogFile >> Found FullScreenFX.log.
12:50:53 PM|Info|GameV2.CurrentMode >> HUB
12:50:53 PM|Info|LoadingScreenHandler.CheckMirrorStatus >> Mirror status: Ok
12:50:59 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
12:51:05 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
12:51:06 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
12:51:06 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
12:51:12 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
12:51:16 PM|Info|OverlayWindow.Update >> Refreshed overlay topmost status
12:51:19 PM|Info|Core.UpdateOverlayAsync >> Exited game
12:51:19 PM|Info|Core.UpdateOverlayAsync >> Reset region
12:51:20 PM|Info|LogReaderManager.Stop >> Stopped LogReaders.
12:51:20 PM|Info|GameV2.Reset >> -------- Reset ---------
12:51:20 PM|Info|OpponentSecrets.ClearSecrets >> Cleared secrets
12:51:20 PM|Info|MainWindow.Window_Closing >> Shutting down...
12:51:21 PM|Info|LogReaderManager.Restart >> Restarting LogReaders.
12:51:21 PM|Info|LogReaderManager.Stop >> Stopped LogReaders.

@Discordia2023
Copy link

Discordia2023 commented Apr 4, 2017

What version of windows are you guys on?
Windows 10 Pro x64
Any difference on windowed vs fullscreen?
No difference

My error started when I update my pc (programs, drivers, windows)
Programs - Programs most important avast had a new version of the program.
Drivers - No updates
Windows - Cumulative Update for Windows 10 Version 1607 for x64-based Systems (KB4015438)

@MannimStein
Copy link

MannimStein commented Apr 5, 2017

Windows 10 Pro x 64
for me the issue started before Windows - Cumulative Update for Windows 10 Version 1607 for x64-based Systems (KB4015438) got installed.
Also the last program update of Avast on my system was on March 30th.
I updated the AMD drivers today. And the Avast virus definitions. And Decktracker.
And I think Hearthstone?
No difference Fullscreen vs Windowed.
Also the Player and Opponent windows show only white with the Deck Tracker Symbol half of the time?

@schtrok
Copy link

schtrok commented Apr 5, 2017

Win 8.1 here. Problem started after HDT update. I can get the overlay to work in menu but it disapears ingame. I can actually get it to appear by toggling "hide completely" but then it imediately disapears after changing focus to hearthstone

@DarthPapaBear
Copy link

Same problem for me after Windows 10 most recent update. I was having issues with the overlay disappearing after alt-tabbing to a different window. Quitting and restarting the tracker fixed it. I have a laptop I have not updated Windows on and the tracker is working with no issues. Hopefully this is fixed soon.

@Schugkof
Copy link

Schugkof commented Apr 5, 2017

Got the same problem when iam outside of Hs and i press Hide in menu it show up but as soon as i go back into hs it just dissapears

@azeier
Copy link
Member

azeier commented Apr 5, 2017

Installed all available windows (10) updates on two machines, not able to reproduce it :/.

Maybe some specific setting is causing this? Please try renaming/deleting the %AppData%/HearthstoneDeckTracker/config.xml (options > tracker > settings > open appdata folder) and see if this still happens - close HDT before deleting the file.

Also please make sure you are on the latest HDT version: v1.2.1

@DarthPapaBear
Copy link

Can you please describe how to do that more specifically? Is that a directory? A registry entry?

@azeier
Copy link
Member

azeier commented Apr 5, 2017

  • Go to options > tracker > settings, click open appdata folder
  • Close HDT
  • Delete/rename the config.xml file the now open folder

@DarthPapaBear
Copy link

Yeah, figured it out, but still no love. Any other suggestions? If I go into options and click on one of the 'hide' options, the overlay appears for a second and disappears again if that helps.

@Discordia2023
Copy link

I have the newly formatted pc with a new copy of HDT and it still has the same problem.

@azeier
Copy link
Member

azeier commented Apr 5, 2017

  • If this is an windows update issue - can someone try uninstalling the latest windows updates and check if that fixes it?
  • It's also possible this is an issue with graphics drivers. Please try up/down grading those.

Anyone here, having this issue, with a dev background and willing to debug? I will of course help any way I can.

@DarthPapaBear
Copy link

I don't have a dev background, but I am in school for IT so I'm somewhat savvy. I also have a laptop on which the app is still working. I'll help any way I can.

@gem85247
Copy link

gem85247 commented Apr 5, 2017

having the same issue here windows 8.1, honestly I dont think it has to do with an windows update...

@azeier
Copy link
Member

azeier commented Apr 5, 2017

So, some technical context: I think somehow the overlay window is losing it's topmost state, which should be updated in OverlayWindow.Update, called from the main update loop if hearthstone is in foreground. In addition to that, OverlayWindow.UpdatePosition (also called from the main update loop) calls ShowOverlay to ensure hearthstone is actually the window in foreground and receiving clicks.
The problem is most likely somewhere in this or related to this.

@DarthPapaBear
Copy link

I updated to an optional video driver update and no help. While in the options, I clicked the reset overlay button and the overlay then appears, but when I go back to hearthstone it disappears. I agree that somehow the overlay is losing it's topmost state. Any guesses on a fix or a troubleshooting next step?

@MannimStein
Copy link

For me a rollback of the display driver plus a following reboot solved the issue. Just a simple roleback in the Windows device manager, not even a clean install required.
The issue appeared after I updated the driver and disappeared after I returned to the previous version.
Radeon Software Crimson ReLive Edition 17.4.1 - that's the culprit for me. 17.3.3 works fine.

@DarthPapaBear
Copy link

I rolled back to 17.3.3 and still doesn't work.

@Discordia2023
Copy link

It could be a privilege problem. I tried running the HDT with administrator privileges and for the moment seems to be working as it should be.

I do not know why I did not think of it before ...

Forgive my terrible english.

@Dazamin
Copy link

Dazamin commented Apr 5, 2017

Running as admin seems to work for me too, although it means I can't just have HDT auto start anymore

@MalygosQ
Copy link

MalygosQ commented Apr 13, 2017

THANK YOU FOR UPDATES, Again does not show HDT in the game

@azeier
Copy link
Member

azeier commented Apr 13, 2017

I'm out of ideas then.

@rorgier10
Copy link

the overlay 5,6 and 8 I got working after using overlay 4. the 1.2.3 update does not work even after that... Still when Hide if HS in backrgound is active.

@azeier
Copy link
Member

azeier commented Apr 13, 2017

v1.2.3 has the exact same implementation as 6 does.

@rorgier10
Copy link

Then I have no clue about what is causing it to not work the first time, but everytime after a while the version does work...
(Still don't have the 1.2.3 working, now running on version 6 which is working)

@SquareD-Soft
Copy link

SquareD-Soft commented Apr 13, 2017

Version 1.2.3 works fine for me. But only when "Hide if HS in Background is not activated. Also, the card tooltips which apear when you hover over cards in your decklist or over secrets dont appear anymore.

@BertZZ
Copy link

BertZZ commented Apr 14, 2017

Same issue, Running as Administrator fixed it

@Unphayzd
Copy link

Hi All,

I was having this issue and Running as Admin did not correct this for me. I was able to correct my issue by assigning a hotkey to toggle the Overlay (Options -> Advanced Options -> Hotkeys ->then select "Toggle Overlay" and add new with your custom keybind.

Not sure if this is new information here or not but figured I would post as I could not find the resolution anywhere online.

@WillGresham
Copy link

WillGresham commented Apr 17, 2017

Hopefully this will be useful. I installed HDT a few days ago and saw the issue immediately (v1.2.3). HDT has not previously been installed on this computer. OS is Windows 7 SP1.

Notes on issue:

  • Running as Admin has no bearing on the issue being present for me
  • Issue occurs while game is running in Fullscreen mode only while the 'Hide if HS is in background' option is off
  • Running windowed seems to keep the deck tracker on top regardless
  • Issue happens in regardless of if you're in a menu or a game.

Additionally, the issue does not seems to be occurring when changing focus using Alt+Tab, only when interacting with the HS icon in the task bar or bringing focus back by clicking on the HS window (e.g. multiple screen setup)

Steps to reproduce:

  • Open HDT (Not as Admin, enable show in menu if required, ensure 'Hide if HS is in background' is NOT enabled)
  • Open HS (Ensure Fullscreen)
  • Focus on another application by clicking on it or by tabbing out of HS
  • Using your mouse, either select the HS icon in the task bar, or select the HS window if still visible
  • Repeat the above 2 steps

The HDT overlay disappears for me at this point consistently (Drop and regain focus on HS twice with mouse interaction). As mentioned above, this only seems to be happening in Fullscreen, and when changing focus with the Mouse. Changing application focus with Alt-Tab and/or running HS windowed seems to prevent the issue from occurring. Finally, turning the 'Hide if HS is in background' option on seems to also prevent the issue in Fullscreen.

Edit: Log entries when re-selecting the HS window. this message gets repeated, but overlay is still not visible:
10:58:24 AM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.

azeier added a commit that referenced this issue Apr 26, 2017
@azeier
Copy link
Member

azeier commented Apr 26, 2017

Can someone where running as admin does not fix it, but disabling "hide if HS in background" helps, test whether this version works correctly again if "hide if HS in background" is enabled?

HDT-1.2.3-overlay-9.zip

@rorgier10
Copy link

For me the 1.2.3 overlay9 works for me.

Fun/weird side note: after 2 weeks of just using an older version (1.2.2overlay8) for some reason the 1.2.3 normal version worked for me. not a clue why.

@ImBarryScott
Copy link

I fit the criteria from 2 posts up (really Github, no way to reply directly to a comment?). Hide if HS in background works when it is enabled but the overlay still gets lost if it is disabled and I alt-tab. Win 7.

@azeier
Copy link
Member

azeier commented Apr 27, 2017

Wait, it doesn't work if hide in background is disabled?

@ImBarryScott
Copy link

Let me try and phrase this properly;

With "Hide if HS in background" checked behaviour is normal, if Hearthstone loses focus the overlay disappears and reappears properly upon HS regaining focus.

With "Hide if HS in background" unchecked the overlay disappears after one or two window changes (usually two) and never comes back to the foreground.

Windows 7 Ult, run as admin does not resolve.

@Kamamura
Copy link

Kamamura commented Apr 28, 2017

Hello, I just want to report that the latest version 1.2.3 did not work for me without switching focus to the Decktracker and back. However, the problem seems to have corrected itself with the latest Windows 10 update. The Decktracker now works like it did before the problem appeared. My hypothesis is that Microsoft corrected a bug introduced in the previous update that originally broke the Decktracker.

@azeier
Copy link
Member

azeier commented Apr 28, 2017

Oh that's even better, fantastic news!

@InnerLight
Copy link

InnerLight commented Jun 2, 2017

Before HDT Release v1.2.0 it works fine: any tabbing save the overlay in HearthStone (start using programm from v 1.1.7),
but after this update (and till now) it doesn't work!

Windows 7 x64, no updates were installed (they also disabled). Running as admin. Any options in HDT don't help.

Please, investigate =)

Logs for May, 31, 2017:

hdt_log_1496257317.txt
hdt_log_1496259332.txt
hdt_log_1496261125.txt
hdt_log_1496262876.txt
hdt_log_1496270204.txt

No HDT crash logs were found :)

@ruckus49
Copy link

ruckus49 commented Jun 4, 2017

I had the same problem using any version higher than 1.2.2. I realized I hadn't updated Windows in a long time. Installed the updates and now its working fine when i run as admin. running windows 7 64 ultimate

@InnerLight
Copy link

I can'not install updates - it is unsuitable to me.
And 1.3.5 version slightly improved situation, but not for long. (DT overlay stayed on top of all windows while tabbing - for a few times. And than gone as earlier)

@kitikovich
Copy link

As a temporary workaround: you can bind some button to toggle overlay. It might help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests