GithubHelp home page GithubHelp logo

elementary / wingpanel-indicator-keyboard Goto Github PK

View Code? Open in Web Editor NEW
10.0 22.0 7.0 865 KB

Wingpanel Keyboard Indicator

License: GNU General Public License v3.0

Vala 86.60% Meson 8.64% CSS 3.81% Python 0.95%
wingpanel pantheon gtk gtk3 vala meson hacktoberfest

wingpanel-indicator-keyboard's People

Contributors

alvaroadlf avatar bagjunggyu avatar cho2 avatar codygarver avatar colindemian avatar comradekingu avatar dananay avatar danirabbit avatar davidmhewitt avatar ddieter avatar dennis1248 avatar donadigo avatar elementarybot avatar fabiozaramella avatar fitojb avatar hugok79 avatar ihorhordiichuk avatar jeremypw avatar josprachi avatar marcin-serwin avatar mirosnik1 avatar nathanbnm avatar norwayfun avatar p-bo avatar queeup avatar ryonakano avatar tomiohl avatar weblate avatar welaq avatar yarons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wingpanel-indicator-keyboard's Issues

Ibus daemon should be started if necessary when ibus input methods are in use

Problem

When setting up ibus input methods with the switchboard plug it is necessary to turn the ibus daemon on (and the means to do so is provided). However after rebooting the ibus daemon is not restarted and the configured input method is not available. At the moment it is necessary to use a custom startup command to start ibus.

Proposal

The wingpanel indicator automatically starts the ibus daemon if there are ibus sources configured.

Prior Art

input-tools icon on the wingpanel(not keyboard)

Has any plan to fix the input-tools icon on the wingpanel?
After delete the panel icons,it links to the devices input-keyboard svg.
http://itmages.com/image/view/4999659/8d7e6b55
http://itmages.com/image/view/4999670/b5b5ddfc
Input-tools is the most important character for CJK.
I hope elementary's designers can think about that.
http://itmages.com/image/view/4999697/35278b5b
The black design looks very calm.
Please add that child to the new design, don't miss him.
Thanks.

Launchpad Details: #LP1631726 xhhqzxg24 - 2016-10-09 11:02:12 +0000

Native overlay for switching input methods

Problem

Currently the input method itself handles the overlay popup (such as with mozc) which doesn't fit the elementary style or level of design quality (it doesn't have a border, and images for methods such as mozc are low-res. etc)

The overlay also seems to have a mind of its own and doesn't update the indicator, making it impossible to judge what you're using (this is worthy of its own issue)

Proposal

Disable the input methods own builtin keybindings and create a native one that is styled with the elementary design language. Probably with a popup bubble like volume and brightness, which would match their 'system' function.

Prior Art

Tooltip indent is smaller than in other indicators

What Happened?

image

Steps to Reproduce

  1. Hover over keyboard indicator
  2. Wait for tooltip

Expected Behavior

Indent should be the same as other indicators have

Audio indicator:
image

OS Version

6.x (Odin)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

Add tooltips to indicator icons

Problem

You might not know what this icon is at a glance, and a tooltip could provide some extra information before clicking. Especially with newer/potentially unfamiliar icons.

Proposal

Add a tooltip with the status it is indicating

Caps Lock: On

or

Num Lock: On

Prior Art

We added a tooltip to Applications Menu with a longer description and keyboard shortcuts.

Toggling num or capslock causes the indicator to close applications menu

What Happened

Toggling caps lock (and I presume numlock) from the dedicated key causes the applications menu to close abruptly

Expected Behavior

The applications menu stays open even when toggling either numlock or capslock

Steps to Reproduce

Open the applications menu and toggle either of said locks.

Platform Information

elementary OS 6 Odin, compiled from git.

Make the keyboard layout icon appear on logon screen as well

