Commit Graph

11 Commits

Author SHA1 Message Date
jgitta aac4605e66 v0.07: switch to Chromium snap, remove Google Chrome
- Replace google-chrome with /snap/bin/chromium
- Remove --test-type flag (was triggering Google bot detection/CAPTCHA)
- Add --disable-blink-features=AutomationControlled (hides webdriver flag)
- Move profile dir to /home/jgitta/chromium-kiosk (snap can't write to .config)
- Uninstall google-chrome-stable and its apt repo
2026-05-22 12:28:52 +00:00
jgitta e574403853 v0.06: replace QMenu with custom BookmarkPanel widget
QMenu has z-order and event-grab issues under Openbox/X11 — the menu was
being created successfully but either appeared behind Chrome or was
dismissed instantly by the mouse-release event.

Replace with BookmarkPanel: a QWidget using Qt.Tool | WindowStaysOnTopHint
| FramelessWindowHint (same flags as the toolbar itself). Since the toolbar
already stays above Chrome, the panel does too. Features:
- Scrollable list of all bookmarks with folder headers
- Closes when clicking anywhere outside
- Manage Bookmarks entry at the bottom
- Toggle open/close on hamburger button
2026-05-21 20:39:59 -05:00
jgitta 2ca1da4f8e v0.05: fix Roundcube autologin + hamburger menu focus
Roundcube autologin fix:
- Added missing session->regenerate_id(false) and session->set_auth_cookie()
  calls after login, matching Roundcube's normal login flow in index.php.
  Without these, the roundcube_sessauth cookie was never set, causing every
  second request to fail with 'session is invalid or expired'.

Hamburger menu fix:
- Added activateWindow() + raise_() + processEvents() before menu.exec_()
  to ensure the toolbar window is active before the QMenu event loop starts.
  Without this, WA_ShowWithoutActivating prevents focus from being grabbed
  and the menu vanishes immediately.
- Added try/except to surface any silent errors.
2026-05-21 20:29:46 -05:00
jgitta dfba158f3c v0.04: fix hamburger menu position + clear stale Roundcube cookie
- Hamburger menu: calculate explicit QPoint position (right-aligned below
  toolbar) instead of relying on Qt overflow logic with bottomRight() anchor.
  sizeHint() used for width with 360px fallback.
- Roundcube login: clear mail.jgitta.com session cookie from Chrome's
  SQLite Cookies DB on every startup so autologin always fires cleanly
  instead of showing 'session is invalid or expired'.
2026-05-21 20:14:50 -05:00
jgitta dc4b129986 v0.03: fix hamburger menu clipping off right edge of screen
Change menu anchor from bottomLeft() to bottomRight() so Qt's built-in
overflow logic flips the menu leftward when the button is near the right
screen edge. All bookmarks now visible.
2026-05-21 20:09:44 -05:00
jgitta 18bb48b874 Auto-dismiss Welcome to Chrome dialog; add suppress flags for first-run popups 2026-05-22 00:56:08 +00:00
jgitta 08f296ceb3 Fix SeniorNet label clipping; auto-dismiss Chrome profile error dialog 2026-05-22 00:52:18 +00:00
jgitta a1a4b2e10c Redesign toolbar: single row with icon buttons and hamburger bookmark menu 2026-05-22 00:50:47 +00:00
jgitta 02b44e3972 Replace Gmail with Roundcube webmail 2026-05-21 23:25:51 +00:00
jgitta ed57ead6af Add Gmail App Password for Roundcube 2026-05-21 12:04:05 +00:00
jgitta 6c756e3adc Initial release v0.01 — SeniorNet kiosk browser
- PyQt5 floating toolbar (Back, Forward, HOME, Bookmarks) over Google Chrome
- Scrollable bookmarks bar with nested folder dropdown menus
- Chrome DevTools Protocol (CDP) for navigation control
- Home screen with large senior-friendly buttons (Gmail, Google, Weather, News, Facebook, Messenger, YouTube)
- Automatic GPU/ML cache cleanup on every Chrome launch
- Kiosk hardening: TTY switching blocked, keyboard shortcuts intercepted, auto-restart on crash
- System config files and install script included
v0.01
2026-05-21 11:39:10 +00:00