Comments (19)
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.
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.
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.
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.
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.
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.
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.
I have tested in Loki but couldn't reproduce. I'll test it in Freya and let you know.
from safeeyes.
Sorry @slgobinath, I'm using Loki (64 bit) not Freya.
I have an Nvidia card and am using the 340.98 binary.
from safeeyes.
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.
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.
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.
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.
@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:
- Remove the safeeys configf directory:
rm -r ~/.config/safeeyes
(No need to remove the current Safe Eyes installation) - Download the fix-bug-due-to-multiple-displays branch and move to safeeyes/safeeyes directory
- 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.
Ok, here are some comments:
- 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. - 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.
- 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. - The third break screen ("Rotate your eyes in clockwise direction") showed with a broken timer (it only displayed
00
), and again theSkip
button did not work.
I terminated the application after this.
from safeeyes.
Of course @slgobinath, let me know if there's anything else I can help you with.
from safeeyes.
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.
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:
- The
Next break
notice at the top of the pop up does not update itself if theInterval between two breaks
is modified in the settings. - The break screen is correctly focused when triggered, but it still spawns in a new workspace rather than the one being used.
from safeeyes.
Fixed with 98344aa and included in release v1.1.0
from safeeyes.
Related Issues (20)
- Add an option to postpone breaks from the tray menu
- Stopped working after updating to Gnome 45
- Safe eyes genrating error on start HOT 2
- Not working with python 3.12 HOT 1
- Stop requiring the "plugins" option from the configuration file
- Stop changing the safeeyes.json file HOT 4
- Improvements to health statistics
- Local function names should match
- Improvements to "interpret idle as break"
- New release with Python 3.12 support? HOT 30
- Transparency not working on Wayland HOT 2
- While reading - safe eyes should also know am using a computer my computer HOT 3
- Add option to disable "skip" and "postpone" buttons for N seconds after break starts HOT 2
- When deleting a break, there is a chance it hangs forever on closing the settings screen, and on subsequent startup. HOT 2
- wlrctl / fullscreen detection doesn't work on kde wayland HOT 1
- Please update translation files to Weblate HOT 7
- Updated to Linux kernel 6.8.8-zen - safeeyes not starting HOT 6
- Can't run safeeyes after upgrading python. HOT 1
- Crashes for Ubuntu 24.04 HOT 4
- [2.1.7, 2.1.8, Git `master`] Plugin `smartpause` calls `disable_safeeyes` with unsupported signature, causing display of a backtrace HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safeeyes.