Closed Bug 766051 Opened 12 years ago Closed 11 years ago

[debugger] The "play" button state is confusing

Categories

(DevTools :: Debugger, defect, P3)

x86
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 893692

People

(Reporter: paul, Unassigned)

Details

When blue and pressed (which mean "enabled"), it is actually not "playing", but paused. I suggest we go back to the "pause" icon here.
I think most of the times this button is used to "jump to the next breakpoint". I never actually use it to pause the event loop by myself. However, a "pause" icon is very confusing (at least "play" looks like an arrow that gives me the impression that I can make the script "play" until I hit a new breakpoint).

Maybe we need a completely different icon. Thoughts?
From the current options, I'm leaning slightly towards the pause icon. A play/pause combo like webkit would be better though.
(In reply to Panos Astithas [:past] from comment #2)
> From the current options, I'm leaning slightly towards the pause icon. A
> play/pause combo like webkit would be better though.

(We have the icons for both.)
Would we have a "checked" status then?
(In reply to Paul Rouget [:paul] from comment #3)
> (In reply to Panos Astithas [:past] from comment #2)
> > From the current options, I'm leaning slightly towards the pause icon. A
> > play/pause combo like webkit would be better though.
> 
> (We have the icons for both.)

But we need a combined icon for that.

> Would we have a "checked" status then?

I'd say yes. The main purpose of the checkbox style is to alleviate the need for a Paused/Running status label, like we used to have. I think we need the checkbox behavior with any icon.
ok, let's go back to using the Pause button when checked (paused) and play when running.
Assignee: nobody → rcampbell
Status: NEW → ASSIGNED
Priority: -- → P2
Why don't we just reverse the state here and keep the |> icon? Paused should be unchecked ("script's not playing, here's what's happening ...; press me to make it play again"), and unpaused should be checked ("event loop razor is spinning, keep calm and carry on). Just like with a VCR (except most of those have both a |> and a || on the button).
Flags: needinfo?(rcampbell)
that needs info flag is the worst.

I worry about doing that because it's reversing what we're currently doing and that'll be confusing. Why is this checked now? people will ask. I think if we're going to make a change to the button, we should udpate the icon as well.
Assignee: rcampbell → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(rcampbell)
(In reply to Rob Campbell [:rc] (:robcee) from comment #7)
> that needs info flag is the worst.
> 
I was dying to use that flag. I couldn't find a better reason.
Priority: P2 → P3
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.