This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255896

Summary: On Ubuntu 15.10 missing vertical scrollbars in text editor when editing a long code.
Product: editor Reporter: shd3d
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Missing bar in scrollbar

Description shd3d 2015-10-13 10:10:17 UTC
On Ubuntu 15.10 missing vertical scrollbars in text editor when editing a long code.

Product Version = NetBeans IDE Dev (Build nbms-and-javadoc-245-on-20151004)
Operating System = Linux version 4.2.0-16-generic running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:
  * Open dialog Foo
  * Click on button "Click me"

ACTUAL:
  nothing happens

EXPECTED:
  message pops u
Comment 1 shd3d 2015-10-13 10:10:24 UTC
Created attachment 156684 [details]
IDE log
Comment 2 shd3d 2015-10-14 10:30:04 UTC
Created attachment 156708 [details]
Missing bar in scrollbar
Comment 3 Miloslav Metelka 2015-10-14 10:34:24 UTC
Is it just the editor which is missing the scrollbars or e.g. explorer does not have them too?
Is it happening on an arbitrary file that is longer than the window area or is it specific to a file length or a file type?
Comment 4 Vladimir Voskresensky 2015-10-14 12:08:31 UTC
(In reply to shd3d from comment #2)
> Created attachment 156708 [details]
> Missing bar in scrollbar
Could you try to reproduce with another Look&Feel?
Please, start NB with "--laf Metal"

Thanks,
Vladimir.
Comment 5 shd3d 2015-10-14 12:18:14 UTC
(In reply to Vladimir Voskresensky from comment #4)
> (In reply to shd3d from comment #2)
> > Created attachment 156708 [details]
> > Missing bar in scrollbar
> Could you try to reproduce with another Look&Feel?
> Please, start NB with "--laf Metal"
> 
> Thanks,
> Vladimir.

With Look&Feel Metal is everything OK!
Problem is with Nimbus...

Thanks
Martin
Comment 6 shd3d 2015-10-14 12:18:55 UTC
(In reply to Miloslav Metelka from comment #3)
> Is it just the editor which is missing the scrollbars or e.g. explorer does
> not have them too?
> Is it happening on an arbitrary file that is longer than the window area or
> is it specific to a file length or a file type?

I test on PHP file. Bar vanish when code length exceed about 2000 lines of code (tested on two files, bar vanish when exceed 1957 a 2020 lines of code). I seems like bar is smaller and smaller when code length increasing and in one moment, when is size minimal it vanish.