nheko icon indicating copy to clipboard operation
nheko copied to clipboard

No close button when open separately

Open ChungZH opened this issue 3 years ago • 4 comments
trafficstars

Describe the bug

No close button.

To Reproduce

  1. Right click on a chat
  2. Click on 'Open separately'
  3. See error

What happened?

No response

Expected behavior

have a close button

Screenshots

image

Version

0.10.0-7df260f5

Operating system

Windows

Installation method

Windows download

Qt version

No response

C++ compiler

No response

Desktop Environment

No response

Did you use profiles?

  • [ ] Profiles used?

Relevant log output

No response

Backtrace

No response

ChungZH avatar Aug 25 '22 00:08 ChungZH

That's the good old "child windows don't get close button in some environments" bug again. (It does have a close button on my system). We can work around it by using explicit flags to request one.

nico-famedly avatar Aug 25 '22 13:08 nico-famedly

Is it a bug of Qt? Btw, my os is Windows 11.

ChungZH avatar Aug 25 '22 13:08 ChungZH

Yes and no, some WMs just react to hints differently so we need to explicitly request a close button.

deepbluev7 avatar Aug 30 '22 20:08 deepbluev7

That might fix it?

deepbluev7 avatar Aug 31 '22 18:08 deepbluev7