Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a part of the screen is blacked when starting hydrogen #297

Closed
trebmuh opened this issue Sep 18, 2015 · 10 comments
Closed

a part of the screen is blacked when starting hydrogen #297

trebmuh opened this issue Sep 18, 2015 · 10 comments
Labels
Milestone

Comments

@trebmuh
Copy link
Member

trebmuh commented Sep 18, 2015

Hi, I just build eed4d32 on an updated debian Jessie.
When I launch it, I've got a part of the screen which is black as following:
hydrogen-bug-1
If I change "velocity" to something else, the black part of the window is refreshed. If I then come back to "velocity", everything works as expected as following:
hydrogen-bug-2
Now, if I'm closing Hydrogen and reopening it, it's back to black.

If you would need some more info, tell me.

@trebmuh trebmuh changed the title back part of the screen when starting hydrogen a part of the screen is blacked when starting hydrogen Sep 18, 2015
@mikotoiii
Copy link
Contributor

I am getting the same thing on the Windows port, except instead of black,
it's a graphical rainbow. It also appears to mess with the scroll bars. It
seems to fix itself on Windows at least when you click on any of the
glictched parts, or scroll the velocity window.
On Sep 18, 2015 6:40 PM, "trebmuh" [email protected] wrote:

Hi, I just build eed4d32
eed4d32
on an updated debian Jessie.
When I launch it, I've got a part of the screen which is black as
following:
[image: hydrogen-bug-1]
https://cloud.githubusercontent.com/assets/8705846/9971693/1e362d4e-5e5e-11e5-81eb-be2559d919ac.png
If I change "velocity" to something else, the black part of the windows is
refreshed. If I then come back to "velocity", everything works as expected
as following:
[image: hydrogen-bug-2]
https://cloud.githubusercontent.com/assets/8705846/9971716/4d7e573e-5e5e-11e5-8ae1-b3128f33f3a3.png
Now, if I'm closing Hydrogen and reopening it, it's back to black.

If you would need some more info, tell me.


Reply to this email directly or view it on GitHub
#297.

@trebmuh
Copy link
Member Author

trebmuh commented Sep 19, 2015

Thanks for your comment. I can confirm that I don't have to play with velocity, pan or other. Clicking somewhere on the black part is successful to get the normal display.

@thijz thijz added the bug label Sep 21, 2015
@thijz thijz added this to the 0.9.7 milestone Sep 21, 2015
@thijz
Copy link
Member

thijz commented Sep 21, 2015

this is something i have also seen on a number of occasions
looks like that part of the gui is not properly initialized ?

@mauser
Copy link
Member

mauser commented Sep 22, 2015

Hi,
this is a very old bug in hydrogen.. I had the impression that i fixed it in 0.9.6, but IIRC we had to remove some parts of my fix since it introduces new problems.

@trebmuh
Copy link
Member Author

trebmuh commented Sep 23, 2015

Thanks for commenting guys. It's not a big bug and it's rather minor since it doesn't look to affect anything more. I just wanted to mentioned it as it could look a bit bugish for a new user. Maybe we can put a note on the release version changelog if the bug is still there.

@thijz
Copy link
Member

thijz commented Jul 15, 2016

fyi: i have this now when i open hydrogen (using code of today : 9ff99e7)

@trebmuh
Copy link
Member Author

trebmuh commented Aug 8, 2016

Hi all, I built Hydrogen from today's GIT (ie: d7dacfe), this bug is still here, and I can confirm what @thijz said in #325 : after choosing to click on the 'dont show this any more' option when starting hydrogen, closing once Hydrogen and restarting it, the bug disappears.
Hope that helps.

@mauser mauser modified the milestones: 0.9.7, 1.0 Nov 6, 2016
@pvint
Copy link
Contributor

pvint commented Dec 14, 2016

I just had this too! Trying not to get distracted from what I am doing, but after I deleted my preferences file, the next startup it happened.

@pvint
Copy link
Contributor

pvint commented Dec 16, 2016

Fixed in 512d903 and pushed to master.

It seems that spawning this dialog after the main app was created caused the corruption. In particular, moving the call to "showDevelWarning()" above the following line was the key:
h2app = new HydrogenApp( this, pSong );
If the devel dialogue gets shown after that, the corruption occurs. (Bad use of a pointer somewhere?)

@trebmuh
Copy link
Member Author

trebmuh commented Feb 27, 2017

I can confirm that it's not here anymore on a fresh rebuild from 3002477
Thanks @pvint !

Added here: https://github.com/hydrogen-music/hydrogen/wiki/New-features-in-Hydrogen-1.0#a-part-of-the-screen-is-blacked-when-starting-hydrogen

@mauser mauser closed this as completed Jun 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants