Giter Site home page Giter Site logo

Comments (14)

turt2live avatar turt2live commented on August 9, 2024 1

This is a common problem in Windows that Riot can't really do much about. There are some tricks to getting the window back such as using the "Cascade windows" option or "moving" it. Some information is available here: https://www.howtogeek.com/howto/windows/bring-misplaced-off-screen-windows-back-to-your-desktop-keyboard-trick/

from element-desktop.

adrian-007 avatar adrian-007 commented on August 9, 2024

As a C++ developer working on Windows, I woudn't call it a common problem. Host window (in this case Electron) doesn't listen to system events and doesn't handle being off-screen very well. I got only a handful of applications that doesn't know how to get back to working display, most native Windows apps react to Win + left / right arrow.

Some time ago I've reported that Riot doesn't remember it's position on the screen between restarts and it was fixed by adding a setting that is saved every time Riot is closing with window last coordinates - and that's good. Bad thing is that Riot doesn't do sanity checks and even after restart it places itself outside of Virtual Desktop region, rendering it unable to get back to visible region (because it doesn't react to common tricks, like alt-tabbing, win+arrows, etc). I'll check provided tricks again tomorrow at work (at home I work on Fedora and I don't have multiple displays).

from element-desktop.

adrian-007 avatar adrian-007 commented on August 9, 2024

Okay, so as expected:

  1. Cascading windows doesn't work
  2. On Windows 10, you don't have such menu on taskbar items that would allow to move them

from element-desktop.

turt2live avatar turt2live commented on August 9, 2024

I only say it's common because I've seen it happen to pretty much every application out there, alongside other people. If riot is able to actually fix it though, that'd be awesome.

from element-desktop.

adrian-007 avatar adrian-007 commented on August 9, 2024

If Electron doesn't listen to system events, then Riot can't do much about it (unless you can listen for it for yourself), but certainly it should be brought up with Electron folks.

from element-desktop.

theoryshaw avatar theoryshaw commented on August 9, 2024

+1
Is there a work around for the time being?

from element-desktop.

theoryshaw avatar theoryshaw commented on August 9, 2024

right click, and maximize...
image

from element-desktop.

adrian-007 avatar adrian-007 commented on August 9, 2024

@theoryshaw

right click, and maximize...

Have you reproduced this problem, tested the solution and you can confirm that it works?

from element-desktop.

theoryshaw avatar theoryshaw commented on August 9, 2024

didn't go that deep. Just wanted to post a solution that helped me.

from element-desktop.

adrian-007 avatar adrian-007 commented on August 9, 2024

If you didn't reproduce it, how do you know that it would help?

from element-desktop.

ostwilkens avatar ostwilkens commented on August 9, 2024

I experience this every time I dock or undock my laptop to my external screen.
Maximizing like @theoryshaw said is my current workaround.

from element-desktop.

oskarakso avatar oskarakso commented on August 9, 2024

right click, and maximize...
image

Works, I had the same problem after changing right monitor to left and moving them on windows screen settings.

from element-desktop.

bradyt avatar bradyt commented on August 9, 2024

I don't see an Element window on macOS. Have tried uninstalling and reinstalling Element. Still no visible window.

from element-desktop.

bradyt avatar bradyt commented on August 9, 2024

Ah, found it, used the "Show all windows", saw a ghost outline, noted that it was slightly below center, and used some special keybindings I have to move frames, I guess I had resized it to take up zero space at some point. Strange that a reinstall doesn't reset that.

from element-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.