Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Checkbox disappears in Value Prompt object

    Posted Fri September 10, 2021 02:21 AM
    We noticed the following phenomenon in an HTML Report only in the last 2 weeks (worked fine before that):

    In a Checkbox value prompt with "Select UI" set to "Check box group" the check boxes next to the items are mostly not displayed when unchecked. When checked the box becomes visible.
    This behavior is somewhat inconsistent: The list the last visible item in the list has the unchecked box displayed while for all the items above it the unchecked boxes are not displayed. When clicking to check the box, the checked boxes are displayed correctly.
    When scrolling down in the list, the unchecked box does appear for every new at the bottom of the list that becomes visible during scrolling but then disappears as soon as the item moves up and a new item becomes visible at the bottom of the list.


    This happens in both Chrome (Version 93.0.4577.63) and Edge (Version 93.0.961.38) in CA 11.1.7

    Any ideas about the cause or the solution?

    ------------------------------
    Ori
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Checkbox disappears in Value Prompt object

    Posted Sun September 12, 2021 06:21 AM
    As both Edge and Chrome are both based on the same architecture, Chromium, I believe it's likely the latest version broke something.

    I've opened a PMR, but I've been experimenting with possible fixes until IBM releases a hotfix. The first thing I've found is that increasing the size of the image from 16px to 18px does solve allow the checkbox to be visible. The big problem with that is that pixel-perfect reports may be affected by the increased size of the images. If I don't hear back from IBM in a few days I'll post a note about how to implement my fix.

    ------------------------------
    Paul Mendelson
    ------------------------------



  • 3.  RE: Checkbox disappears in Value Prompt object

    Posted Sun September 12, 2021 03:12 PM
    That's strange. I had the same problem, but could not recreate it on current systems 11.1.7 FP3 as well as 11.1.2. Both systems were running on different operating systems...

    Maybe a problem with certain operating systems or web servers?
    What environment do you have in use?

    ------------------------------
    Jens Bäumler
    Senior Consultant and Trainer
    Apparo Group
    ------------------------------



  • 4.  RE: Checkbox disappears in Value Prompt object

    Posted Mon September 13, 2021 02:50 AM
    Edited by System Admin Fri January 20, 2023 04:11 PM
    We are using a CA 11.1.7 FP1 single server installation on Windows Server 2012 R2 Standard.

    ------------------------------
    Ori
    ------------------------------



  • 5.  RE: Checkbox disappears in Value Prompt object

    Posted Mon September 13, 2021 06:10 AM
    Edited by System Admin Fri January 20, 2023 04:13 PM
    additional info. The problem is still in the newest CA Versions. it also depends on the zoom factor.

    Try to change the zoom factor 80% - checkboxes are missing:

    Zoom Factor 90%:



    ------------------------------
    Jens Bäumler
    Senior Consultant and Trainer
    Apparo Group
    ------------------------------



  • 6.  RE: Checkbox disappears in Value Prompt object

    Posted Mon September 13, 2021 09:46 AM
    Jens, thank you for this lead.
    I moved the browser window between different displays (monitors) and also saw that the problem is connected to the zoom definition - in my case not of the browser window but of the display itself:
    With a display resolution of 1920x1080 and a scaling of 100% the problem consists but with the same resolution and a scaling of 125% the problem is solved.

    ------------------------------
    Ori
    ------------------------------



  • 7.  RE: Checkbox disappears in Value Prompt object

    Posted Mon September 13, 2021 09:16 AM
    This has been logged as PH40418 MULTI-SELECT CHECK BOX PROMPT IS NOT RENDERING CORRECTLY IN EDGE VERSION 93.0.961.38

    ------------------------------
    Denise Riou
    ------------------------------



  • 8.  RE: Checkbox disappears in Value Prompt object

    Posted Mon September 13, 2021 11:20 AM
    Until this is fixed, you can manually modify an internal Cognos CSS file to fix it.

    In \analytics\webcontent\bi\pat\hal\hal.css and \analytics\webcontent\pat\hal\hal.css
    Find and change the following:


    to:



    IMG.clsLVRadio,
    IMG.clsLVRadio_checked,
    IMG.clsLVRadio_checked_disabled,
    IMG.clsLVRadio_disabled,
    IMG.clsLVCheckbox,
    IMG.clsLVCheckbox_checked,
    IMG.clsLVCheckbox_checked_static,
    IMG.clsLVCheckbox_static
    {
    height: 16px;
    width: 16px;
    /* This prevents the radio and checkbox images from shrinking when there isn't enough room */
    min-width: 16px;
    vertical-align: middle;
    }

    to

    IMG.clsLVRadio,
    IMG.clsLVRadio_checked,
    IMG.clsLVRadio_checked_disabled,
    IMG.clsLVRadio_disabled,
    IMG.clsLVCheckbox,
    IMG.clsLVCheckbox_checked,
    IMG.clsLVCheckbox_checked_static,
    IMG.clsLVCheckbox_static
    {
    height: 18px;
    width: 18px;
    /* This prevents the radio and checkbox images from shrinking when there isn't enough room */
    min-width: 16px;
    vertical-align: middle;
    }


    For some reason under 18px the checkboxes don't show up consistently. I believe this might be a bug introduced in the latest Chromium release, but this should fix it in the meantime.

    ------------------------------
    Paul Mendelson
    ------------------------------