alice-mkh / lightbird

Sunbird UI for Lightning on SeaMonkey
https://addons.mozilla.org/en-US/seamonkey/addon/lightbird/
13 stars 2 forks source link

Lightbird and Seamonkey #14

Closed jeffneedle closed 9 years ago

jeffneedle commented 9 years ago

Hi. It seems that both Seamonkey and Lightbird use the same keys to adjust settings or views. Ctrl-2, for example, in SM, opens the mail client. Very handy. But if the calendar is being viewed, Ctrl-2 changes the view of the calendar. Any way to change Lightbird's key assignments so they don't conflict with SM? Thanks.

alice-mkh commented 9 years ago

Hello. Sorry for a late answer. Yes, it's possible. Any ideas about what shortcuts should be used? :) Ctrl+Shift+* for switching view modes and Ctrl+* for switching components?

jeffneedle commented 9 years ago

I'm not sure which ones would work -- they would have to be independent from Seamonkey's shortcuts, of course. Maybe alt-shift-something?

Thanks.

On 06/17/2015 12:39 PM, Exalm wrote:

Hello. Sorry for a late answer. Yes, it's possible. Any ideas about what shortcuts should be used? :) Ctrl+Shift+* for switching view modes and Ctrl+* for switching components?

— Reply to this email directly or view it on GitHub https://github.com/Exalm/lightbird/issues/14#issuecomment-112923496.

alice-mkh commented 9 years ago

IDK. For most hotkeys in SM either Ctrl or Ctrl+Shift are used as modifiers. I have just checked, Ctrl+Shift+Num aren't used for anything ATM, so I can use it. As for Alt, it's frequently used for window management, so this may be a bad idea.

alice-mkh commented 9 years ago

Umm, for some weird reason Ctrl+Shift+Num keys cannot be used. It is displayed correctly in the menu, but the shortcuts still open the components instead.

jeffneedle commented 9 years ago

Okay, thanks.

On 06/17/2015 02:13 PM, Exalm wrote:

IDK. For most hotkeys in SM either Ctrl or Ctrl+Shift are used as modifiers. I have just checked, Ctrl+Shift+Num aren't used for anything ATM, so I can use it. As for Alt, it's frequently used for window management, so this may be a bad idea.

— Reply to this email directly or view it on GitHub https://github.com/Exalm/lightbird/issues/14#issuecomment-112951083.

alice-mkh commented 9 years ago

It seems to be a problem with my system. None of Ctrl+Shift+... nor Alt+Shift+... shortcuts works, Shift is just ignored. Edit: MATE bug. When layout switching is on Ctrl+Shift, Shift gets ignored for some reason. Interesting, since it works perfectly in KDE.

alice-mkh commented 9 years ago

Fixed. https://github.com/Exalm/lightbird/commit/86333e61b132ad2d9961fb2ae9048d94548a7942