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

CrossOver doesn't work in Fullscreen mode #64

Open
alecs91 opened this issue Mar 25, 2021 · 19 comments
Open

CrossOver doesn't work in Fullscreen mode #64

alecs91 opened this issue Mar 25, 2021 · 19 comments
Labels
wontfix This will not be worked on

Comments

@alecs91
Copy link

alecs91 commented Mar 25, 2021

It seems that CrossOver doesn't work on EFT:
As soon as i set up the crosshair and then alt-tab in the EFT screen the crosshair disappears.
If i press any keyboard shortcut like alt+ctrl+maiusc+x (or 'h', or whatever) the game screen minimize and it brings me back to the desktop.
Suggestions?
Edit: It works with "screen mode borderless". It doesn't work with "screen mode fullscreen"

@lacymorrow
Copy link
Owner

@alecs91 Unfortunately fullscreen mode doesn't work in most games, however there is a workaround using AutoHotKey https://github.com/lacymorrow/crossover#workaround

@kyle-go
Copy link

kyle-go commented May 17, 2022

@lacymorrow I found a way to work in fullscreen mode.
You can find the code in the link blow.

electron/electron#26350 (comment)

@lacymorrow
Copy link
Owner

@kyle-go What OS and Electron version are you using?

Your example code is almost identical to what I use with crossover already, unfortunately.

I would LOVE to find a workaround to this issue though.

@AndrazPustotnik
Copy link

Any news here yet? :/

@lacymorrow
Copy link
Owner

This is the issue blocking things: electron/electron#26350 (comment)

@AndrazPustotnik
Copy link

I digged into it a little bit. And since fullscreen mode gives app the ability to use the graphic card in fully it means that in order to do overlay on top of that, some kind of gpu library would need to be used like DirectX or OpenGL. It makes whole problem a lot more complicated and if we would be using it on top of video game we may have problems with anti cheat stuff... :/
Ask Discord how they did it :P

@lacymorrow
Copy link
Owner

Most likely a proprietary native extension, which would be hard for me to support as the sole dev on the project.

@GreenMan36
Copy link

I noticed my Steam popped up with a friend launching Crosshair X and I went to check it out and tell him CrossOver is free.
But then I noticed this update post which says they have Exclusive Fullscreen support thanks to the Xbox Game Bar Extension support on Windows 10 and 11.

Maybe this can be looked into? They still have it in Beta but clearly this is an option.
It may require significant work but I think its worth researching, maybe even making an issue or project board for it?

@lacymorrow
Copy link
Owner

Definitely worth researching! Thanks for flagging!

@k9dog-gmail
Copy link

k9dog-gmail commented Apr 14, 2023

Found a workaround X (at least xfce4) windows have an option to go full screen .. now you can alt-tab to browser etc
Collect that with games that only go fullscreen where you can run in vitual desktop and you can actually use it.

@websharik
Copy link

websharik commented Apr 28, 2023

FPS Monitor can working with most fullscreen apps. How ?

