question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Window bugs on minimize/maximize

See original GitHub issue

BUG

I’m submitting a …

  • bug report
  • feature request

Issue description

Current behavior: When i minimize Window, and click again to bring it to front, it loose the template. When i try to put it fullScreen, it place it to the bottom right position Expected behavior: Click on minimized window, bring it normaly with the template. Click on fullScreen, make the window full screen.

Steps to reproduce: See documentation, it’s bugged [window documentaiton] (https://akveo.github.io/nebular/docs/components/window/examples)

Related code:

import { Component } from '@angular/core';
import { NbWindowRef, NbWindowService } from '@nebular/theme';

@Component({
  template: `
    <form class="form">
      <label for="subject">Subject:</label>
      <input nbInput id="subject" type="text">

      <label class="text-label" for="text">Text:</label>
      <textarea nbInput id="text"></textarea>
    </form>
  `,
})
export class NbFormComponent {
  constructor(public windowRef: NbWindowRef) {}

  close() {
    this.windowRef.close();
  }
}

@Component({
  template: `<button (click)="openWindow()" nbButton>Open window</button>`,
  styleUrls: [ './window.scss' ],
})
export class NbWindowShowcaseComponent {

  constructor(private windowService: NbWindowService) {}

  openWindow() {
    this.windowService.open(NbFormComponent, { title: `Window` });
  }
}

Other information:

npm, node, OS, Browser

Node, npm: `v8.11.1` and `5.6.0`
OS: Windows (7/8/10).
Browser: Chrome

Angular, Nebular

angular: 7.0.0
nebular: 2.0.2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
carmeloNETcommented, Sep 16, 2020

@naingaungphyo @AmolSB I did a project for example using nebular starter kit to have running the nebular template and give you an idea how can work nbWindow with a angular service to keep the state saved. It is found in this repo https://github.com/carmeloNET/ngx-admin-nbWindow , just need run npm install and ng serve.

0reactions
betodasilvacommented, Nov 28, 2021

why is this issues closed? the problem is not solved yet

Read more comments on GitHub >

github_iconTop Results From Across the Web

windows 10 minimize/maximize fullscreen app transition bug is
windows 10 minimize/maximize fullscreen app transition bug is showing off My Pictures folder. This is odd. When I minimize or maximize a full...
Read more >
Bug: The application window cannot be resized and stays ...
Press and hold the Windows key + M key to minimize all windows. Press and hold the Shift key + Windows key +...
Read more >
5 Ways to Restore the Title Bar, Minimize, Maximize, and ...
To fix it, press Ctrl + Shift + Esc to bring up Task Manager. Below Windows Processes, look for Desktop Window Manager. Select...
Read more >
How to Fix Window Not Minimize Maximize in Windows 11
In this Video We are going to see How to Fix Window Not Minimize Maximize in Windows 11 PC or Laptop By the...
Read more >
Minimize/Maximize window bug - Microsoft Power BI Community
If you minimize and maximize the Power BI Desktop window, it grows by a little bit each time. Please log as a bug....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found