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

Cross-platform issues #5

Closed
lacymorrow opened this issue Oct 10, 2019 · 16 comments
Closed

Cross-platform issues #5

lacymorrow opened this issue Oct 10, 2019 · 16 comments

Comments

@lacymorrow
Copy link
Owner

ElementaryOS:

  • Unable to drag (CTRL+SHIFT+Arrows works)
  • Unable to hide the settings and rest of the application
  • Toggle lock seems to make the crosshair opacity 100%
  • Resizing the crosshair a bunch leaves behind artifacts in the settings window:

Screen Shot 2019-10-10 at 11 03 56 AM

@lacymorrow
Copy link
Owner Author

Ubuntu:

  • Installs but will not launch

@lacymorrow
Copy link
Owner Author

Windows:

  • Fullscreen apps take precedence, requires running other apps in windowed-fullscreen mode.

@lacymorrow
Copy link
Owner Author

lacymorrow commented Oct 10, 2019

Fix for Linux transparency issues:

if (process.platform === 'linux') {
    app.commandLine.appendSwitch('enable-transparent-visuals');
    app.commandLine.appendSwitch('disable-gpu');
}
	// Linux: disable hardware acceleration when transparent window is enabled
	if (process.platform === 'linux') {
		const configFile = path.join(app.getPath('userData'), 'User', 'settings.json');
		bootstrap.readFile(configFile).then(content => {
			const config = JSON.parse(stripComments(content));
			if (config['window.transparent']) {
				app.commandLine.appendSwitch('enable-transparent-visuals');
				app.disableHardwareAcceleration();
			}
		});
	}

Other possible fixes: electron/electron#2170 (comment)

Related bug: https://code.google.com/p/chromium/issues/detail?id=369209

@lacymorrow
Copy link
Owner Author

lacymorrow commented Jun 23, 2020

Added a test fix for the transparency issues in v0.3.10 and v0.3.11

@wolewd
Copy link

wolewd commented Jan 4, 2021

i got this bug too,
using arch linux with budgie DE
Kernel 5.4.86-1-lts

@lacymorrow
Copy link
Owner Author

Likely we will need to wait for another bug to be fixed in electron before this can be fixed. My apologies.

@lacymorrow
Copy link
Owner Author

I've posted a pre-release version that updates Electron, give it a try and see if it fixes your issue: https://github.com/lacymorrow/crossover/releases/tag/v1.0.1-alpha

@JadedBlueEyes
Copy link

JadedBlueEyes commented Jan 27, 2021

I've posted a pre-release version that updates Electron, give it a try and see if it fixes your issue: https://github.com/lacymorrow/crossover/releases/tag/v1.0.1-alpha

This doesn't fix it for me (fedora 33, xorg, nvidia)

('it' being the window having a black background and not being dragable)

@lacymorrow
Copy link
Owner Author

@JoelEllis thanks for testing! I'm attempting to fix this issue for good, I'll let you know when I have another version to test.

@lacymorrow
Copy link
Owner Author

I believe I have fixed the issue (at least in debian), tested on Mint and Ubuntu. Please try one of the 1.0.2 pre-release versions: https://github.com/lacymorrow/crossover/releases/tag/1.0.2
@JoelEllis @wolewd @marcmascarell

@wolewd
Copy link

wolewd commented Jan 28, 2021

hi, i already test it with arch linux 5.4.92-1-lts
the transparency issue is fixed now, but still i cant move or drag the crosshair

@lacymorrow
Copy link
Owner Author

Excellent, thanks for testing @wolewd

@JadedBlueEyes
Copy link

Yeah, same for me - transparency is fixed, but dragging/arrow keys isn't.

@lacymorrow
Copy link
Owner Author

Tracking for the remaining bug of being unable to move the app window: #46

@lacymorrow
Copy link
Owner Author

There was a bug targeting the wrong window when moving with arrow keys (moves the hidden chooser window instead).

It's fixed in the latest release, tested in Mint, Fedora, and Ubuntu. Sorry @wolewd, Arch is alien to me 👾
https://github.com/lacymorrow/crossover/releases/tag/v1.0.3

@JadedBlueEyes
Copy link

Thanks so much 😄 I really appreciate you doing all this.

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

No branches or pull requests

3 participants