Pinta 1.8-dev first time close down confirmation dialog does not display default button

Bug #1923294 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Won't Fix
Low
Unassigned

Bug Description

Pinta 1.8-dev latest development from github on Ubuntu 20.04:
1. If you have Pinta opened, please close it down and start Pinta from fresh.
2. Draw something on canvas.
3. Click on "X" on title bar to close down Pinta. "Saves changes..." dialog is displayed. PROBLEM APPEARS. In orange color I expect rectangle to be drawn around default button that excepts Enter key, but no orange rectangle is displayed.
4. Press ESC key, to dismiss dialog.
5. Click on "X" on title bar to close down Pinta and now orange rectangle appears around default "Save as" button.

See attachment for print-screens.

Revision history for this message
grofaty (grofaty) wrote :
Revision history for this message
Cameron White (cameronwhite91) wrote :

Confirmed, but it doesn't seem to happen to me if I instead use Ctrl+W to close the tab instead of trying to close the window.

Changed in pinta:
importance: Undecided → Low
milestone: none → 1.8
status: New → Confirmed
Revision history for this message
grofaty (grofaty) wrote :

Yes, true at my site too, Ctrl+W (first time after Pinta is started) does have default selection (orange rectangle around button). But I am not sure this is the same "action". Ctrl+W closes file, "X" at program title bar loses file and additionally closes down program itself.

Revision history for this message
Jonathan Pobst (jpobst) wrote :

That is likely the keyboard focus. I know on Windows keyboard focus cues will not show until you start using the keyboard. I would assume Linux is similar.

Pressing most any key on the dialog would likely get the keyboard focus to appear.

Windows:
https://docs.microsoft.com/en-us/windows/win32/menurc/wm-changeuistate

Revision history for this message
Cameron White (cameronwhite91) wrote :

Confirmed on macOS, at least - if there's any keyboard action done beforehand (e.g. pressing B to use the brush tool) before closing the image through the "X" button, then the button does have keyboard focus.
I don't think we should do anything about it then, since it seems to be the standard OS behaviour.

Changed in pinta:
milestone: 1.8 → none
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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