Bug Report T615730
Visible to All Users

PictureEdit - An image is flickering when DirectX is enabled

created 7 years ago

[DevExpress Support Team: CLONED FROM T590737: How to enable DirectX in PictureEdit]
I'm seeing some flickering of the PictureEdit background picture (shown as some null value) on mousehover/tooltip. Unfortunately Camtasia is unable to capture the flicker. I'm still trying to isolate the problem…

Show previous comments (11)
DevExpress Support Team 7 years ago

    Hello Alex,

    We have fixed the issue, so now PictureEdit does not flicker in this scenario. However, I would like to mention that if you set this property in OnCreateControl, a regular GDI-mode will be used. If you want to enable DirectX Hardware Acceleration at the descendant level, I suggest you set the UseDirectXPaint property in the editor's constructor (before its handle is created). Let me know if anything remains unclear. I will elaborate on these points.

      Hi Aleks,

      Thanks all is clear. I will test it in the next release and report back any problem. Thanks for the quickfix.

      Alex

      DevExpress Support Team 7 years ago

        You are always welcome, Alex. Do not hesitate to contact me if you have any other questions or concerns.

        Answers approved by DevExpress Support

        created 7 years ago (modified 7 years ago)

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Show previous comments (1)
          DevExpress Support Team 7 years ago

            I am happy to hear that everything works fine now! Thank you for letting us know about that. Yes, we will definitely consider improving the current behavior. Our developers are already researching the possibility of enabling DirectX Hardware Acceleration even after the handle is created. Do not hesitate to contact me if you have any other ideas that may help us improve our product.

              Hello,

              I'm having this issue with the AccordionControl created by the FluentDesignForm. The control flickers when moving the mouse above it when UserDirectXPaint is set to DefaultBoolean.True.
              Even though I specified to use DirectX in the DevExpress Project Settings page, the DefaultBoolean.Default value does not make it flicker. I conclude from that that it must be using GDI+ but I'm not sure of it.

              I'm testing on Windows 10 with version 18.1.3 and dxdiag tells me that dx11 is supported.

              Should I make a separate ticket for this ?

              Redards,

              Grégory

              DevExpress Support Team 7 years ago

                That's right, Grégory, it is better to discuss this issue in a separate ticket. I've gone ahead and created it on your behalf - FluentDesignForm - AccordionControl flickers on mouse hovering when DirectX Hardware Acceleration is enabled. I will address it shortly.

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.