! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Implement list of window class names that default to each layout
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-xkb-plugin
Component:
General

Comments

Description Glen Whitney 2019-08-18 04:54:53 CEST
Currently, even if the group policy is per_window or per_application, all windows or applications (respectively) that this plugin encounters for the first time default to the first layout on the list, layout 0 (i.e. group 0). I propose a feature whereby one can specify for each of the other layouts (1, 2, or 3), a comma-separated list of window class names which will default to using that layout. (A new window would be given the layout corresponding to the first layout of 1, 2, or 3 for which its class name appears on this default list, or layout 0 if there are no matches.) This feature would allow the user to have particular applications come up immediately using specific keyboard layouts, without having to manually switch to them each time the application is started.

I have submitted a proposed implementation of such a feature as a pull request for the github mirror; it can be accessed at
https://github.com/xfce-mirror/xfce4-xkb-plugin/pull/6
Comment 1 Glen Whitney 2019-08-20 11:33:57 CEST
Created attachment 8929 
proposed patch to implement this change

Pull request now attached as patch.
Comment 2 Git Bot editbugs 2020-05-23 01:16:38 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin/-/issues/33.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15842

Reported by:
Glen Whitney
Reported on: 2019-08-18
Last modified on: 2020-05-23

People

Assignee:
Igor Slepchin
CC List:
0 users

Version

Attachments

Additional information