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 7013 - Suggest that for Windows, it be possible to ignore taskbar
Summary: Suggest that for Windows, it be possible to ignore taskbar
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 enhancement (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-10 10:50 UTC by Jesse Glick
Modified: 2008-12-22 17:28 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2000-07-10 10:50:21 UTC
Since many people (such as myself) set the Windows taskbar to autohide, it is
very annoying to have the IDE *explicitly* compensate for the taskbar space when
it does not need to at all. For expert users, it would be useful in a new build
to have the default window config use the full screen the first time you use the
IDE. Otherwise you have to manually adjust every window which is never exactly
right. Ideally the Windows installer would try to detect this and do this for
you automatically. I suggest the patch:

Index: Utilities.java
===================================================================
RCS file: /cvs/openide/src/org/openide/util/Utilities.java,v
retrieving revision 1.40
diff -c -r1.40 Utilities.java
*** Utilities.java	2000/07/03 17:15:35	1.40
--- Utilities.java	2000/07/10 09:46:21
***************
*** 1134,1140 ****
       */
      public static final Dimension getScreenSize() {
          Dimension screenSize =
java.awt.Toolkit.getDefaultToolkit().getScreenSize();
!         if (isWindows()) {
              screenSize.height -= TYPICAL_WINDOWS_TASKBAR_HEIGHT;
          }
          return screenSize;
--- 1134,1140 ----
       */
      public static final Dimension getScreenSize() {
          Dimension screenSize =
java.awt.Toolkit.getDefaultToolkit().getScreenSize();
!         if (isWindows() && !Boolean.getBoolean ("netbeans.no.taskbar")) {
              screenSize.height -= TYPICAL_WINDOWS_TASKBAR_HEIGHT;
          }
          return screenSize;
Comment 1 David Simonek 2000-09-20 13:12:59 UTC
I do not want to include this to FCS, that's why P3->P4 change
Comment 2 David Simonek 2001-01-15 15:29:59 UTC
Added to main trunk, should be available starting from build 104.
Comment 3 Jesse Glick 2001-01-18 13:52:59 UTC
It might be useful for Windows-based installers to automatically add this
property to ide.cfg if they could somehow tell that the taskbar was set to
auto-hide mode at the time the installer was run.
Comment 4 Quality Engineering 2003-07-01 15:51:39 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 5 Quality Engineering 2003-07-01 16:11:05 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.