GithubHelp home page GithubHelp logo

Comments (5)

n457 avatar n457 commented on July 17, 2024

Hello @judovana,

It seems like it's a pretty common issue with Linux distributions. And more generally, it's the OS who decides, by default, the position of an application window at start.

I've done some research :
http://stackoverflow.com/questions/12477435/window-appears-off-screen-on-ubuntu
http://blog.vogella.com/2013/06/02/ubuntu-how-to-move-an-application-which-is-displayed-offscreen/

Can you do some research as well to confirm or refute that please ?

Thanks for your feedback ;)

from uncolored.

judovana avatar judovana commented on July 17, 2024

I can not agree that is common issue.  This is only app in last 6 years
which have this behaviour. I guess it is  common problem of certain
framework(s) and/or certain approaches. I was not digging into your code,
but usually  you can control position of newly created window in all
frameworks I had ever encountered.

Just dont close not-a-bug:)

Thanx anyway!
 Best regards from CZ
    J.

---------- Původní zpráva ----------
Od: n457 [email protected]
Komu: n457/Uncolored [email protected]
Datum: 14. 11. 2016 17:07:09
Předmět: Re: [n457/Uncolored] after start, window is centered into middle of
all virtual monitrs, even to not-existing areas (#21)

"

Hello @judovana(https://github.com/judovana),

It seems like it's a pretty common issue with Linux distributions. And more
generally, it's the OS who decides, by default, the position of an
application window at start.

I've done some research :
http://stackoverflow.com/questions/12477435/window-appears-off-screen-on-
ubuntu
(http://stackoverflow.com/questions/12477435/window-appears-off-screen-on-ubuntu)
http://blog.vogella.com/2013/06/02/ubuntu-how-to-move-an-application-which-
is-displayed-offscreen/
(http://blog.vogella.com/2013/06/02/ubuntu-how-to-move-an-application-which-is-displayed-offscreen/)

Can you do some research as well to confirm or refute that please ?

Thanks for your feedback ;)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
(#21 (comment)), or
mute the thread
(https://github.com/notifications/unsubscribe-auth/ACxRS15qOc4hjJeUkTvdpqeFl18w_Bbpks5q-IcogaJpZM4KtYpz)
.

"=

from uncolored.

n457 avatar n457 commented on July 17, 2024

Of course there's a way to position the window with code :) , but in (Un)colored code, I just open a window, there's nothing specific about screens or position.

Moreover, it would be "dangerous" to force the window position at startup. Imagine that the user has a specific external application or setting to handle that ? I don't want to risk a conflict with that.

It may be a bug with the OS or the Electron framework, but it's not a bug with the code I wrote, and I don't want to force the window position for the reasons above ¯_(ツ)_/¯

from uncolored.

judovana avatar judovana commented on July 17, 2024

Yup. I was expecting excuse of "bug in framework, but it's not a bug with
the code I wrote, an" it is just expectable. And thats why I wrote "please
dont close not-a-bug" (or wont-fix ;) )
The reason you specified is hoewer justified.
What about compromise? You can add command line switch, which will center to
current (where mouse is[not exactly comfortable]) or default (not exactly
portable)
It will make you  safe from user's settings, and will make users happy.

Mgr. Jiri Vanek
[email protected]

---------- Původní zpráva ----------
Od: n457 [email protected]
Komu: n457/Uncolored [email protected]
Datum: 14. 11. 2016 18:45:07
Předmět: Re: [n457/Uncolored] after start, window is centered into middle of
all virtual monitrs, even to not-existing areas (#21)

"

Of course there's a way to position the window with code :) , but in (Un)
colored code, I just open a window, there's nothing specific about screens
or position.

Moreover, it would be "dangerous" to force the window position at startup.
Imagine that the user has a specific external application or setting to
handle that ? I don't want to risk a conflict with that.

It may be a bug with the OS or the Electron framework, but it's not a bug
with the code I wrote, and I don't want to force the window position for the
reasons above ¯_(ツ)_/¯


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
(#21 (comment)), or
mute the thread
(https://github.com/notifications/unsubscribe-auth/ACxRS6bma4-zo4ZyXuNcvo2wlnN9tdI-ks5q-J4OgaJpZM4KtYpz)
.

"=

from uncolored.

n457 avatar n457 commented on July 17, 2024

Decision after more tests & researches

from uncolored.

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.