I love that you have put a lot of effort into making Loki more compatible with different languages and keyboard layouts. But you cannot currently change the keyboard layout on the logon screen. I use Dvorak, while the other user on our computer uses Qwerty, which makes it cumbersome not to be able to switch layouts on the logon screen.

A suggestion would be to automatically switch layout to the selected layout of the currently selected user. So when I select my account on the login screen, it would automatically switch to Dvorak, and when you select a different account, it would switch to Qwerty.

Launchpad Details: #LP1650898 Sondre - 2016-12-18 14:31:24 +0000

doesn't compile successfully against granite+wingpanel git master

This project now fails to build for me with the same error as the Bluetooth Indicator, reported here.

The build logs look like this:

(...)/src/LayoutButton.vala:28.9-28.26: error: The name `get_content_widget' does not exist in the context of `Keyboard.Widgets.LayoutButton.new'
        get_content_widget ().add (radio_button);
        ^^^^^^^^^^^^^^^^^^
make[2]: *** [src/CMakeFiles/keyboard.dir/build.make:84: src/keyboard_valac.stamp] Error 1
make[2]: Leaving directory '(...)'
make[1]: *** [CMakeFiles/Makefile2:120: src/CMakeFiles/keyboard.dir/all] Error 2
make: *** [Makefile:133: all] Error 2

The apparently "missing" get_content_widget is defined in wingpanel/lib/Widgets/Container.vala, but can't be found here.

NumLock indicator : empty label

What Happened

I just install elementary os 6.0 and set my 2 lenguage keyboard layout (English and spanish)
Then I noticed that numlock indicator has an empty label (when suppose to be a keyboard layout)

Screenshot from 2020-11-27 17 10 48

Expected Behavior

Show both of my keyboard layouts

Steps to Reproduce

1.Install eos6.0 daily (27 Nov build)
2.add 2 keyboard layouts
3.see the empty label

Logs

Platform Information

No keyboard/language indicator.

There is no keyboard or language indicator on the top panel at the right side corner.
I use US English and Greek keyboard and I have a serious problem in changing languages.
Thank you

[Suggestion] Caps Lock indication

Is it possible to add some sort of indication to the keyboard indicator when Caps Lock is active?
My first thought is to change label case on caps activated.
Well, we can call it a "little nice feature". Feel free to close this, just wanted to share my thoughts on this.

Define log domain

Problem

It's currently quite hard to debug wingpanel indicators as there are many indicators that add log messages. There isn't a good way to filter this to a specific indicator.

Proposal

We could define log domains:
https://developer.gnome.org/glib/stable/glib-Message-Logging.html#log-domains

This enables filtering log messages using G_MESSAGES_DEBUG, to do do something like the following to only get the logs from a specific indicator and the wingpanel:

G_MESSAGES_DEBUG=io.elementary.wingpanel.bluetooth wingpanel

Prior Art

We've added this to the bluetooth indicator
elementary/wingpanel-indicator-bluetooth#81

White text on white background

Prerequisites

  • I have searched open and closed issues for duplicates.

Describe the bug

The indicator has a white background with white text. See the screenshot.

To Reproduce

Steps to reproduce the behavior:

  1. Add more than one keyboard layout and watch the indicator appear

Expected behavior

Background and text color should have contrast (black text on white, white text on black).

Screenshots or screen recordings

Captura de tela de 2019-11-03 18 15 12

Logs

journalctl.txt

Platform Information

Captura de tela de 2019-11-03 19 05 46

  • I'm using the latest version from git that I've manually compiled
  • I'm using the latest released stable version

Additional context

  • This started after I got the last chunk of updates which included Flatpak support for the App Center and other changes.

  • I've already restarted the system. No change.

  • My current wallpaper is one of the default ones: the SpaceX Dragon spacecraft photo.

Switch engines using keyboard shortcut doesn't update its icon.

What Happened

When using multiple keyboard input method
Default shortcut Ctrl + Space does change input method (switch engine), but does not change the Input method indicator icon on top right (the "en" thing in the image).

