Re: Gnome strange behavior while typing in some windows

2017-12-10 Thread Paulo Roberto
Mark,

I searched for "input method" but I couldn't find anything relevant (at
least not for me).

In Gnome Control Center -> Region & Language
I have two Input Sources:  Portuguese (Brazil)  and  English (US)

In Input Source Options I have "Use the same source for all windows"
checked.

In Gnome Control Center -> Devices - > Keyboard -> Keyboard Shortcuts ->
Typing
Switch to next input source =  Super + Space
Switch to previous input source = Shift + Super + Space


Patrick also suggested the problem was with the input method and mentioned
the same issue with Japanese
and that it could be the IM  editor activated.
I found 2 INPUT METHOD tools in the menu: Applications ->  System Tools ->

The first one (blue icon) opens the uim-pref-gtk.
In the Global Settings there was a check box "Input method toggle" checked
with
Input method toggle key set to: "space"

I disabled it, but the behavior persisted.

The second tool is the Input Method Configuration (im-config)

It starts with the following text:

"Current configuration for the input method:
 * Active configuration: missing (normally missing)
 * Normal automatic choice: none (normally ibus or fcitx or uim)
 * Override rule: zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx
 * Current override choice:  (en_US)
 * Current automatic choice: none
 * Number of valid choices: 1 (normally 1)
The override rule is defined in /etc/default/im-config.
The configuration set by im-config is activated by re-starting X.
Explicit selection is not required to enable the automatic configuration if
the active one is default/auto/cjkv/missing."

And after I went to the steps of configuration selecting the
recommendations, it outputs:

"Keeping the user configuration /home/myuser/.xinputrc as missing.
Automatic configuration selects: none
This does not set any IM from im-config.
This is the automatic configuration choice if no required IM packages are
installed.
If a daemon program for the previous configuration is re-started by the X
session manager, you may need to kill it manually with kill(1).
See im-config(8) and /usr/share/doc/im-config/README.Debian.gz for more.


Everything was working fine 1 week ago.
I could type SHIFT + SPACE and a space character would appear.
I just updated the system.

Any more ideas?

Thanks in advance.

Regards.



On Sun, Dec 10, 2017 at 2:22 PM, Mark Fletcher  wrote:

> On Thu, Dec 07, 2017 at 11:03:04PM +, Paulo Roberto wrote:
> > Roberto, I figure out how to trigger and disable the problem and I think
> > it's a BUG.
> >
> > The problem occurs when I press SHIFT + SPACE (together).
> >
> > I went though the list of shortcuts in the Gnome Control Center under
> > Devices ->Keyboard. No shortcut is set for SHIFT + SPACE
> >
> > As I told you before, Input Source Options is set to: "Use the same
> source
> > for all windows"
> > But the shortcuts to change input, in case it was set otherwise are:
> SUPER
> > + SPACE and SHIFT + SUPER + SPACE.
> >
> > Before yesterday when I typed SHIFT + SPACE I'd got a space character,
> now
> > I have this weird behavior that I don't even know what it means.
> >
>
> The more you describe this issue, the more it sounds like an input
> system for some other language. What you are describing is EXACTLY the
> behaviour I get (and want) when typing in Japanese. To know what kanji
> character to use for what I am typing, the input system has to see
> several keypresses' worth of input. It lets me type that input,
> underlining the part that it is watching, waiting until I have typed
> enough for it to figure out what I mean, or until I press the space bar
> to say "that is all you are getting, go figure it out" or Enter which
> means "I want you to keep this text exactly as I typed it, don't try to
> interpret". I use the input system Anthy which I believe works with
> multiple languages. There are others though.
>
> And SHIFT + SPACE is the default method for switching between English
> and Japanese input on such systems.
>
> It doesn't have to be something obvious like Japanese -- you'd know
> immediately if it were because it would replace the regular alphabet
> characters with Japanese hiragana characters as you type -- but maybe
> some language with lots of accents etc that needs to see more than one
> letter you are typing before knowing what character to use for what you
> are typing? Or an input method that chooses to work that way even if
> that isn't the only way that could work for that language?
>
> What languages do you have installed? And what do you find if you search
> your system for "input method"?
>
> Mark
>
>


Re: Gnome strange behavior while typing in some windows

