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.
using new welcome screen, running in ja locale on solaris, at 14pt font, with pseudo localized netbeans. there is a vertical scrollbar that appears when all text cannot show but there is not a horizontal sbar, which means user might need to resize the welcome window all the way across the entire ide, or enlarge ide itself, to be able to show all parts. (this is not about initial startup, but when other windows are used in the ide main window. or if user needs to lessen welcome window size since they want to use other windows like explorer, navigator, etc. Editor has both horizontal and vertical scrollbars when needed as does explorer, navigator.
reassigning to jano - pls evaluate and decide whether we want horizontal scrollbar in the new welcome screen
Please attach a screenshot showing the wrong behavior. If the horizontal scroll bar is suppressed, then the content should wrap. But I need to see it how it really looks like.
attaching 2 gifs; I'm not seeing wrapping happening. ken.frank@sun.com
Created attachment 47631 [details] image
Created attachment 47632 [details] image
I don't think that the truncated labels are a big issue. Is it possible to come up with shorter labels when localizing? And Stando, can we set a threshold number to 600 pixels? If the available width is smaller and preferred width of the welcome page is bigger, then show the horizontal scroll bar? It's something like a web page you can make narrower, but at some point it would show the scroll bar.
> And Stando, can we set a threshold number to 600 pixels? If the available width is smaller and preferred width of the welcome page is bigger, then show the > horizontal scroll bar? It's something like a web page you can make narrower, but at some point it would show the scroll bar. done: /cvs/ide/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v <-- WelcomeComponent.java new revision: 1.18; previous revision: 1.17
shorter labels when localizing - thats not seem possible since translators should not need to construct or force some shorter labels, and also since in some languages for which nb will be translated, the words might be longer than in english anyway. I think its really just another resize kind of situation, that windows should allow showing all of their contents or provide another way, like sbars to do it. ken.frank@sun.com
I see horizontal sbar appear at some point, but then it goes away when widen the start page overall window, but when this happens, the pseudo localized labels are still not all seen. it seems the horiz sbar should still be present. ken.frank@sun.com
seen on windows also, not even using a --fontsize argument. ken.frank@sun.com
Stando, is it a problem with the implementation? Or is it a design problem?
i've improved the horizontal scrolling a bit. the minimum width is 600 pixels and it's also increased if the font size is increased. so the whole content should be visible if bigger fonts are used. there's not much i can do about localized labels being too long. if i increase the minimum width then we'll get horizontal scrollbar even in english version of the ide on 1024x768 resolutions. please reopen if you think this fix is not good enough. /cvs/ide/welcome/src/org/netbeans/modules/welcome/ui/AbstractTab.java,v <-- AbstractTab.java new revision: 1.3; previous revision: 1.2 done Checking in ui/Tabs.java; /cvs/ide/welcome/src/org/netbeans/modules/welcome/ui/Tabs.java,v <-- Tabs.java new revision: 1.6; previous revision: 1.5 done Checking in content/RSSFeed.java; /cvs/ide/welcome/src/org/netbeans/modules/welcome/content/RSSFeed.java,v <-- RSSFeed.java new revision: 1.36; previous revision: 1.35 done Checking in WelcomeComponent.java; /cvs/ide/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v <-- WelcomeComponent.java new revision: 1.21; previous revision: 1.20
> horizontal scrollbar even in english version of the ide on 1024x768 resolutions This would be unacceptable. We have to avoid horizontal scrollbar in the majority of configurations.
from last comments: i've improved the horizontal scrolling a bit. the minimum width is 600 pixels and it's also increased if the font size is increased. so the whole content should be visible if bigger fonts are used. there's not much i can do about localized labels being too long. if i increase the minimum width then we'll get horizontal scrollbar even in english version of the ide on 1024x768 resolutions. please reopen if you think this fix is not good enough. --> whole content is not visible if fontsize is increased (and using pseudolocalization) - that is, the getting started, extend your ide section on the left part of the welcome - not all characters are shown; but cant the welcome window be invoked so that it figures out dynamically what the longest string is in that section, and show that size ? that way, welcome does not need to figure on what might be max length of translated labels, but will just use that info in any one case to figure out its size per sub section ? (its really the same as in original gif, except now the multibyte does show ok) I realize a horizontal sbar will not help here, since we are talking about specific sections of the welcome window, not the whole window. though think a horiz sbar would help so users would not need to manually resize the window to take up much of the entire ide window, which is the case when its invoked at larger font size or if they need to manaully resize it to be able to see all of it (since there is no horiz sbar) in the past welcome window had horizontal sbar - is there a problem with having it ? ken.frank@sun.com
> but cant the welcome window be invoked so that it figures out dynamically what the longest string is > in that section, and show that size ? i spent a day or two trying to achieve just that but without luck. the problem is the text in 'extend your ide' section and also feed description whose default size is one long line of text. anybody else can take a shot at fine tuning the start page horizontal size, i'll be happy to learn something new:)
I'll reopen this for now based on prev comments, and team can then decide about it. if the one long strings could have line breaks in them, would that help ? ken.frank@sun.com
didnt see answer to previous questions -- if the one long strings could have line breaks in them, would that help ? or will there be no more changes to welcome screen for nb6 ? ken.frank@sun.com
i think it wouldn't help either. that section couldn't grow when the start page is enlarged and if a bigger font was used then that section would be too wide and horizontal scroll bar would be needed again.
nb60 is already released so i'm closing this issue. ken, start a new issue pls, if you still insist on the changes in welcome page layout in future nb releases.
verifying in context of 6.5 - the horiz and vert sbars appear when needed the internal left and right sections of the windows dont resize except by user manually resizing the entire window but based on discussion below that seems like it will be ok.