WIP 회귀 고침: 탐색기 밀기 = 창 바꾸기는 설정으로만, 처음 값 끔 (검토 대기)
c2c4382 에서 X-plore 스타일의 밀기 = 창 바꾸기를 처음 값으로 켜서, 사용자가 10/8 에 정한
"화면 가운데를 밀면 화면 이동" 이 깨졌다 (components_test 실패). 관리자 판단 (10/18) 을 따라 모든 스타일에서 처음 값은 끔.
예전 설정 파일에 값이 없으면 끔. 밀기 시험은 설정을 켠 뒤 돌리고, 처음 값이 끔인지 확인을 더함.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
xplore_p3
parent
f4760cb4d7
commit
ba34014a1f
|
|
@ -413,8 +413,8 @@ class AppSettings {
|
|||
/// 'xplore' 1번 = 폴더 자신, 2번 = 안의 파일 전체, 3번 = 풀기
|
||||
String explorerFolderMarkRule = 'tree';
|
||||
|
||||
/// X-plore 비교 ⚖: X-plore 스타일 탐색기 안에서 옆으로 밀기 = 창 바꾸기 (처음 값 켬). 화면 사이 이동은 위 막대에서 밀기 (10/8 결정 유지)
|
||||
bool explorerSwipePanes = true;
|
||||
/// X-plore 비교 ⚖: X-plore 스타일 탐색기 안에서 옆으로 밀기 = 창 바꾸기 (설정으로만, 처음 값 끔 - 10/8 사용자 결정 "화면 가운데를 밀면 화면 이동" 을 지킴, 관리자 판단 10/18)
|
||||
bool explorerSwipePanes = false;
|
||||
|
||||
/// X-plore 비교 e (관리자 결정): Android 앱 휴지통 보관 일 (처음 14일, 0 = 끔 - 예전처럼 바로 영구 삭제). Windows 는 시스템 휴지통
|
||||
int androidTrashDays = 14;
|
||||
|
|
@ -991,7 +991,7 @@ class AppSettings {
|
|||
..explorerRootsInTree = j['explorerRootsInTree'] != false
|
||||
..explorerAlwaysMarks = j['explorerAlwaysMarks'] != false
|
||||
..explorerFolderMarkRule = j['explorerFolderMarkRule'] == 'xplore' ? 'xplore' : 'tree'
|
||||
..explorerSwipePanes = j['explorerSwipePanes'] != false
|
||||
..explorerSwipePanes = j['explorerSwipePanes'] == true
|
||||
..androidTrashDays = switch (j['androidTrashDays']) { final int d when d >= 0 && d <= 365 => d, _ => 14 }
|
||||
..explorerLayout = const ['single', 'split', 'auto'].contains(j['explorerLayout'])
|
||||
? j['explorerLayout'] as String
|
||||
|
|
|
|||
|
|
@ -242,6 +242,8 @@ void main() {
|
|||
});
|
||||
|
||||
testWidgets('X-plore ⚖: 탐색기 안에서 옆으로 밀기 = 창 바꾸기 (한 창이면 숨은 창과 바꿈)', (tester) async {
|
||||
expect(AppSettings().explorerSwipePanes, isFalse, reason: '처음 값은 끔 - 화면 가운데를 밀면 화면 이동 (10/8 사용자 결정)');
|
||||
c.settings.explorerSwipePanes = true;
|
||||
c.settings.explorerLayout = 'single';
|
||||
await open(tester);
|
||||
expect(c.settings.explorerPaths, [left, right]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue