View Single Post
Old 02-25-2023, 04:04 PM   #12
jm289765
Enthusiast
jm289765 began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: calibre
Post

Quote:
Originally Posted by petzi View Post
1. Whenever I call "config" or "Configure this plugin" I got the following window: (macOS, Ventura 13.2.1, Intel)

See the first image:
https://imgur.com/a/RFF34VP

The big appearance of this window it not nice, but - as I said - it works
Calibre stores window sizes in a file. This lets you resize a window, close it, and reopen it, and it'll remember the size you set it to. Your config window kept the size set by the previous version of H2O. You might be able to fix it by resizing the window with your mouse.

If that doesn't work, try this:
  1. In calibre, go to Preferences -> Miscellaneous -> Open calibre configuration folder. Click this and then exit calibre completely.
  2. In calibre's configuration folder, there should be a file named "gui.json". Make a backup of it (to be safe) and then open it.
  3. Use Ctrl+F to search for "Highlights to Obsidian". There should be 2 results.
    The second result should look like this:
    Code:
      "geometry-of-plugin config dialog:User interface action:Highlights to Obsidian": {
  4. Delete the bracketed area after and including this line. The part you delete should look similar to this:
    Code:
      "geometry-of-plugin config dialog:User interface action:Highlights to Obsidian": {
        "frame_geometry": {
          "height": 206,
          "width": 208,
          "x": 660,
          "y": 315
        },
        "full_screened": false,
        "geometry": {
          "height": 176,
          "width": 208,
          "x": 660,
          "y": 345
        },
        "maximized": false,
        "normal_geometry": {
          "height": 176,
          "width": 208,
          "x": 660,
          "y": 345
        },
        "qt": {
          "__class__": "bytearray",
          "__value__": "AdnQywADAAAAAAKUAAABOwAAA2MAAAIIAAAClAAAAVkAAANjAAACCAAAAAAAAAAABgAAAAKUAAABWQAAA2MAAAII"
        },
        "screen": {
          "depth": 32,
          "device_pixel_ratio": 1.25,
          "geometry_in_logical_pixels": {
            "height": 864,
            "width": 1536,
            "x": 0,
            "y": 0
          },
          "index_in_screens_list": 0,
          "manufacturer": "",
          "model": "",
          "name": "\\\\.\\DISPLAY1",
          "serial": "",
          "size_in_logical_pixels": {
            "height": 864,
            "width": 1536
          },
          "virtual_geometry": {
            "height": 864,
            "width": 1536,
            "x": 0,
            "y": 0
          }
        }
      },
  5. Notice that this section:
    • starts with "geometry-of-plugin config dialog:User interface action:Highlights to Obsidian"
    • ends with two lines containing one curly bracket each, followed by one line that has a curly bracket and comma.
  6. After deleting this and saving the file, calibre will recalculate the default minimum size of the config window.

Important: Make sure you close calibre before modifying gui.json. If you have calibre open, it'll undo your changes.

@petzi, your other suggestions should be done within a day.
jm289765 is offline   Reply With Quote