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.
Summary: | Opening a file from another window selects the correct tab in the editor, but the file is not "maximized" in the editor -- you can't actually see it | ||
---|---|---|---|
Product: | platform | Reporter: | mark_barnes |
Component: | Window System | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | jbecicka, jrojcek |
Priority: | P4 | ||
Version: | 7.3.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screen shot showing multiple tab groups with multiple highlightged tabs |
Description
mark_barnes
2011-08-12 17:53:38 UTC
Looks like window system issue. By "Windows System Issue" do you mean MS Windows or KDE or Gnome, etc? If so, I don't think so. I'm talking about the tabs on the tab strips within the Netbeans Editor pane within the Netbeans UI (main window) itself, which I believe is all Java. And things were fine in NB 6.9.1 and before. It just started happening after I upgraded to 7.0.1. I wrote "window system" not "Windows system" "window system" is netbeans component which handles ui components and its windows. jano, do we need to notify the user that a document tab has been just activated? waiting for response from HIE team I note that the priority has been dropped from P3 to P4, so I want to say that, to me, anyway, this is more than just a minor annoyance. It actually impedes my work flow. Yes, I'm trying to plead my case! Consider this, if you would... You have many, many files open at once (hundreds?,) and you are working on several tasks and projects simultaneously. Such is the nature of rapid-deployment web programming. Priorities change by the moment. You often must drop things to work on something more important. And you have long-term projects mixed in with bug fixing, issues all the way from minor to critical. Since there is no Mylyn for NB, the only way you can keep track of which files are open for which task or project is to keep the files in separate "tab groups". So you have up to 10+ tab groups all at once. You look for a file you need to view/edit in the Files window and double-click on it. 1) If the file is already open, it's tab gets highlighted. Nothing more. If the editor is not "full screen", i.e. all those many tab strips are showing, you now have to do visual search to find the file. Each of those 10+ tab strips has one tab highlighted. If the editor were to switch to "full window" for that file -- like it used to before recent releases -- however, there's no doubt where the file is. But now, in a sea of tabs, you have to find the one you just wanted to open. By the time you have finally found it, you might have to remind yourself why you even wanted it... (Don't laugh! I'm not as young as I used to be! You will remember me saying this when you get there, too!) 2) If the file is NOT open, and the tab strips are showing, the file gets opened in one of those tab strips. I think it goes to the tab strip that also contains the file you most recently changed, but I'm not sure. It could be random. The point is, if the file were to go to full-window, you'd have no problem finding it. I know this might seem minor to many people, but it's a big usability issue to me. There, I feel a bit better now. Newly opened file is focused so it's tab is highlighted with a light-blue background when using Windows look and feel. It should be easy to find such a tab in the IDE. Please feel free to reopen if it isn't good enough. Created attachment 139698 [details]
screen shot showing multiple tab groups with multiple highlightged tabs
(In reply to mark_barnes from comment #8) > Created attachment 139698 [details] > screen shot showing multiple tab groups with multiple highlightged tabs You're using Nimbus look and feel, switch to the default Windows look and feel and there'll be just one highlighted tab. I'm sorry, but that doesn't really help. Please see the screen shot I attached. There are four tab groups, each with multiple tabs. Some tabs are for modified files, some are for unmodified files. Note that that EACH TAB GROUP has a highlighted tab!!! Say I run a full SVN update. In the Versioning Output window, I see that one of the files I have been working on got updated and merged. I double-click on that file in the Versioning Output window. It looks like nothing happened. Nothing at all. Well, maybe one of the highlighted tabs changed. But just maybe. If the file was ALREADY highlighted, nothing did change. Still, which tab has the file I just double-clicked??? BTW - I am using NB 7.3.1 now. It still has the problem. Even if there is only one highlighted tab, with so many tabs, the highlight is too subtle for me to find. Oh well, I guess I will just have to deal with it. The editor tabs in Nimbus look and feel are implemented by reusing some of JTabbedPane code to achieve consistent look with native Swing components. So there's no special highlight for focused tab. In Windows look and feel there is blue highlight for focused tab. But what's too subtle for one user may be too prominent for other user. You can also try Metal look and feel where the focused tab might be better visible. What I was hoping for was to have the file in the tab actually get displayed, not for a change to the tab itself. Is it possible for the it to work as if I had double-clicked on the tab itself, "maximizing" the tab/file so there is no doubt that I am looking at the file I wanted? If you used Metal or Windows look and feel and double click any file anywhere the file will get focused and its tab will change its background to indicate that. In Nimbus look and feel focused and unfocused tabs are painted in almost the same. The distinction is very subtle - but we're using Nimbus painting routines for that. Those routines are implemented in JDK... As I suggested before - try either Windows or Metal look and feel. |