Comments (10)
I'm also seeing a non-drawn canvas on Linux using i3wm for the "Hello" example - though I presumed it was due to the simplified window manager?
is there a "force redraw"?
from fyne.
mmm, so I added a aboutWindow.Canvas().Refresh(aboutWindow.Content())
and that appears to work for my issue.
from fyne.
Thanks for the information. That code will indeed for a complete redraw, but including it in the right place is the trick I guess - where did your addition go to resolve it at your end?
from fyne.
@sbinet Can you confirm what window manager you are using for this? I cannot replicate on my Arch machine...
from fyne.
This is stumping me. Has the content been drawn and then covered, then on reveal it is not drawing correctly? In X11 I think that the window surfaces should be cached.
@SvenDowideit for some reason I could not replicate with i3 either.
Can you please confirm it's the latest fyne and possibly the steps to reproduce the issue?
Thanks!
from fyne.
I am using openbox
:
$> yay -Qi openbox
Name : openbox
Version : 3.6.1-4
Description : Highly configurable and lightweight X11 window manager
Architecture : x86_64
URL : http://openbox.org
Licenses : GPL
Groups : lxde lxde-gtk3 lxqt
Provides : libobrender.so=32-64
Depends On : startup-notification libxml2 libxinerama libxrandr
libxcursor pango imlib2 librsvg libsm
Optional Deps : plasma-workspace: for the KDE/Openbox xsession
python2-xdg: for the openbox-xdg-autostart script
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1215.00 KiB
Packager : Florian Pritz <[email protected]>
Build Date : Mon 25 Jun 2018 11:51:42 AM CEST
Install Date : Mon 25 Jun 2018 08:08:12 PM CEST
I am using:
from fyne.
So this may be openbox/i3wm specific or GPU-driver specific. I am unable to replicate with latest Manjaro (Arch-fork) on amd64 with Cinnamon on an AMD GCN based GPU running on Mesa. I will try on openbox on my system when i get a chance.
from fyne.
let me know if there's something I can do on my side to help you track this down.
from fyne.
I have managed to replicate this with these commands:
Xephyr -br -ac -noreset -screen 800x600 :1 &
DISPLAY=:1 openbox &
DISPLAY=:1 fyne_demo &
This will open a nested display with Xephyr, run openbox in it, and run the fyne demo in it.
from fyne.
Thanks so much for all of this.
It seems that, whilst we had hooked in to the callbacks, it was not refreshing all the time.
This would have affected any Linux WM that does not composite or back buffer windows.
from fyne.
Related Issues (20)
- container.NewScroll does not support horizontal scroll for widget tree object HOT 5
- fyne does not render text from SVG files. HOT 1
- panic if app.New() is not the first method called. HOT 2
- Support Software Rendering for X11 by allowing to disable GLX HOT 13
- Issue with SetSystemTrayIcon when using jpg format
- Licence has self conflicting wording, possible typo HOT 3
- What means MinSize() of Entry? HOT 5
- Is there a separate window.Run function HOT 2
- Production app running a test app when importing Appearance Screen HOT 4
- SetIcon don't work HOT 1
- App freezes when rapidly modifying content of container HOT 5
- fyne package does not work with main package not in the current directory HOT 2
- Android packaging fails: could not determine kind of name for C.ALooper_pollAll HOT 3
- binding.Untyped crashes when set to nil HOT 1
- AppTab does not display blue indicator line if you create it empty and then Append items to it later. HOT 1
- Automatically remove focus from a widget that is no longer in the object tree HOT 6
- Internal support for custom colored fyne.Resource theming. HOT 10
- widget not have Date Picker HOT 2
- blured scaled zoom gui HOT 1
- Form layout allocates a new 2d slice on each MinSize and Layout call HOT 3
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 fyne.