2017-12-10 Thread Mark Fletcher
On Thu, Dec 07, 2017 at 11:03:04PM +, Paulo Roberto wrote:
> Roberto, I figure out how to trigger and disable the problem and I think
> it's a BUG.
> 
> The problem occurs when I press SHIFT + SPACE (together).
> 
> I went though the list of shortcuts in the Gnome Control Center under
> Devices ->Keyboard. No shortcut is set for SHIFT + SPACE
> 
> As I told you before, Input Source Options is set to: "Use the same source
> for all windows"
> But the shortcuts to change input, in case it was set otherwise are: SUPER
> + SPACE and SHIFT + SUPER + SPACE.
> 
> Before yesterday when I typed SHIFT + SPACE I'd got a space character, now
> I have this weird behavior that I don't even know what it means.
> 

The more you describe this issue, the more it sounds like an input 
system for some other language. What you are describing is EXACTLY the 
behaviour I get (and want) when typing in Japanese. To know what kanji 
character to use for what I am typing, the input system has to see 
several keypresses' worth of input. It lets me type that input, 
underlining the part that it is watching, waiting until I have typed 
enough for it to figure out what I mean, or until I press the space bar 
to say "that is all you are getting, go figure it out" or Enter which 
means "I want you to keep this text exactly as I typed it, don't try to 
interpret". I use the input system Anthy which I believe works with 
multiple languages. There are others though.

And SHIFT + SPACE is the default method for switching between English 
and Japanese input on such systems.

It doesn't have to be something obvious like Japanese -- you'd know 
immediately if it were because it would replace the regular alphabet 
characters with Japanese hiragana characters as you type -- but maybe 
some language with lots of accents etc that needs to see more than one 
letter you are typing before knowing what character to use for what you 
are typing? Or an input method that chooses to work that way even if 
that isn't the only way that could work for that language?

What languages do you have installed? And what do you find if you search 
your system for "input method"?

Mark



Re: Gnome strange behavior while typing in some windows

2017-12-07 Thread Paulo Roberto
Roberto, I figure out how to trigger and disable the problem and I think
it's a BUG.

The problem occurs when I press SHIFT + SPACE (together).

I went though the list of shortcuts in the Gnome Control Center under
Devices ->Keyboard. No shortcut is set for SHIFT + SPACE

As I told you before, Input Source Options is set to: "Use the same source
for all windows"
But the shortcuts to change input, in case it was set otherwise are: SUPER
+ SPACE and SHIFT + SUPER + SPACE.

Before yesterday when I typed SHIFT + SPACE I'd got a space character, now
I have this weird behavior that I don't even know what it means.

Thank you again for your help.

Regards.



On Thu, Dec 7, 2017 at 8:51 PM, Paulo Roberto  wrote:

> I had already checked it as well.
> Use the same source for all Windows is checked.
>
> In the same window or tab it changes the behavior during user (typing).
>
> Do you know any log that could help?
>
>
> On Thu, Dec 7, 2017 at 6:41 PM, Roberto C. Sánchez 
> wrote:
>
>> On Thu, Dec 07, 2017 at 05:51:01PM +, Paulo Roberto wrote:
>> >Roberto,
>> >
>> >The first thing I checked was the layout.
>> >Nothing changed.
>> >And I don't think is related to shortcut keys, because clicking in a
>> >different tab, and the problem
>> >goes away for that tab.
>>
>> Paulo,
>>
>> In "Region and Language", under "Input Source Options" do you have "Use
>> the same source for all windows" or "Allow different sources for each
>> window"?
>>
>> Regards,
>>
>> -Roberto
>>
>> --
>> Roberto C. Sánchez
>>
>>
>


Re: Gnome strange behavior while typing in some windows

2017-12-07 Thread Paulo Roberto
I had already checked it as well.
Use the same source for all Windows is checked.

In the same window or tab it changes the behavior during user (typing).

Do you know any log that could help?


On Thu, Dec 7, 2017 at 6:41 PM, Roberto C. Sánchez 
wrote:

> On Thu, Dec 07, 2017 at 05:51:01PM +, Paulo Roberto wrote:
> >Roberto,
> >
> >The first thing I checked was the layout.
> >Nothing changed.
> >And I don't think is related to shortcut keys, because clicking in a
> >different tab, and the problem
> >goes away for that tab.
>
> Paulo,
>
> In "Region and Language", under "Input Source Options" do you have "Use
> the same source for all windows" or "Allow different sources for each
> window"?
>
> Regards,
>
> -Roberto
>
> --
> Roberto C. Sánchez
>
>


Re: Gnome strange behavior while typing in some windows