image
while switching engines inside Settings app or Wingpanel widget works as usual.

Expected Behavior

Default shortcut Ctrl + Space should also change the Input method indicator on top right.
That way people will know if they are using the right engine for the right language.

Steps to Reproduce

  1. Enable Ibus Daemon and add a second input method.
  2. Close System Settings app, then heads to any text field (Code app for example)
  3. Using shortcut to switch engine (Default Ctrl + Space) and try typing. Notice that input method did change but not the top right indicator.

Logs

Platform Information

image
Latest version of Elementary OS 6 with all app updated (Aug 11 2021).

No keyboard layout selected by default

What Happened

Screenshot from 2021-07-17 14-39-19

The keyboard layout is not selected even though it is in use

Expected Behavior

The keyboard layout is correctly shown to be active

Steps to Reproduce

  1. Open wingpanel-indicator-keyboard
  2. Observe the keyboard layout

Logs

Platform Information

Screenshot from 2021-07-14 10-55-34

Keyboard layout does not change properly

When changing keyboard layout, it does not change from the first time.
Steps to reproduce:

  1. Set Russian and English(US) layout.
  2. Switch between them.
  3. When you switch from Engish to Russian you have to push buttons twice.
    Check it.
    Also it swithes too long about 0.3 s.

Activating Caps Lock and Num Lock should not affect the rendering of the Bluetooth indicator

What Happened?

When I activate Caps Lock or Num Lock from the keyboard, the icon that normally signals my deactivated Bluetooth in the Wingpanel Bluetooth Indicator briefly flickers white, just as if it were activated.

Also, I have noticed that if I have previously activated Caps Lock or Num Lock this way, additionally activating Num Lock or Caps Lock does not trigger another flare.

Steps to Reproduce

  1. Activate Num Lock or Caps Lock via the keyboard.

Expected Behavior

The Bluetooth icon does not flicker when I activate Caps Lock or Num Lock via the keyboard.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

Indicator crashed greeter

The indicator seems to make the modified pantheon-greeter crashing after it tries to load the plugin. I think that's some problem with a dbus-interface that isn't available in the greeter-seesion.

Launchpad Details: #LP1472006 Marcus Wichelmann - 2015-07-06 22:46:17 +0000

"Show keyboard map/item" option does not respect variant

The menu item that opens the keyboard map only displays the keyboard map for the default variant of the language being used because we don't pass the variant to it.

For example, using a standard qwerty GB keyboard layout, the option works fine. If I switch to a Dvorak or Colemak layout and use the option, it still displays the qwerty map.

To pass variants to the keyboard map viewer, it expects them in the following form:
gkbd-keyboard-display --layout=gb\tcolemak

Where the \t is a literal tab character. This can be tested in the terminal with the following:
gkbd-keyboard-display --layout=gb$'\t'colemak

I couldn't immediately figure out how to pass a tab character in the arguments using AppInfo, or else I would have submitted a PR.

EURkey keyboard layout not showing up [$30]

