Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: glutin error: extension to create ES context with wgl is not present in komorebi-bar #1208

Closed
2dragonly opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@2dragonly
Copy link

Summary

komorebi-bar cannot run in my old laptop because I get error

�[2m2024-12-29T17:43:21.641646Z�[0m �[32m INFO�[0m �[2mkomorebi_bar�[0m�[2m:�[0m found configuration file: C:\Users\Admin/.config/komorebi/komorebi.bar.json
�[2m2024-12-29T17:43:21.659522Z�[0m �[32m INFO�[0m �[2mkomorebi_bar�[0m�[2m:�[0m work area offset applied to monitor: 0
�[2m2024-12-29T17:43:21.673076Z�[0m �[32m INFO�[0m �[2mkomorebi_bar�[0m�[2m:�[0m watching configuration file for changes
Error: 
   0: �[91mglutin error: extension to create ES context with wgl is not present�[0m

Location:
   �[35mkomorebi-bar\src/main.rs�[0m:�[35m422�[0m

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: �[32mBaseThreadInitThunk�[0m�[90m<unknown>�[0m
      at �[35m<unknown source file>�[0m:�[35m<unknown line>�[0m
   2: �[91mRtlUserThreadStart�[0m�[90m<unknown>�[0m
      at �[35m<unknown source file>�[0m:�[35m<unknown line>�[0m

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

Version Information

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.26100 N/A Build 26100
System Manufacturer: Acer
System Model: TravelMate X483
Processor(s): Intel(R) Core(TM) i3-2377M CPU @ 1.50GHz, 1500 Mhz, 2 Core(s), 4 Logical Processor(s)

komorebic 0.1.32
branch:master
commit_hash:d93b6fa1
build_time:2024-12-22 00:51:57 +00:00
build_env:rustc 1.83.0 (90b35a623 2024-11-26),stable-x86_64-pc-windows-msvc

Komorebi Configuration

{
  "$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.31/schema.bar.json",
  "monitor": {
    "index": 0,
    "work_area_offset": {
      "left": 0,
      "top": 32,
      "right": 0,
      "bottom": 40
    }
  },
  "font_family": "JetBrains Mono",
  "font_size": 12,
  "theme": {
    "palette": "Catppuccin",
    "name": "Mocha",
    "accent":"Green"
  },
  "left_widgets": [
    {
      "Komorebi": {
        "workspaces": {
          "enable": true,
          "hide_empty_workspaces": true
        },
        "layout": {
          "enable": true
        },
        "focused_window": {
          "enable": true,
          "show_icon": true
        }
      }
    }
  ],
  "right_widgets": [
    {
      "Cpu": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Memory": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Battery": {
        "enable": true,
        "label_prefix": "Icon"
      }
    },
    {
      "Date": {
        "enable": true,
        "label_prefix": "Icon",
        "format": "YearMonthDate"
      }
    },
    {
      "Time": {
        "enable": true,
        "label_prefix": "Icon",
        "format": "TwentyFourHour"
      }
    }
  ],
  "widget_spacing": 2,
  "position": {
    "start": {
      "x": 0,
      "y": -8
    },
    "end": {
      "x": 1920,
      "y": 36
    }
  }
}

Hotkey Configuration

.shell powershell

# Reload whkd configuration
alt + shift + e : taskkill /f /im komorebi.exe; taskkill /f /im komorebi-bar.exe; taskkill /f /im whkd.exe
alt + shift + r : komorebic reload-configuration; taskkill /f /im whkd.exe; Start-Process whkd -WindowStyle hidden
alt + shift + q : komorebic close

# Focus windows
alt + h : komorebic focus left
alt + j : komorebic focus down
alt + k : komorebic focus up
alt + l : komorebic focus right

# Move windows
alt + shift + h : komorebic move left
alt + shift + j : komorebic move down
alt + shift + k : komorebic move up
alt + shift + l : komorebic move right

# Resize
alt + ctrl + l : komorebic resize-axis horizontal increase
alt + ctrl + h : komorebic resize-axis horizontal decrease
alt + ctrl + k : komorebic resize-axis vertical increase
alt + ctrl + j : komorebic resize-axis vertical decrease

# Manipulate windows
alt + f : komorebic toggle-monocle
alt + shift + f : komorebic toggle-float

# Window manager options
alt + shift + r : komorebic retile

# Workspaces
alt + 1 : komorebic focus-workspace 0
alt + 2 : komorebic focus-workspace 1
alt + 3 : komorebic focus-workspace 2
alt + 4 : komorebic focus-workspace 3
alt + 5 : komorebic focus-workspace 4
alt + 6 : komorebic focus-workspace 5
alt + 7 : komorebic focus-workspace 6
alt + 8 : komorebic focus-workspace 7
alt + 9 : komorebic focus-workspace 8
alt + 0 : komorebic focus-workspace 9

# Move windows across workspaces
alt + shift + 1 : komorebic move-to-workspace 0
alt + shift + 2 : komorebic move-to-workspace 1
alt + shift + 3 : komorebic move-to-workspace 2
alt + shift + 4 : komorebic move-to-workspace 3
alt + shift + 5 : komorebic move-to-workspace 4
alt + shift + 6 : komorebic move-to-workspace 5
alt + shift + 7 : komorebic move-to-workspace 6
alt + shift + 8 : komorebic move-to-workspace 7
alt + shift + 9 : komorebic move-to-workspace 8
alt + shift + 0 : komorebic move-to-workspace 9

Output of komorebic check

KOMOREBI_CONFIG_HOME detected: C:/Users/Admin/.config/komorebi

Looking for configuration files in C:/Users/Admin/.config/komorebi

Found komorebi.json; this file can be passed to the start command with the --config flag


"focus_follows_mouse" is now end-of-life

End-of-life features will not receive any further bug fixes or updates; they should not be used

Found C:\Users\Admin\.config\whkdrc; key bindings will be loaded from here when whkd is started, and you can start it automatically using the --whkd flag
@2dragonly 2dragonly added the bug Something isn't working label Dec 30, 2024
@LGUG2Z
Copy link
Owner

LGUG2Z commented Dec 30, 2024

This is likely an underlying egui issue. I think I saw something similar when I installed this on a virtual machine which was resolved by running winget install opengl - not sure if this may be of use in this situation. Ultimately this is not something that can/will be addressed in komorebi-bar itself.

@LGUG2Z LGUG2Z closed this as not planned Won't fix, can't repro, duplicate, stale Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants