New issue
Advanced search Search tips

Issue 850209 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

ui/base/x/selection_owner.cc prints ERROR: "SelectionClear"

Project Member Reported by atotic@chromium.org, Jun 6 2018

Issue description

Why does this always print SelectionClear? It polutes my Terminal output?


void SelectionOwner::OnSelectionClear(const XEvent& event) {
  DLOG(ERROR) << "SelectionClear";

  // TODO(erg): If we receive a SelectionClear event while we're handling data,
  // we need to delay clearing.
}
 
Owner: thomasanderson@chromium.org
Status: Assigned (was: Untriaged)
What are you running to get this output?
content_shell
I'm unable to reproduce on gLinux with Chrome on ToT.

$ cat out/Release/args.gn
is_component_build = true
is_debug = false
use_goma = true
enable_nacl = false
thomasanderson@thomasanderson:~/dev/chromium_2/src$ out/Release/content_shell 
thomasanderson@thomasanderson:~/dev/chromium_2/src$
Unable to reproduce right now. When it happens, it happens on every selection....
Here are the steps:
- select text in content_shell url bar
- switch to chrome, select text in url bar. Copy


Still unable to repro.  See the attached video.  Am I missing any steps?
selection_clear.mp4
1.8 MB View Download
Sill unable to repro (after you showed me in person).

One thing I forgot to check: when you switch focus from content_shell to Chrome, does content_shell keep the text in the URL bar highlighted?
No, content_shell highlight goes away.
Can you try this:
$ xtrace out/Release/content_shell > log.txt

And do your repro steps and upload log.txt here.
Nevermind, I'm able to reproduce now.  I just needed to do a debug build.
Labels: Hotlist-DesktopUIToolingRequired Hotlist-DesktopUIChecked

Mass UI Triage.

Sign in to add a comment