I'm using Loki 0.4 and I've installed the eurkey keyboard layout (http://eurkey.steffen.bruentjen.eu/) . The layout symbol is already under /usr/share/X11/xkb/symbols/ and I can use it by applying setxkbmap eurkey. The problem is that the layout is not listed under Keyboard Settings and I cannot select it. It's not available under any of the languages and it's not listed as a separate Layout either.

I've tried resetting the xkbmap and rebuilding the rules but it still doesn't appear.

The EURKey layout appears in the list of layouts when configuring the keyboard with xfce4-keyboard-settings and I can add it, but those settings are only for xfce. How can I add external layouts to elementary? Is there a seperate UI cache for keyboard-settings that needs to be cleared?

Launchpad Details: #LP1650986 Todor Lazov - 2016-12-18 23:50:29 +0000

Same abbreviation for different layouts

Add 2 keyboard layouts, e.g.:

  1. German -> German
  2. German -> Russian (Germany, phonetic)

Both are shown as de in the indicator. The first one uses Latin letters and the second one is using Cyrillic letters (It's a Russian layout, which is easier to type with a German keyboard).

Such layouts are listed as variants of the German keyboard (and for different languages as well).
The indicator shows only that it's a layout for German keyboards de, no matter which variant you are using.

So it's hard to tell from the indicator, which layout is currently chosen.

Please use either the variant name ru or add numbers de1 and de2.

Slow keyboard layouts switch

I use a keyboard with two layouts - EN (english) and RU (russian). Switching between layouts tried buttons ALT+SHIFT and CTRL+SHIFT. Switching occurs with a delay of about a second. Because of this, when I switch and start typing, the first letter of word obtained in a different layout. It is very uncomfortable.

Demo: йййййй йqqqqqq ййййййй йqqqqq ййййййй ййqqqqq ййййййййй ййqqqqqq ййййййй qqqqqqqq ййййййй йqqqqqqq йqqqqqqqqq ййййййййй

Adding Silesian translation file

Hi, could you add translation files for Silesian?

ISO 639-3: szl
Plurals: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);

Thank you!

Indicator is not shown in greeter

Prerequisites

  • I have searched open and closed issues for duplicates.

Describe the bug

If we look at the sourcecode for wingpanel-indicator-keyboard, the indicator is omitted from a wingpanel in a greeter session seemingly because it caused a "crash" a long time ago https://github.com/elementary/wingpanel-indicator-keyboard/blame/d42e530a541f6a24e01eb0721240c30dd50fe488/src/Indicator.vala#L108.

I really think this would be useful to people in a greeter session, no?
If we agree, I'd be happy to PR removing that code.

The on/off switch for input method does not persist

What Happened?

Two keyboard layouts and one input method are installed. Switching of the input method using the switch in the wingpanel does not persist between sessions; one has to keep switching it off.

Steps to Reproduce

  1. Install at least one keyboard layout and one input method.
  2. Switch off the input method.
  3. Log out or reboot
  4. On starting a new session, the input method is again active.

Expected Behavior

The input method should remain off until switched on again.

OS Version

7.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

Inconsistent distance with other wingpanel indicators

What Happened

Screenshot from 2021-08-18 16-03-08

As can be seen, the distance between wingpanel-indicator-keyboard and other indicators is not consistent with the distance among other indicators

Expected Behavior

The distance between wingpanel-indicator-keyboard and other indicators should be consistent with the distance among other indicators

Steps to Reproduce

Logs

Platform Information

elementary OS 6 Odin stable, wingpanel-indicator-keyboard 2.4.0+r487+pkg33~ubuntu6.1

Add AppData

So that users get clearer updates and issue URLs are available

Add Linter to CI

Update CI process for wingpanel-indicator-keyboard to include a vala-lint step.

Mozc should integrate better on Elementary using the pre-existing Wingpanel Keyboard Indicator

The problem

I've been using Elementary OS from quite a while now, but it keeps bothering me that Mozc doesn't feel as native as Ubuntu or Windows does when it comes to Input Managers - They don't cover up screen space.
This should be implemented because it ruins the whole User Experience, since the IBus input manager is natively supported by Elementary OS, as well as Mozc as the Japanese IME.

How it currently looks

Screenshot from 2022-08-18 18-19-24

How it could work / look like

e.g Hiragana input mode

edit_hiragana
A second menu would appear next to the "Japanese (Mozc)" option when clicked or hovered, giving the option to select different input modes.
The icon above would then update, indicating the input mode that is currently selected. Each input mode should have its own icon.

This is what it would look like when collapsed:
edit_collapsed

This input switching system should work on other languages as well, such as Korean or Chinese.

Thank you for your time, and please consider this issue, as it affects every person that uses Mozc or similar tools supported by IBus.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.