meslzy / electron-as-wallpaper

set your electron window as wallpaper behind desktop icons
MIT License
68 stars 10 forks source link

When using your wallpaper to demonstrate the Win10 64 bit system, the icon did not display #6

Closed kirbystudy closed 1 year ago

kirbystudy commented 1 year ago

2@KSH6$C1ONI E{A1 NI9HG

https://github.com/meslzy/electron-as-wallpaper/assets/63231787/f9d8d13c-c867-4fe1-89b6-fd50abb19e47

meslzy commented 1 year ago

Can you please describe the issue more? What icon are you talking abt?

kirbystudy commented 1 year ago

My Question:

TXI1LTF12 ZXPMP10WI07ZM

GC@T17RLRIX 40DDE24CVSF

  1. According to the video demonstration, my system is running on Windows 10 64-bit, when I input the URL, I click on the "attach" button, wait for 5 seconds, and then click on the "show" button. The wallpaper will be applied, but the desktop icons will become invisible.

  2. Second picture, At this particular location, an inexplicable additional window unexpectedly appears, causing confusion.

meslzy commented 1 year ago

are you saying you have issue with the app not the library? in that case i only built the app to demonstrate the funcalty its not ready for use by any user it doesn't has many features.

you may want to build ur own app using electron and nodejs.

kirbystudy commented 1 year ago

Yes, I am currently using your library and based on the demo example you provided, I have found that the issue is the same as the application.

meslzy commented 1 year ago

can you show me your code plz

meslzy commented 1 year ago

Please read this first, its help you create better code so i can understand better.

in order to hide the icon in taskbar you may want to use skipTaskbar you can find more info here

kirbystudy commented 1 year ago

Sorry, the code for the main process was written according to your example code, which has the same issue as the application you published. My computer is on a Win 64 bit system, and the desktop icons have become invisible.

   let wallpaper;
   app.on("ready", async () => {
   wallpaper = new BrowserWindow({
                enableLargerThanScreen: true,
                autoHideMenuBar: true,
                fullscreen: true,
                frame: false,
                show: false,
                webPreferences: {
                    backgroundThrottling: false,
                    webSecurity: false,
                    nodeIntegration: true,
                    contextIsolation: false,
                    webviewTag: true
                }
            })
  });

        await wallpaper.loadURL(path.resolve(
            __dirname,
            '../../renderer/pages/wallpaper/wallWindow.html'
        ))

  attach(wallpaper)
  wallpaper.show()
  refresh()
});
meslzy commented 1 year ago
  let wallpaper;
   app.on("ready", async () => {
   wallpaper = new BrowserWindow({
                enableLargerThanScreen: true,
                autoHideMenuBar: true,
                fullscreen: true,
                frame: false,
                show: false,
                skipTaskbar: true, // ADD THIS
                webPreferences: {
                    backgroundThrottling: false,
                    webSecurity: false,
                    nodeIntegration: true,
                    contextIsolation: false,
                    webviewTag: true
                }
            })
  });

        await wallpaper.loadURL(path.resolve(
            __dirname,
            '../../renderer/pages/wallpaper/wallWindow.html'
        ))

  attach(wallpaper)
  wallpaper.show()
  refresh()
});

its not an issue with my library its just leck of skills on electron side