Bug/feature: window title is not updated when window is "re-used" in another context

Claus Pedersen

Member³
I have noticed the following behaviour:

I open a package source from the database, view-only. The window title is 'Program Window - View source of ...'
I now open the same source, this time in edit mode. The source is opened in the same window as before, but the title remains the same, is should have been 'Program Window - Edit source of package ...'

I now save the content of the window. The title remains the same. It should have been "Program Window - ".

When you are editing a package source from the database and and selects to view the package, nothing happens, the edited package is still open and the original package can not be viewed.

Can this be fixed at some point in time in the near future?

Note: this request is related to the Beta post Bug, Program window is overwritten when viewing package header with same name
 
I am using version 7.1.1.1339.

I have tried this on a different machine.

I can not reproduce the first point on the second machine, I will try to reproduce it again.

The second point is still true. If you save a source, the title does not change.

The third point is still true, you can not view a source when you are editing the same source in another window. This also goes for combinations of viewing/editing header or body or header/body together.

Requested behaviour: when the user wants to open a source in a specific window, the source should always be opened in a new window. Do not try to re-use old windows. If the user wants to have 10 instances of the same source at one time, it is up to her. Do you agree?
 
Requested behaviour: when the user wants to open a source in a specific window, the source should always be opened in a new window. Do not try to re-use old windows. If the user wants to have 10 instances of the same source at one time, it is up to her. Do you agree?
No, in general you do not want more than one window for the same object or file. If you really want this, you can still accomplish it with copy & paste or drag & drop.
 
No, in general you do not want more than one window for the same object or file.
I must disagree with you on that one.

An editor must be able to open as many instances of a file or source as the user wants. If PL/SQL Developer wants to minimize the number of open windows, the user could be asked "A window for this source is already open. Do you want to re-open this window?"
If you really want this, you can still accomplish it with copy & paste or drag & drop.
You are right, but this is not always possible. When you are editing a database package and wants to view the original package content for reference purposes, this is not easily possible today. You have to open a new instance of PLD and the view the package and then copy the content back to the original instance of PLD. A long way to go if the alternative would be to double-click the package to view it.

Why should the user not be allowed to view a package header in one window and a package body in another and the full package (header and body) in a third?
 
When you are editing a database package and wants to view the original package content for reference purposes, this is not easily possible today.
I agree with Claus. I had also such a problem.
Perhaps You schould check: was the package modified in the window 1? Then open in a new window 2. Else go to the window 1.
 
Back
Top