I was try draw just red dot use more langs/libs and too cant do it on fullscreen app(

@lacymorrow
Copy link
Owner

@websharik It's written in another language and is injecting itself directly into Vulkan/DirectX.

It's possible (discord does it), but very difficult for one person to maintain in their free time.

@lacymorrow
Copy link
Owner

@GreenMan36 Can I ask what your friend likes about Crosshair X?
I'd love to catch up to the competition... for free

@GreenMan36
Copy link

@GreenMan36 Can I ask what your friend likes about Crosshair X? I'd love to catch up to the competition... for free

I have no clue, I can't remember which friend was using it. A simple plus is that it's available on Steam, with auto updates. Community workshop. The UI looks decent and you can share your configs. It seems to have great crosshair creator. Lots of settings.

One thing I'm not seeing is game-specific crosshair settings. That would be great to have. Auto-hiding and changing the crosshair based on what program is focussed could be super-b.

@lacymorrow lacymorrow added the wontfix This will not be worked on label Feb 7, 2024
Copy link

repo-ranger bot commented Feb 7, 2024

⚠️ This has been marked to be closed in 7 days.

@repo-ranger repo-ranger bot closed this as completed Feb 14, 2024
@lacymorrow lacymorrow reopened this Feb 16, 2024
@Pen9G
Copy link

Pen9G commented Apr 17, 2024

Hello, i think Xbox Game Bar Widget is a good solution for Fullscreen game crosshair overlay. I have used some crosshair widgets on Xbox Game Bar myself, and i tried develop a Xbox Game Bar Crosshair Overlay Widget myself last week, its quite simple because Xbox Game Bar Widget is a common UWP application.

The only problem may be that Xbox Game Bar Widget cannot listen to background mouse events, so "Hide on ADS" needs an extra desktop app to communicate with the Xbox Game Bar Widget. As i know the Xbox Game Bar Version of Crosshair X need the desktop app to run at same time too.

@Danalytics-dan
Copy link

Danalytics-dan commented Jun 13, 2024

Hello, i think Xbox Game Bar Widget is a good solution for Fullscreen game crosshair overlay. I have used some crosshair widgets on Xbox Game Bar myself, and i tried develop a Xbox Game Bar Crosshair Overlay Widget myself last week, its quite simple because Xbox Game Bar Widget is a common UWP application.

The only problem may be that Xbox Game Bar Widget cannot listen to background mouse events, so "Hide on ADS" needs an extra desktop app to communicate with the Xbox Game Bar Widget. As i know the Xbox Game Bar Version of Crosshair X need the desktop app to run at same time too."

It would be a good solution, however there is no target audience while using it.
Xbox game bar uses performance since it has to run while the game is running and so anyone trying to squeeze all performance out of their system will disable it, myself included.

If you don't care about performance and have game bar enabled then the pre-existing electron method is just as good, since you only have to go to bordered fullscreen (which reduces performance, about as much as game bar)

tldr:
-Isn't good for those who want maximum performance
-Is equally good as the existing technique for everyone else
So no-one benefits.

The proper fix to this issue would be to hook into the actual vulkan/directx process (with a more mid level language so that you have higher control over memory etc such as C++), in order to get Best performance and functionality. Doing this would require a lot of work though which is why only paid products such as Hudsight support it, so that the devs can spend more time developing it.

@Pen9G
Copy link

Pen9G commented Jun 14, 2024

tldr:
-Isn't good for those who want maximum performance
-Is equally good as the existing technique for everyone else
So no-one benefits.

I actually don't think Xbox Game Bar will cause any obvious game performance reduce, at least compared to toggling Exclusive Fullscreen to Fullscreen. I've been using Xbox Game Bar in games like Hunt: Showdown, and I never notice any FPS drop after activating Xbox Game Bar(I make sure no Game Bar process was running).

Besides, the fact that some Crosshair overlay app such as CrosshairX have their own Game Bar edition indicates the advantages of Xbox Game Bar over solutions just not using Exclusive Fullscreen, right?

@Danalytics-dan
Copy link

Danalytics-dan commented Jun 14, 2024

I actually don't think Xbox Game Bar will cause any obvious game performance reduce, at least compared to toggling Exclusive Fullscreen to Fullscreen. I've been using Xbox Game Bar in games like Hunt: Showdown, and I never notice any FPS drop after activating Xbox Game Bar(I make sure no Game Bar process was running).

Besides, the fact that some Crosshair overlay app such as CrosshairX have their own Game Bar edition indicates the advantages of Xbox Game Bar over solutions just not using Exclusive Fullscreen, right?

Xbox game bar cannot be disabled apart from with special tools, such as Atlas OS or with tweaking software - or removing permissions from running in the background. People trying to squeeze every % of performance out of their pc will try to reduce as many windows background processes as possible including game bar.

While game bar might not lose quite as much fps as Exclusive Fullscreen it still will do and so for those trying to get as much performance it isn't viable.

tldr:
-slightly better for those who don't care about performance
-people who care seriously about performance still won't use it
-takes effort to implement

Having said that, a toggle-able option would be better than nothing of course for the niche people it would benefit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

9 participants