Bug 19856 - Opacity doesn't work reliably
Summary: Opacity doesn't work reliably
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: 3.4.0
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-05-16 12:00 UTC by eb1
Modified: 2014-05-20 07:59 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Sample program that demonstrates the problem (4.28 KB, application/x-bzip)
2014-05-16 12:09 UTC, eb1
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description eb1 2014-05-16 12:00:11 UTC
Setting the transparency for a form doesn't really work. You can set the opacity before showing the form, but then it's not possible set opacity=1 later on. If you initially show the form with opacity==1 you can't make it transparent later.
Comment 1 eb1 2014-05-16 12:09:25 UTC
Created attachment 6825 [details]
Sample program that demonstrates the problem

The attached sample program demonstrates the problem. By clicking the + and - buttons the opacity of the form should change, but currently it stays the same.
Comment 2 eb1 2014-05-16 12:52:49 UTC
Suggested fix in PR #1040
Comment 3 Alexis Christoforides 2014-05-20 07:59:03 UTC
Merged to master (256e54e2320c3d62b9e73f23cea3de82c5a64056).