juechafun/01-项目/2604-编程软件/Bug-编程软件-另存导致子程序修改失效.md

53 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
#领域/未知
#复盘/0 #Bug/碎片 #状态/待处理
## 一句话描述
[____另存导致主程序无法获取子程序修改____]
---
## 基础元信息
影响范围:[_程序的编译烧录______]
## 缺陷记录
### 前置条件
[__编程软件N46______]
### 复现步骤
1. [_创建主程序-1_____]
2. [__创建子程序-a______]
3. [___编写主程序-1内添加子程序-a_____]
4. 另存为主程序-2打开子程序-a修改子程序-a修改标志M1点击保存关闭子程序-a
5. 再次打开子程序-a
### 实际发生结果
[__M1的修改并未保存至子程序-a______]
### 期望结果
[__另存后对子程序-a的修改依然生效______]
### 排查建议
1. [__日志显示打开子程序-a的行为_______]
### 根因分析
[__M1的修改其实被赋予了主程序-1而不是子程序-2______]
### 验证依据
#### 涉及内容
- void MainWindow::on_actionOPEN_triggered() UI交互打开
- void MainWindow::open_program(QString path_tmp) 核心打开逻辑