[Bug] Long code line is invisible when window is wide



  • Using Chrome 8 (Stable) / Windows 7
    Resolution: 1920x1200 (but not isolated to this resolution)

    Example:
    @PropertyChanges { target: item; x: coords.mouseX - width/2; y: coords.mouseY - height/2; rotation: 0 }@



  • xsacha:

    Have you created a bug report? There isn't much to discuss here...



  • Actually, the problem is that an horizontal scrollbar would be necessary but it's missing. If you f.i. try to select the text, you can scroll horizontally and get the whole line. I'd also suggest a different background color for snippets, so you can easily figure out that it's getting truncated.



  • Xsacha, I'm on Chrome 8.0.552.224 (have all the latest updates) and i see the horiz scroll bar and also the vertical scroll bar .. the vertical one is not necessary here though :)



  • I see none of them (Chromium / Firefox) :|



  • I see both in Chromium 8.



  • [quote author="peppe" date="1292573264"]Actually, the problem is that an horizontal scrollbar would be necessary but it's missing. If you f.i. try to select the text, you can scroll horizontally and get the whole line.[/quote]
    The horizontal scrollbar is not missing here.

    I see:

    • Horizontal Scrollbar
      I don't see:
    • Vertical Scrollbar
    • Any text whatsoever (no matter how much dragging/selecting I do).


  • In firefox the horizontal scrollbar is hidden.



  • This is what I see (Firefox 3.6 / X11):

    !http://img252.imageshack.us/img252/5319/fooo.png!

    [EDIT TO ADD]: the forum shrinks the image, but you can see that scrollbars are missing.



  • Wow, we all get completely different things.

    I get (Chrome 8 / Windows 7):
    !http://img813.imageshack.us/img813/2893/captureok.png(invisible text)!



  • In Opera 11 everything looks OK, so it is probably browser (Chrome) bug.



  • Update!
    It is dependent on how wide the comment area is!

    The bug only occurs when the the max width is reached (about 1400 pixels wide browser maybe?).

    I am using 1920x1200 resolution here.

    If I make my browser window smaller, it displays correctly.

    Tests:
    High-res (smaller than one in topic as comments are indented!)
    @PropertyChanges { target: item; x: coords.mouseX - width/2; y: coords.mouseY - height/2; rot: 0 }@
    Low-res
    @PropertyChanges { target: item; x: coords.mouseX - width/2; y: coords.mouseY; rot: 0 }@



  • I use Chrome 9 (dev) and when I open this thread in maximized browser window I see only the horizontal scrollbar. If I resize the window the text and the vertical scrollbar appears even after I maximized the window again.



  • Yes, that's exactly the problem I get VCsala.
    Seems weird hey?



  • Very weird. Chrome is my favorite browser, but it still has some unpolished angles.



  • In FF 3.6.13 I don't see any horizontal scroll bar.



  • Who said that there wasn't much more to discuss? Sorry.... :(

    As I haven't seen mariusg posting to this thread yet it is probably a good idea to open a bug report on JIRA with all this information.



  • Hi, in FF on windows with a smaller view, I also don't see a scrollbar, but you can scroll with the mouse, if you start selecting and move the mouse to the right? Is this a feature? :-)



  • [quote author="Gerolf Reinwardt" date="1292601355"]Hi, in FF on windows with a smaller view, I also don't see a scrollbar, but you can scroll with the mouse, if you start selecting and move the mouse to the right? Is this a feature? :-)[/quote]

    That is right we can scroll, but cant see the scroll bar. It definitely is a bug.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.