Skip to content

BF: Coder file modified dialog shouldn't block Builder#7111

Merged
TEParsons merged 3 commits intopsychopy:devfrom
TEParsons:dev-bf-modified-modal
Feb 17, 2025
Merged

BF: Coder file modified dialog shouldn't block Builder#7111
TEParsons merged 3 commits intopsychopy:devfrom
TEParsons:dev-bf-modified-modal

Conversation

@TEParsons
Copy link
Copy Markdown
Contributor

Showing the "File was modified outside PsychoPy..." dialog as modal (blocks user from doing anything while it's open) makes sense for Coder, but because it was fully modal it blocks Builder and Runner too when it doesn't need to.

Unfortunately, ShowWindowModal only works on Mac - on Windows it behaves the same as ShowModal, but I think it makes sense to go with the one which at least works on one OS.

I've also made it so the dialog is pushed to the front upon opening, so that the user at least knows it's there (it's annoying when Builder pings at you and you don't know why)

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 17, 2025

Codecov Report

Attention: Patch coverage is 9.09091% with 10 lines in your changes missing coverage. Please review.

Project coverage is 49.89%. Comparing base (08d4f36) to head (64c20d4).
Report is 10 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #7111   +/-   ##
=======================================
  Coverage   49.89%   49.89%           
=======================================
  Files         346      346           
  Lines       64012    64004    -8     
=======================================
  Hits        31936    31936           
+ Misses      32076    32068    -8     
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)

@TEParsons TEParsons merged commit a9a96b8 into psychopy:dev Feb 17, 2025
7 checks passed
@TEParsons TEParsons deleted the dev-bf-modified-modal branch May 21, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant