digpz Posted December 27, 2006 Share Posted December 27, 2006 I noticed that when I press "Space", nothing happens. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 27, 2006 Share Posted December 27, 2006 Ok? A control must have focus for space to do anything. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
digpz Posted December 27, 2006 Author Share Posted December 27, 2006 I should have explained more. :oops: When I push space, I see the save button go down and when I release space, the button comes back up like a normal command button but the filie dialog doesn't appear. It appears that the file dialog only appears when I click on the save button. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 27, 2006 Share Posted December 27, 2006 Interesting. I'm seeing this too! I just fixed it though. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
digpz Posted December 27, 2006 Author Share Posted December 27, 2006 Thank you. That's the shortest turnaround I've ever experienced for a bug. Are you going to put it in the next beta release? By the way, was it a problem with assigning event handlers? Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 27, 2006 Share Posted December 27, 2006 Yes, it will be in the next release. No, it was not an event handler assignment problem. protected override void OnKeyUp(KeyEventArgs e) { if (e.KeyCode == Keys.Space) { this.drawPressed = false; Refresh(); PerformClick(); // this line of code was missing! } base.OnKeyUp(e); } Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
digpz Posted December 27, 2006 Author Share Posted December 27, 2006 Ah. Thanks for the explanation. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.