Release version 0.9.7-4: Gesture & Console Improvements
Major Changes: 1. FIXED: Virtual console Ctrl+Alt+F1-F8 key combinations now work properly - Updated configure_virtual_consoles() to modify X11 serverflags - Enable/disable now updates both systemd getty AND X11 VT switching - Added restart lightdm notification for changes to take effect - Fixed initial installation to set X11 VT switching based on user choice - Users who previously enabled consoles must re-enable for keys to work 2. IMPROVED: Simplified hidden tab gesture to single toggle - 3-finger DOWN now toggles hidden tabs (both show AND hide) - Removed separate 3-finger UP gesture (simpler UX) - Updated all gesture handlers in both standard and Jitsi modes - Updated all console.log messages and documentation README Updates: - Updated all version references to 0.9.7-4 - Updated Touch Gesture Quick Reference table - Simplified gesture: 3-finger DOWN = Toggle hidden tabs - Updated hidden tabs documentation to reflect toggle behavior - Added important notes about virtual console fix in 0.9.7-4 - Added instructions to re-enable consoles for existing users - Updated menu system access examples - Updated project status to "Gesture & Console Improvements" This release focuses on fixing the console key combo issue and improving the hidden tab gesture for easier one-handed use.
This commit is contained in:
@@ -998,9 +998,9 @@ configure_hidden_site_pin() {
|
||||
echo " ═══ HIDDEN SITE PIN ═══"
|
||||
echo
|
||||
echo "The PIN protects access to hidden sites (duration: -1)"
|
||||
echo "Hidden sites can be accessed via:"
|
||||
echo "Hidden sites can be toggled via:"
|
||||
echo " • F10 key"
|
||||
echo " • 3-finger DOWN swipe"
|
||||
echo " • 3-finger DOWN swipe (shows/hides)"
|
||||
echo
|
||||
|
||||
local pin_file="$KIOSK_DIR/.jitsi-pin"
|
||||
@@ -5928,8 +5928,7 @@ const {contextBridge,ipcRenderer}=require('electron');
|
||||
|
||||
console.log('═════════════════════════════════════════════════════════════');
|
||||
console.log(' Gestures:');
|
||||
console.log(' 3-finger DOWN: Show hidden tabs (PIN required)');
|
||||
console.log(' 3-finger UP: Return to normal tabs');
|
||||
console.log(' 3-finger DOWN: Toggle hidden tabs (PIN required)');
|
||||
console.log(' 2-finger HORIZONTAL: Switch between sites');
|
||||
console.log(' Keyboard: Auto-shows on text fields or click icon');
|
||||
console.log('╚═══════════════════════════════════════════════════════════╝');
|
||||
@@ -6192,16 +6191,11 @@ window.addEventListener('DOMContentLoaded',()=>{
|
||||
const absX=Math.abs(deltaX);
|
||||
const absY=Math.abs(deltaY);
|
||||
|
||||
// 3-finger DOWN = show hidden tabs (easier than up)
|
||||
// 3-finger DOWN = toggle hidden tabs (show/hide)
|
||||
if(fingerCount===3&&absY>SWIPE_THRESHOLD&&absX<SWIPE_TOLERANCE&&deltaY>0){
|
||||
console.log('[TOUCH] 3-finger DOWN - show hidden tab');
|
||||
console.log('[TOUCH] 3-finger DOWN - toggle hidden tabs');
|
||||
ipcRenderer.send('toggle-hidden');
|
||||
}
|
||||
// 3-finger UP = return to normal tabs (close hidden)
|
||||
else if(fingerCount===3&&absY>SWIPE_THRESHOLD&&absX<SWIPE_TOLERANCE&&deltaY<0){
|
||||
console.log('[TOUCH] 3-finger UP - return to normal tabs');
|
||||
ipcRenderer.send('return-to-tabs');
|
||||
}
|
||||
// 2-finger HORIZONTAL = change tabs
|
||||
else if(fingerCount===2&&absX>SWIPE_THRESHOLD&&absY<SWIPE_TOLERANCE){
|
||||
ipcRenderer.send(deltaX>0?'swipe-right':'swipe-left');
|
||||
@@ -8321,17 +8315,10 @@ window.addEventListener('DOMContentLoaded',()=>{
|
||||
const absX=Math.abs(deltaX);
|
||||
const absY=Math.abs(deltaY);
|
||||
|
||||
// 3-finger gestures for hidden tabs
|
||||
if(fingerCount===3 && absY>SWIPE_THRESHOLD && absX<SWIPE_TOLERANCE){
|
||||
if(deltaY>0){
|
||||
// 3-finger DOWN = show hidden tabs (easier than up)
|
||||
console.log('[TOUCH] 3-finger DOWN - show hidden tab');
|
||||
ipcRenderer.send('toggle-hidden');
|
||||
} else if(deltaY<0){
|
||||
// 3-finger UP = return to normal tabs
|
||||
console.log('[TOUCH] 3-finger UP - return to normal tabs');
|
||||
ipcRenderer.send('return-to-tabs');
|
||||
}
|
||||
// 3-finger DOWN = toggle hidden tabs (show/hide)
|
||||
if(fingerCount===3 && absY>SWIPE_THRESHOLD && absX<SWIPE_TOLERANCE && deltaY>0){
|
||||
console.log('[TOUCH] 3-finger DOWN - toggle hidden tabs');
|
||||
ipcRenderer.send('toggle-hidden');
|
||||
}
|
||||
// 2-finger vertical DOWN = keyboard (ALWAYS works, no throttling)
|
||||
else if(fingerCount===2 && absY>SWIPE_THRESHOLD && absX<SWIPE_TOLERANCE && deltaY>0){
|
||||
|
||||
Reference in New Issue
Block a user