Comments (29)
I see ... can you show the code your are using? Both, the positioning and updating the background when changing workspaces should work fine. Also check the debug console for errors, which might give some extra clues
from uebersicht.
I use a widget to just the the background blur, with no content. It relies heavily on your example. The full code is:
command: ""
refreshFrequency: 10000
style: """
z-index: -2
bottom: 0px
left: 50%
width: 1440px
height: 210px
margin-left: -(@width / 2)
overflow: hidden
background: rgba(#333, 0.2)
.content
border-radius: 9px
background: rgba(#333, 0.0)
color: #152033
bg-blur = 5px
.bg-slice
position: absolute
top: -(bg-blur)
left: 0
width: 100%
height: 100% + 2*bg-blur
-webkit-filter: blur(bg-blur)
"""
render: (output) -> """
<canvas class='bg-slice'></canvas>
<div class='content'>#{output}</div>
"""
afterRender: (domEl) ->
uebersicht.makeBgSlice(el) for el in $(domEl).find '.bg-slice'
The position was off because I had put in the wrong number for the width, 1540 instead of 1440...
In the debug console I don't get any error, as can be seen in the attached picture.
from uebersicht.
ok, thanks for the info. One other question: Are you on 0.3 (update was released yesterday) already?
from uebersicht.
Yes, but I saw the same behavior on the 0.2 edge version you provided for issue #42
from uebersicht.
I see - hard to tell what is going on. Does it update when you change the wallpaper?
Also can you open the system console (Console app) and search for 'sicht' and post a screenshot here? Thanks!
from uebersicht.
your setup looks nice btw!
from uebersicht.
I have the wallpaper set to change every 15 minutes, and the blurred widgets updates itself in one or, at most, two seconds.
The system console logs are:
where the only error I can see is
10/09/14 17:08:27,379 gkbisd[586]: Unable to collect cdhash for /Applications/Übersicht.app (error code 100024)
One other data point is that sometimes, rarely, I see "ghosting" from the previous blurred pictures into the new one. It's hard to describe, but the next time it happens I'll be sure to capture it. If I tell Übersicht to "Refresh All Widgets", it immediately goes away.
And, thanks for the compliment!
from uebersicht.
The error you are getting seems to be this https://discussions.apple.com/thread/6433525, but I doubt it is related.
I tried your setup (wallpaper changing every 15min and different workspaces) but it wall seems to work fine here. So to find out what might be going on I made a build of Übersicht here with extra debugging information. So maybe you can run that one, switch workspaces a few times and a post the output of the Console app again? You should see messages, like "workspace changed"
from uebersicht.
Tried that, the console output doesn't show any additional information other than the "workspace changed" ones:
from uebersicht.
no worries it already gives me an idea what might be going on :)
from uebersicht.
Ok. I also had the other issue with the ghosting.
As you can see, the blurred image follows the shape of the background picture (see the space between the trees in the center), but has a definite orange tint, and you can also see the shapes that were present in the previous picture, for example immediately to the left of the calendar. And those are not in the current picture...
Should I open a new issue for that, or is it OK to continue posting here?
from uebersicht.
strange! Its ok, no need to start a new issue for that.
So i've updated the link with a new build. You can try that and see if it fixes the issue of switching workspaces
from uebersicht.
The new build solves the spaces issue.
In my limited testing so far, I couldn't see the ghosting issue either.
If it ever presents itself again, I'll reopen the issue with further details.
from uebersicht.
Ok, it happened again. So maybe it's not so rare after all...
The current picture has an almost uniform blue background, whereas the previous one had light and dark stripes as can be seen immediately on the left of the calendar. I don't see any error either in the debug console or in the system console.
Is there any additional test I can make to help in debugging this?
from uebersicht.
Hmm, it almost looks like a bug with the canvas
element. I'll try to clear the canvas before rendering a new wallpaper slice and see if that helps. I'll be quite busy today, but I might have a new build for you this weekend!
from uebersicht.
You can use the previous link to download a new build. I am now explicitly clearing the canvas every time, which will make it a bit more resource intensive but maybe it fixes this issue!
from uebersicht.
With the latex build I can't see any blur. Obviously the widget is the same as before.
The debug console shows an error:
TypeError: 'undefined' is not a function (evaluating 'canvas.clearRect(0, 0, canvas.width, canvas.height)')
from uebersicht.
my bad, should have tested it before :). Fixed and updated the build
from uebersicht.
Nope, sorry. Same behavior. I think the build is the old one, since on the Dropbox page it says "2 h ago".
For the record, the version in the About window is Version 0.3 (10).
from uebersicht.
sorry try again ... dropbox wasn't done syncing when I closed my laptop
from uebersicht.
Seems to be solved now. I haven't seen any issue, even when setting the desktop picture to change every minute (I usually have it change every 15 minutes, it was just to speed up the testing).
from uebersicht.
Sorry, I spoke too soon. I still see the ghosting effect. Still no error in the debug console.
from uebersicht.
sorry for the late response - I will see if I can reproduce this and probably file a bug with apple!
from uebersicht.
In case you updated to Yosemite, can you check if this still happens there?
from uebersicht.
Sorry, not updated yet. I plan to do it during next week. As soon as I do, I'll notify you about they issue.
from uebersicht.
Updated to Yosemite and the latest version of Übersicht, but still seeing the issue.
I see a lot of errors of the type:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://127.0.0.1:41416/widgets/cpu-widget-index-coffee
cpu-widget-index-coffee: sar: drivepath sync code error -4
redraw main.js:473
(anonymous function) main.js:518
j jquery.js:2:26946
fireWith jquery.js:2:27755
x jquery.js:4:10548
(anonymous function) jquery.js:4:14161
Not sure those are relevant, though. After relaunching Übersicht, no more error are present, but the issue is still present intermittently.
from uebersicht.
Thanks for the update. Is one of your widgets using the sar
command, because it looks like that's where the error is coming from.
I am still not sure about the glitch with the wallpapers. Is the element you are rendering the wallpaper in very transparent? In that case it could be that it is just showing the previous wallpaper instead of the current one
from uebersicht.
I am in fact using sar
to get the cpu load, but the relevant widget still seems to work ok, even with the error, that shows up again after a while.
As for the wallpapers, I use an alpha of 0.2, so you may be on to something. The widget code is the same I already posted on September the 10th, if you need to check it. However, I actually see the current wallpaper as blurred, not the previous one.
from uebersicht.
Did a clean install of El Capitan, and the issue does not appear anymore.
from uebersicht.
Related Issues (20)
- Any way to detect when a widget goes from visible to hidden?
- MS Edge losing focus on toolbar menus when Ubersicht is running
- How to find the widget id for specific widget? HOT 2
- Add `eventListener` after render in JSX? HOT 1
- Your GetWidgets page need to be organized by Arch Type
- HELP shell script formatting ignored? HOT 1
- I want to click on the widget with ⌘ + left-click HOT 2
- Sonoma: Uebersicht App does not not show widget list any more (although all widgets were launched properly) HOT 45
- Uebersicht no longer takes full screen height on latest Sonoma beta HOT 50
- Übersicht doesn't prompt for calendar permission in Sonoma HOT 7
- Native Mac OS widgets
- übersicht not starting up on sonoma, the little u icon isn't in the menu bar HOT 1
- Widgets not showing in alphabetical order on Sonoma
- Widget screen selection is lost on macOS Sonoma after sleep HOT 2
- Cannot hide scrollbars in widget when overflow css is *not* set to hidden HOT 1
- THANKS HOT 1
- how does one read a file in a jsx widget? HOT 1
- Feature request: support running commands without a shell HOT 1
- Support streaming inputs ? HOT 1
- Is there an option to focus a widget?
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 uebersicht.