2017-12-07 Thread Roberto C . Sánchez
On Thu, Dec 07, 2017 at 05:51:01PM +, Paulo Roberto wrote:
>Roberto,
> 
>The first thing I checked was the layout.
>Nothing changed.
>And I don't think is related to shortcut keys, because clicking in a
>different tab, and the problem
>goes away for that tab.

Paulo,

In "Region and Language", under "Input Source Options" do you have "Use
the same source for all windows" or "Allow different sources for each
window"?

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Gnome strange behavior while typing in some windows

2017-12-07 Thread Paulo Roberto
Roberto,

The first thing I checked was the layout.
Nothing changed.
And I don't think is related to shortcut keys, because clicking in a
different tab, and the problem
goes away for that tab.

It's a very weird scenario. I started writing this e-mail with the problem
in the current window
and when I got in the third line it went back to normal, and now it just
happened again.

Another point is that I can type a word with 100 characters, if I type a
space or a comma for example,
the word persists. If I press a control key (like ESC, or PrintScreen) or
click out of the text field the word
disappear if I never had written it.

I can switch my layout between Portuguese (Brazil) and English (US) but the
problem persist independently.
Anyway I don't have any shortcut key configuration for changing layout.

Thanks for the help.

I look forward to hear from you.

Regards.

Paulo



On Thu, Dec 7, 2017 at 5:12 PM, Roberto C. Sánchez 
wrote:

> On Thu, Dec 07, 2017 at 04:07:24PM +, Paulo Roberto wrote:
> >If I change window or even tabs, the typing works perfectly in the
> new tab
> >or window but persists in the previous one when I come back to it.
> >The problem comes and goes and I don't know the exact way to
> replicate it.
> >I start using a tab or window for a while and it happens.
>
> Paulo,
>
> It sounds like you might have something going on with your keyboard
> layouts and the shortcut key combination that changes the layout.  In my
> case, I tend to use L_SHIFT+CAPS_LOCK to change from a dead keys layout
> to a non-dead keys layout.  However, I recently installed Debian on a
> new machine and found that the default had changed because the key
> combination on the newly installed machine was SUPER+SPACE.
>
> You may want to check your "Region and Language" settings in GNOME to
> see what layouts have key combinations associated with them.  That may
> tell you why your layout changes when you don't expect it.
>
> Regards,
>
> -Roberto
>
> --
> Roberto C. Sánchez
>
>


Re: Gnome strange behavior while typing in some windows

2017-12-07 Thread Roberto C . Sánchez
On Thu, Dec 07, 2017 at 04:07:24PM +, Paulo Roberto wrote:
>If I change window or even tabs, the typing works perfectly in the new tab
>or window but persists in the previous one when I come back to it.
>The problem comes and goes and I don't know the exact way to replicate it.
>I start using a tab or window for a while and it happens.

Paulo,

It sounds like you might have something going on with your keyboard
layouts and the shortcut key combination that changes the layout.  In my
case, I tend to use L_SHIFT+CAPS_LOCK to change from a dead keys layout
to a non-dead keys layout.  However, I recently installed Debian on a
new machine and found that the default had changed because the key
combination on the newly installed machine was SUPER+SPACE.

You may want to check your "Region and Language" settings in GNOME to
see what layouts have key combinations associated with them.  That may
tell you why your layout changes when you don't expect it.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Gnome strange behavior while typing in some windows

2017-12-07 Thread Paulo Roberto
Since yesterday my Gnome started to present some weird behavior in random
Windows.

While I'm typing in Terminator or Firefox, for example, everything I type
get underlined until I press some key that represents a blank character
(enter, space, etc or parentheses, comma, or other non letter number
chars). When the window has this issue I can't type words with accent, the
accent always appears after the word. While in fields with auto complete
(example Firefox text fields), the auto complete doesn't work, If I insert
the blank character it works.

In Terminator, when I press CTRL +SHIFT +X the problem is solved and the
typing comes back to normal in the specified Windows or tab. In Firefox I
don't know how to solve it.

If I change window or even tabs, the typing works perfectly in the new tab
or window but persists in the previous one when I come back to it.
The problem comes and goes and I don't know the exact way to replicate it.
I start using a tab or window for a while and it happens.

Version of my Gnome Shell
gnome-shell   3.26.2-1

I can't even take a snapshot of the problem, because when I press the Print
Screen key, the word I was typing disappear and then the screenshot
happens. If I click outside the place of the current keyboard focus in the
middle of a word (without inserting the blank character) the current word
also disappear.

Thanks in advance.

I look forward to hear from you guys.

Paulo Roberto.