TCE

Many prode commands work incorrectly with multiple files open, the always affect the last adf opened, even when some another adf/tab is selected.

Bug #1096055 reported by Heikki Kultala
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
TCE
New
Undecided
Unassigned

Bug Description

When multiple ADF's are created with "new" command, and none of those are saved, adding components to any of these cause the components to go the last one.

Revision history for this message
Heikki Kultala (hkultala) wrote :

It would seem they do not have to be unsaved. Adding any components to first open ADF does not work, they are always added to the ADF in the last tab.

summary: - Prode gets confused about multiple unsaved ADF's
+ Many prode commands work incorrectly with multiple files open, the
+ always affect the last adf opened, even when some another adf/tab is
+ selected.
Revision history for this message
Heikki Kultala (hkultala) wrote :

Same bug also affect copy-paste:

Open two ADF files.
Select some component in last tab.
switch tab to first tab
select some component in first tab.

press ctrl-x to cut.

it cuts the previously selected item in the non-active last tab, not the last selected component in the first tab.

Revision history for this message
Heikki Kultala (hkultala) wrote :

The root of these problems seem to be that there is no senseful bookkeeping of which tab is the "active" tab, pressing the tab only selects which tab is _shown_ but does not affect which tab some commands affect.

Revision history for this message
Heikki Kultala (hkultala) wrote :

And some "editpolicy" framework is used to select where all the commands go, and they always go to the lastly opened adf.

Revision history for this message
Pekka Jääskeläinen (pekka-jaaskelainen) wrote :

Check bug https://bugs.launchpad.net/tce/+bug/971579 for more info and hints for where to start.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.