Remote desktop app - duplicate title bar when accessed from client machine

Posted by: eswar.darsi on 26 December 2018, 8:56 pm EST

    • Post Options:
    • Link

    Posted 26 December 2018, 8:56 pm EST - Updated 3 October 2022, 4:20 pm EST

    We are facing resolution issue when we publish our application using Window Remote Desktop Services.

    Restore buttons and the title bar become duplicated when we hit maximize button. Once, the title bar is duplicated, when we try to point mouse pointer on any of the restore buttons, focus getting misplaced.

    This works fine if the application runs locally. We are facing issue only when it is published through remote app (remote server) and launch it from client machine.

  • Posted 26 December 2018, 11:47 pm EST

    Point to mention here is, we face the issue with C1Ribbon component and the code lines which are creating the problem is

    Me.VisualStyleHolder = C1.Win.C1Ribbon.VisualStyle.Custom

    c1Ribbon.VisualStyle = C1.Win.C1Ribbon.VisualStyle.Custom;

    Attaching the sample source code, if you publish the exe Windows Server 2012 R2 and access the published app from any machine, you can reproduce the issue

  • Posted 27 December 2018, 3:38 pm EST

    Hello,

    Thank you for sharing the screen-shot and elaborating the issue.

    C1Ribbon had this issue in versions earlier than 2017v3 but one should not observe any similar behavior using any of the versions latter than 2017v3. Therefore, I would suggest you to upgrade ComponentOne using C1Live (C:\Program Files (x86)\ComponentOne\C1Live) and test the issue again.

    However, if you are already using one such version, please do get back to me.

    Thanks,

    Ruchir

  • Posted 28 December 2018, 12:07 am EST

    My sample app is working good with latest version as you suggested. Is there a possibility of hotfix instead of upgrading entire library?

  • Posted 1 January 2019, 6:10 pm EST

    Hi,

    Its good to know that your issue is now resolved using latest version.

    By ‘hotfix’, I understand you are willing to just update C1Ribbon specific dlls and the entire library. If that is the case, I would like to inform you that we suggest customers to use all dlls of same version, since the dlls internally refer other dlls also. So, referencing different version dlls can cause issues.

    What you can do is, keep a local copy of these latest dlls at some location other than C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.0. Then refer these dlls manually for this particular project.

    Thanks

  • Posted 9 January 2019, 10:41 pm EST - Updated 3 October 2022, 4:21 pm EST

    We upgraded our application now.

    We are facing a strange issue with forms having C1Flexgrid.

    When I maximize and close child form, I get error "Cannot access a disposed object

    object name: ‘Icon’. "

    This happens only on Windows 10 not on Windows 7 OS.

  • Posted 10 January 2019, 4:01 pm EST

    Hi,

    I did some research over the issue and it might be related to .Net. Based on following links, I would suggest you to change source code to this.Hide(); / Me.Hide() in FormClosing event

    Reference URLs:

    If it does make any effect, I would request you to share your application. I can then try to replicate issue and research over it.

    Thanks,

    Ruchir

  • Posted 10 January 2019, 6:29 pm EST - Updated 3 October 2022, 4:21 pm EST

    While I am looking into it, I see another issue opening the designer with the error attached.

    If I comment this statement

    Me.cboMasterAgreementVersion.PropBag = resources.GetString("cboMasterAgreementVersion.PropBag")
    

    I don’t get the error.

    cboMasterAgreementVersion is C1Combo

    value we are getting from this statement

    resources.GetString("cboMasterAgreementVersion.PropBag")
    

  • Posted 10 January 2019, 10:44 pm EST

    No luck with the MSDN link that you provided!

    If I apply Me.Hide() to the child form (which is a 3rd recursive child) all the parent children are getting to restore mode from maximize mode and losing their title bar buttons until they get focus again.

    Its a weird problem which I can’t create a sample application for you to reproduce.

  • Posted 13 January 2019, 10:37 pm EST

    Hello,

    PropBag is used to store the default settings for the control, so one should not remove it. Regarding the designer issue, have you downgraded the assembly version referenced in your project ? Also, please share complete stack trace of this issue.

    Now, regarding the title bar issue, I am sorry to say that: Since after using the latest version we do not observe the issue with any application, we need a sample to observe and investigate further.

    ~Ruchir

  • Posted 17 January 2019, 6:26 pm EST

    For the disposed object ‘Icon’ issue, I have attached a sample app.

    You can run Tools project opening the solution file.

    Steps:

    1. Run Tools.exe
    2. On the MDI form, click on “Child form” link (in left hand navigation menu)
    3. Without maximizing the “Child form”, click the same link multiple times
    4. After clicking 3 or more times, maximize any of the child form
    5. Now hit close button to encounter the issue

    This happens when I inherit _BaseCRUD from C1.Win.C1Ribbon.C1RibbonForm but not from System.Windows.Forms.Form

    SampleApp.zip

    Note: This issue occurs only on Windows 10 OS with/without latest patches applied. Windows 7 and 12 R2 are fine.

    We are holding off our production release waiting for resolution on this issue. Could you please provide an ETA for the same?

  • Posted 17 January 2019, 10:16 pm EST - Updated 3 October 2022, 4:20 pm EST

    Hi,

    Thank you for sharing the sample. Following the steps you suggested, I am not able to observe the issue at my end (Win10 1709). See attached video. Do you suggest any additional steps?

    ~Ruchir

  • Posted 17 January 2019, 11:50 pm EST

    More clear sample attached.

    SampleApp.zip

    Issue is when both MDI form and child forms inheriting from RibbonForm

  • Posted 17 January 2019, 11:55 pm EST - Updated 3 October 2022, 4:20 pm EST

    Please find OS details attached.

  • Posted 20 January 2019, 4:26 pm EST

    Any update please? You know we are holding our prod release for this.

  • Posted 20 January 2019, 10:31 pm EST

    Hi,

    Thank you very much for the sample. The issue is actually dependent on OS version, like it does not appear over Win10 1709 but can be seen on WIn10 1803. Hence, I am discussing the developer to fix the issue [ID: 362854]

    Thanks,

    Ruchir

  • Posted 24 January 2019, 12:41 am EST - Updated 3 October 2022, 4:20 pm EST

    Hello again,

    We have MultiColumnDictionary dropdown on C1 FlexGrid grid in one of the column.

    When items are more, it is going above flexgrid and covering the dropdown

    Do we need to fix anything in our code to get it back to previous state?

  • Posted 24 January 2019, 9:44 pm EST

    Hi,

    I can observe it by executing the application on OS:1803/1809 Win10. Hence, it has been reported to concerned team for fix [ID: 364120]

    I will get back to you once it is fixed.

    Thanks,

    Ruchir

  • Posted 27 January 2019, 6:11 pm EST - Updated 3 October 2022, 4:20 pm EST

    Thank you and we are waiting for your early fix.

    Please note, we are noticing dropdown covering itself when expanded, having 1280x720 resolution screens with ComponentOne 4.0.20181.307 version.

    However, the Empty dropdowns image attached here, doesn’t depend on any screen resolution.

  • Posted 28 January 2019, 11:41 pm EST

    Thank you for sharing the information. Our development team is already working over to fix it. If they face any issue or need further information, I will get back to you.

    ~Ruchir

  • Posted 9 April 2019, 3:40 pm EST

    Hi,

    The issue [362854: ObjectDisposedException thrown when in MDI structure, both parent and child forms inherit C1RibbonForm] is fixed with the latest release version. You can either update using C1Live or manually download the assemblies from here:

    http://prerelease.componentone.com/dotnet40/c1winforms/2019-t1/C1WinForms.4_4.0.20191.359.zip

    Thanks,

    Pragati

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels