GithubHelp home page GithubHelp logo

Comments (19)

slgobinath avatar slgobinath commented on August 22, 2024 1

This is the behavior in multi-monitor system. Showing an empty screen in non-active monitor and the count down in the active monitor. I will test it in elementary and release the fix soon. Thanks a lot for your effort and reporting the issue.

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024 1

I will check this and release the fix in next version. (It may take some time as I do not use elementary as my major OS and I do not have an external monitor/projector for testing purposes)

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024 1

Thanks @Gabriel-p. Thanks a lot your support. I will test it further and release the product later. Until I release a new version, you can use v1.0.7 because it does not have multi-monitor support. (Please remove the .config/safeeyes directory before starting v1.0.7)

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024 1

Thanks a lot @Gabriel-p. The next break issue is already fixed in the main branch and I hope the new workspace problem is something related to Elementary OS. I wonder whether it automatically moves the fullscreen windows to new workspace. However, I can focus on that issue in later versions. I'll release the new version with the patch.
Once again, thank you for your support to make Safe Eyes a better application :-)

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

Could you please provide some more details.

  • Are you using multiple monitors?
  • Do short breaks show the exercises?
  • Is it reproducible? (Happens for all long breaks or randomly occurs)

from safeeyes.

Gabriel-p avatar Gabriel-p commented on August 22, 2024

Not using multiple monitors.
No breaks shows any exercise.
Happens every time.

Perhaps this is related to workspaces? I noticed that the app launches the break on a new workspace, instead of the current one. This is also reproducible always.

from safeeyes.

Gabriel-p avatar Gabriel-p commented on August 22, 2024

I figured out the issue, and it is indeed related to the workspaces in elementary OS.

When the app starts a break, it switches to a new workspace where a simple black screen is shown. But the original workspace is indeed showing the exercises and the time counter.

Not sure why the app creates a second instance in a new workspace, showing just a black screen. This is the issue that needs to be fixed.

Let me know if I can help you debug this.

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

I have tested in Loki but couldn't reproduce. I'll test it in Freya and let you know.

from safeeyes.

Gabriel-p avatar Gabriel-p commented on August 22, 2024

Sorry @slgobinath, I'm using Loki (64 bit) not Freya.

I have an Nvidia card and am using the 340.98 binary.

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

Could you please check the number of displays shown in Displays app. I remember one of my friend's laptop had such a problem which showed two displays even without connecting external monitor/projector.

from safeeyes.

Gabriel-p avatar Gabriel-p commented on August 22, 2024

Sorry again @slgobinath, but I actually do have a second monitor. It is really a TV connected through HDMI, so I didn't think of it as a "second monitor" at first.

I just tried unplugging the HDMI cable and the screen now does show properly, i.e.: in the (single) monitor I'm using, and in the proper workspace.

So the issue is that when a second monitor is plugged in, the app mistakenly shows a black screen in the monitor I'm using, and the break screen in the other monitor (a TV in my case), when it should be the other way around.

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

No worries :-)
The expected behavior is showing the countdown in the active monitor (The one you are working on, when the break is about to start. It is determined by the active window's location). May I know whether you were working on TV or Computer screen when the break screen appears?

from safeeyes.

Gabriel-p avatar Gabriel-p commented on August 22, 2024

The countdown does show in the active monitor properly, the issue is with the break screen. They show "switched", the full black screen shows in the active monitor en the break screen shows somewhere else.

I'm always working on my computer when this happens, the TV is connected but not even on (I can reproduce this always).

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

@Gabriel-p Could you please help me on testing the fix I have implemented. If possible, please try this and let me know the result:

  1. Remove the safeeys configf directory: rm -r ~/.config/safeeyes (No need to remove the current Safe Eyes installation)
  2. Download the fix-bug-due-to-multiple-displays branch and move to safeeyes/safeeyes directory
  3. Open terminal and execute ./safeeyes

I have added the Skip button, message and count down to all the break screens. Please let me know the output.

Thanks in advance

from safeeyes.

Gabriel-p avatar Gabriel-p commented on August 22, 2024

Ok, here are some comments:

  1. The new notice at the top of the pop up does not update itself if the Interval between two breaks is modified in the settings.
  2. The break screen is now correctly focused when triggered, but it still spawns in a new workspace rather than the one being used. This is a minor issue since once the break screen is gone, one can easily go back to the original workspace.
  3. The second break screen that appeared ("Roll your eyes") got down to 00:01 and it just stopped there. I could not skip it either since the Skip button did nothing when pressed. I had to manually shut it down.
  4. The third break screen ("Rotate your eyes in clockwise direction") showed with a broken timer (it only displayed 00), and again the Skip button did not work.

I terminated the application after this.

from safeeyes.

Gabriel-p avatar Gabriel-p commented on August 22, 2024

Of course @slgobinath, let me know if there's anything else I can help you with.

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

Hi @Gabriel-p I need your help again. I have modified the fix in fix-bug-due-to-multiple-displays branch. Could you please test this branch as you did earlier and let me know the behavior.

(I have purposely disabled the keyboard lock and above other screens feature to make testing less painful. In case you have any issues you can quit the app either from tray menu or from terminal)

from safeeyes.

Gabriel-p avatar Gabriel-p commented on August 22, 2024

Hi @slgobinath. I've been trying the new branch throughout the day and it seems to work fine.
The only (minor) glitches that remain are the two first ones I mentioned:

  1. The Next break notice at the top of the pop up does not update itself if the Interval between two breaks is modified in the settings.
  2. The break screen is correctly focused when triggered, but it still spawns in a new workspace rather than the one being used.

from safeeyes.

slgobinath avatar slgobinath commented on August 22, 2024

Fixed with 98344aa and included in release v1.1.0

from safeeyes.

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.