Once you have filled the progress bar, you still need to successfully catch the fish to open the chest. If you lose the fish on your line, you will not collect the Golden Fishing Treasure Chest.