4 Replies Latest reply on Dec 12, 2013 2:31 AM by AlastairMcInnes

    Random scroll bars in web viewer

    AlastairMcInnes

      Title

      Random scroll bars in web viewer

      Post

           Hi,

           We have a remotely-hosted database of bibliographic data about the books we publish. One of the controls on the layout is a web viewer which we're using to display the cover image of the book. The setup is:

           If ( not IsEmpty ( Titles::CoverImageFilename ) ; "data:text/html,<body style='border: 0; margin: 0'> 
           <img src='http://xxx.xx.xx.xxx/covers/" & Titles::CoverImageFilename & "' style='width:100%; height:100%;' />" ; "about:blank" )
            
           Which picks up the value of the filename from the CoverImageFilename field of the database. None of the checkboxes on the WebViewer setup dialog are ticked - so no interaction with the content, no display in Find mode, no progress bar, and no status messages. The images are set to fill the web viewer exactly.
            
           Now, recently, some users have reported that the images are shown with scroll bars in the Web Viewer control. This doesn't happen for all users, even though we're all referring to the same data.
            
           One affected machine has Firefox as its default browser, another has Chrome.
            
           One user tells me that the scroll bars only appear when he increases the magnification to 150%. At 100%, the image fits the viewer and has no scroll bars.
            
           Does anyone have any ideas why this might have started happening, and how to stop it?
            
           Thanks,
           Alastair

      ScrollBarImage.png

        • 1. Re: Random scroll bars in web viewer
          philmodjunk

               One user tells me that the scroll bars only appear when he increases the magnification to 150%. At 100%, the image fits the viewer and has no scroll bars.

               Would seem to explain why they appear and disappear. If the image doesn't fit in the web viewer, you get scroll bars. As I understand it FileMaker uses a 'web kit' from Internet explorer on Windows and from Safari on Macs. Selecting different default browsers thus wouldn't change this behavior.

               Are users looking at the same image and on a computer from the same OS when one users sees scroll bars and another does not?

          • 2. Re: Random scroll bars in web viewer
            AlastairMcInnes

                 I know what you mean about the magnification, but it's just one person that sees that - everyone else (as far as I know) just sees the image being scaled up and down along with the rest of the layout. When I look at the layout, I see the images filling the web viewer exactly, regardless of the zoom level. This is the case for most users, I understand.

                 Both people with the problem are on Windows 7 Professional. I can be looking at an image, and they can be looking at the same image and they'll have scroll bars and I won't.

                 This only started happening in the last few weeks and we haven't changed this feature of the system since it went live about 18 months ago.

            • 3. Re: Random scroll bars in web viewer
              philmodjunk

                   Check and see if "enlarge window contents to improve visibility" is enabled in preferences on one machine and not the other.

              • 4. Re: Random scroll bars in web viewer
                AlastairMcInnes

                     Thanks for the suggestion, but the option wasn't selected on either of the problem machines.

                     Just for completeness, I had one of them tick the box, check, and then untick it, but it didn't make any difference.