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 12152 - make dominant window is not memorized
Summary: make dominant window is not memorized
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
: 16532 (view as bug list)
Depends on:
Blocks: 15383
  Show dependency tree
 
Reported: 2001-05-14 09:37 UTC by sapex
Modified: 2008-12-23 09:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sapex 2001-05-14 09:37:40 UTC
Each time I restart IDE I must run again the "make dominant"
command because the state is not keeped in configuration.
Comment 1 Jan Zajicek 2001-09-12 15:02:13 UTC
Ok, increasing to P2, now it's more visible. The output window will
be, after each restart, dominant, instead of explorer.
Comment 2 David Simonek 2001-10-03 15:38:58 UTC
updating subcomponent to window system
Comment 3 Jan Zajicek 2001-10-15 12:05:31 UTC
*** Issue 16532 has been marked as a duplicate of this issue. ***
Comment 4 David Simonek 2001-10-23 15:39:24 UTC
Accepting.
Comment 5 David Simonek 2001-10-25 13:08:26 UTC
Reassigning to Vita, he is so kind that he agreed to help us :-)
Comment 6 Vitezslav Stejskal 2001-10-25 14:11:21 UTC
Fixing this one.
Comment 7 David Simonek 2001-11-08 15:10:01 UTC
Note, Vita is working on this issue like crazy, it's complicated and
large fix. (just in case you think that it's been overlooked) :-)
Comment 8 Vitezslav Stejskal 2001-11-08 18:39:37 UTC
It seems to be finaly fixed, uff. The dominance of windows (modes) is defined by the order of their 
DataObjects in the workspace folder, this order is updated when workspace gets saved and dominance is 
restored when the workspace gets visible (during the startup or projects switch). Please, note that I did 
the change in ICFolderImpl. The ICFI listens on PROP_CHILDREN changes in associated DataFolder instead of 
on its primary FileObject, this was neccessary in order to get reliable results from DataFolder calls 
made in event handlers. It would be greate to test the winsys stuff now!

There is still problem with dominance of modes in hiden workspaces (switched off) when switching 
projects, I will file an issue.

Fixed in main trunk.
Comment 9 Vitezslav Stejskal 2001-11-12 13:06:54 UTC
Reopening, fix of this issue caused several regressions and was rolled back, see issue #17450, issue 
#17453, issue #17466.
Comment 10 Vitezslav Stejskal 2001-11-13 19:43:30 UTC
Second try to commit my fix and close this issue. The dominance is correctly saved and restored even for 
hidden workspaces, also it seems to be handled correctly during the projects switching. Unfortunately 
another synchronization was added into ICFolderImpl, this was tested on my W2K and Linux boxes and seemed 
to work, but additional testing is more than neccessary! It would be great to run some test before the 
beta-testing on Friday just to be sure that nothing critical is broken.

Fixed in main trunk.
Comment 11 Lukas Hasik 2001-11-20 10:50:49 UTC
verified - NB33 - beta5
Comment 12 Quality Engineering 2003-07-01 16:41:42 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.